Download
3 Likes
There is alot you need to fix about this resource.
- fxmanifest.lua should be used not __resource.lua
- GetPlayerPed(-1) should be replaced with PlayerPedId()
- There is alot of unnecessary code in here and could be replaced with something more efficient like this
local handsUp = false
CreateThread(function()
while true do
Wait(0)
if handsUp then
TaskHandsUp(PlayerPedId(), 250, PlayerPedId(), -1, true)
end
end
end)
RegisterCommand('+handsup', function()
handsUp = true
end, false)
RegisterCommand('-handsup', function()
handsUp = false
end, false)
There is also pointing in this resource?
1 Like
Can you add a Function to Rob like you can when there hands up regularly