[Looking for help with Crawl]

Hey ive been searching for weeks now and no luck. ive tryed it myself and seems i myself is not capable of making this work alone. i know there is alot of servers that have this for example Zombie Survival Nopixal and many more.

Im looking for the Crawl Sqript so you can press “C” or a key to lay down and Crawl with AWDS

Citizen.CreateThread(function()
    local dict = "amb@world_human_stand_guard@male@idle_a"
    
	RequestAnimDict(dict)
	while not HasAnimDictLoaded(dict) do
		Citizen.Wait(100)
	end
    local handsup = false
	while true do
		Citizen.Wait(0)
		if IsControlJustPressed(1, 26) and IsControlPressed(1, 21) then -- C + Shift
            if not handsup then
                TaskPlayAnim(GetPlayerPed(-1), dict, "idle_a", 8.0, 8.0, -1, 50, 0, false, false, false)
                handsup = true
            else
                handsup = false
                ClearPedTasks(GetPlayerPed(-1))
            end
        end
    end
end)

https://gyazo.com/62d483fb6c587f73bfb3987557bbe191

Any help or Guidance is much appreciated, Thanks

2 Likes

This one by @Blumlaut is the best I found. Prone is glitchy in every script. https://github.com/Bluethefurry/crouch-n-prone

3 Likes

Thanks i will take a look right now appreciate your help :pray:

it worked like a charm damn thanks alot appriciate it. im gone tweek it a bit so you dont fall under the map i can post it later if anyother want it :smiley:

I made a small tweak to prevent that too. I actually meant to submit a pull request on GitHub… Thanks for reminding me.

1 Like

nice man i would love to take a look at it if you dont mind.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.