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)
Any help or Guidance is much appreciated, Thanks