Nostalgic Pickups

0.35 EUR

Nostalgic Pickups

Description

Bring back that GTA: San Andreas magic with these nostalgic pickups. 

DISCLAIMER! This package doesn't handle props instantiation, to spawn prop you typically can use vMenu or do it manually via Lua script:

 Citizen.CreateThread(function() print("Requesting clip") RequestAnimDict("clip@clothesp") while not HasAnimDictLoaded("clip@clothesp") do Citizen.Wait(50) print("Animation not loaded yet.") end Citizen.Wait(1000) -- wait for all objects to spawn in world local handle, object = FindFirstObject() local success repeat if DoesEntityExist(object) then local model = GetEntityModel(object) if model == GetHashKey("clothesp") then -- Apply animation to all 'clothesp' props found in world SetEntityCollision(object, false, true) SetEntityLodDist(object, 9999) PlayEntityAnim(object, "clothesp", "clip@clothesp", 8.0, true, true, false, 0, 0) -- TaskPlayAnimOnEntity(object, "clip@clothesp", "clothesp", 8.0, -8.0, -1, 1, 0, false, false, false) print("Playing animation") end end success, object = FindNextObject(handle) until not success EndFindObject(handle) end) 

-- Load and spawn the prop models Citizen.CreateThread(function() for _, pickup in ipairs(jobPickups) do -- Load model RequestModel(GetHashKey(pickup.prop)) while not HasModelLoaded(GetHashKey(pickup.prop)) do Citizen.Wait(100) end -- Ensure the model is loaded and valid before proceeding if HasModelLoaded(GetHashKey(pickup.prop)) then -- Create the object pickup.object = CreateObject(GetHashKey(pickup.prop), pickup.coords.x, pickup.coords.y, pickup.coords.z - 1.0, false, false, false) SetEntityAsMissionEntity(pickup.object, true, true) FreezeEntityPosition(pickup.object, true) else print("Model failed to load: " .. pickup.prop) end end end)

Props


clothesp

This prop can be used to implement Job System with XP (experience points) or levels.

  • Polygons: 18
  • Vertices: 28
  • Animated: Yes (80 Fps)

Screenshots:

 69458ecaf1133def5edf3d006d7c765d04cd7f4e.pnga0d9de17587efed85cc559d3e1e58a62713e6555.png22f7b8374e0fe48a6725c84458ced5e55f3406f3.gif

82cb282ce8717b154f1923143eba49c2bfbd201f.png

6bc2d155eedd5b38ca9b54ee5c814a7bc488f8a5.jpeg

killfrenzy

6c96d8fa8a9ca4f5ab59b3a2ce3ac72cb4c8904f.png