Prop spawner and Animation participant with searchable record from alexguirre transformed by eblio. Created with Typescript React and Vite js (may be overkill however only a observe to get used to).
Dependencies
Usage
Commands
/propanimation Opens the menu
/propmenu toggles back nui focus after pressing toggle nui button
After choosing and inputting all the information you can use Copy Codes in the menu.
An example of a copied information
local playerPed = PlayerPedId()
local prop = GetHashKey('prop_leaf_blower_01')
RequestModel(prop)
while not HasModelLoaded(prop) do
Wait(100)
RequestModel(prop)
end
local spawnedProp = CreateObject(prop, GetEntityCoords(playerPed), true, true, true)
AttachEntity(spawnedProp, playerPed, GetPedBoneIndex(playerPed, 28422), 0.05, 0, 0, 0, 0, 0, true, true, true, false, 1, true)
RequestAnimDict("[email protected][email protected]")
while not HasAnimDictLoaded("[email protected][email protected]") do
Wait(100)
end
TaskPlayAnimc(playerPed, "[email protected][email protected]", "static", 8.0, 1.0, -1, 1)
RemoveAnimDict("[email protected][email protected]")
Screenshots & Preview
Laggy Preview PropAniMenu – YouTube (Laggy Video)
Download
Credits
Feel free to do a pull request. Create an issue in github if there is a bug.