Does anyone know how i can get this animation off my server after shooting , and just return to normal stance , seems to be like this after shooting for approx 5-8 seconds
Would like to have the player returned to this stance after shooting
Does anyone know how i can get this animation off my server after shooting , and just return to normal stance , seems to be like this after shooting for approx 5-8 seconds
Would like to have the player returned to this stance after shooting
Not sure if this would work but simply run a loop and if player shoots run another thread which waits for him to stop shooting and when he stops shooting simply clear ped tasks.
This is an inbuilt thing to GTA - it lasts for 15 seconds, and I’m pretty sure there is no way to remove it.
It’s called Combat Stance I believe
You could try using the IS_PED_USING_ACTION_MODE - Try the following to have it return to normal stance instead of having to wait for the full animation:
[https://docs.fivem.net/natives/?_0x00E73468D085F745]
Citizen.CreateThread(function()
while true do
Citizen.Wait(15)
local ped = PlayerPedId()
if IsPedUsingActionMode(ped) then
SetPedUsingActionMode(ped, -1, -1, 1)
end
end
end)
My dev removed it , its all good now
Nice to here, might looking into doing that.
Any idea how your Dev Removed this?
yo bro, can people stop saying " Sorted it" and " i fixed it" and not give a damn solution as to how you did it on a forum where other people are looking for the same thing… holy god. its soo annoying