Hands Up Toggle

So what i need to do if i want Hadsup Toggle to Z letter. I tried one ready script but it’s still hold. I want that i can walk when hands are up, an i don’t want to hold the button. We tried too edit it but it worked only for 2 sec and can’t walk.

1 Like
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 IsControlJustReleased(1, 323) and GetLastInputMethod( 0 )  then
            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)

This SHOULD work

1 Like

Its not working bro

This absolutely works. For anyone that is looking for a toggle for handsup, this is it.

3 Likes

is there a controller friendly handsup toggle at all? when people using the controller to play they put their handsup while driving trying to use the horn.