I have a resource “handsup” It’s default key is set to X. But for some reason, H is a toggle for hands up as well, but there is absolutely nothing in this code even referencing H. Can anyone help? Is there another resource that might be doing handsup that I’m not aware of?
Citizen.CreateThread(function()
local dict = "missminuteman_1ig_2"
RequestAnimDict(dict)
while not HasAnimDictLoaded(dict) do
Citizen.Wait(100)
end
local handsup = false
while true do
Citizen.Wait(0)
if IsControlJustPressed(1, 73) then --Start holding X
if not handsup then
TaskPlayAnim(GetPlayerPed(-1), dict, "handsup_enter", 8.0, 8.0, -1, 50, 0, false, false, false)
handsup = true
else
handsup = false
ClearPedTasks(GetPlayerPed(-1))
end
end
end
end)
Sounds indeed like another resource you are running, maybe try doing a notepad++ file search or stopping all your resources and enabling them one by one
That’s the thing, every resource I’ve looked through doesn’t even come close to a “hands up” animation. There isn’t a default one they throw in there with esx is there?