[Release] Cross hands - Hotkey

How do i change the key??

“if IsControlJustPressed(1, 47) then” there

I cant change key… i dont know why. I did change this “if IsControlJustPressed(1, 47 ) then” there
I change that to Z and its on G anyways…

ser bra ut bram :)))))))))))))))))

Tack bror :mascot::mascot::mascot::mascot::mascot::mascot::mascot::mascot::mascot:

Hey guys, it works but I have a minor issue, when I use it, it’s me only who can see the animation but others can’t see me crossing my arms or I can’t see them crossing their arms. Any ideas? I am using the command version.

Hi, i modify your script with LeftShift + G

local Keys = {
	["ESC"] = 322, ["F1"] = 288, ["F2"] = 289, ["F3"] = 170, ["F5"] = 166, ["F6"] = 167, ["F7"] = 168, ["F8"] = 169, ["F9"] = 56, ["F10"] = 57, 
	["~"] = 243, ["1"] = 157, ["2"] = 158, ["3"] = 160, ["4"] = 164, ["5"] = 165, ["6"] = 159, ["7"] = 161, ["8"] = 162, ["9"] = 163, ["-"] = 84, ["="] = 83, ["BACKSPACE"] = 177, 
	["TAB"] = 37, ["Q"] = 44, ["W"] = 32, ["E"] = 38, ["R"] = 45, ["T"] = 245, ["Y"] = 246, ["U"] = 303, ["P"] = 199, ["["] = 39, ["]"] = 40, ["ENTER"] = 18,
	["CAPS"] = 137, ["A"] = 34, ["S"] = 8, ["D"] = 9, ["F"] = 23, ["G"] = 47, ["H"] = 74, ["K"] = 311, ["L"] = 182,
	["LEFTSHIFT"] = 21, ["Z"] = 20, ["X"] = 73, ["C"] = 26, ["V"] = 0, ["B"] = 29, ["N"] = 249, ["M"] = 244, [","] = 82, ["."] = 81,
	["LEFTCTRL"] = 36, ["LEFTALT"] = 19, ["SPACE"] = 22, ["RIGHTCTRL"] = 70, 
	["HOME"] = 213, ["PAGEUP"] = 10, ["PAGEDOWN"] = 11, ["DELETE"] = 178,
	["LEFT"] = 174, ["RIGHT"] = 175, ["TOP"] = 27, ["DOWN"] = 173,
	["NENTER"] = 201, ["N4"] = 108, ["N5"] = 60, ["N6"] = 107, ["N+"] = 96, ["N-"] = 97, ["N7"] = 117, ["N8"] = 61, ["N9"] = 118
}

Citizen.CreateThread(function()
    local dict = "amb@world_human_hang_out_street@female_arms_crossed@base"
    
	RequestAnimDict(dict)
	while not HasAnimDictLoaded(dict) do
		Citizen.Wait(100)
	end
    local handsup = false
	while true do
		Citizen.Wait(0)
		if IsControlJustPressed(1, Keys["G"]) and IsControlPressed(1, Keys["LEFTSHIFT"]) then --Start holding g
            if not handsup then
                TaskPlayAnim(GetPlayerPed(-1), dict, "base", 8.0, 8.0, -1, 50, 0, false, false, false)
                handsup = true
            else
                handsup = false
                ClearPedTasks(GetPlayerPed(-1))
            end
        end
    end
end)
3 Likes

Oh cool ! (20 char) ))))

Is there any any to get your hands on your waist?

1 Like

Yes ofc just find the animation

Yes WORLD_HUMAN_COP_IDLES

But what do u change and weres a list of key ID’s?

Now it says 1, 47, But what is what? And what number is the actual G key, etc?

Here’s a error with my FXServer. “couldn’t load resource kors\kors” what resource i need to use the command?

1 Like

u probs dont have det resource to the script

How to change the animation to Salute?

how can i edit the script so that it doesnt work when the chat bar is open etc. so that when im typing in chat and press g my guy doesnt fold his arms

so when i activate it, it does work but my shop items dessapear any idea why?

Any idea about how to disable actions while i have crossed my hands?

Can someone tell me how i can make a version from this mod with this animation?