[Solved] Longer Time On Ground When Tazed

Im looking for a script that when you get tazed you stay in the ground longer. I thought i saw one but, i cant find it again. Any help would be great!

1 Like

I cant remember who made this script but I’ve had it on my server for a while,

Client Script:

-- longer stun code
local tiempo = 15000 -- in miliseconds >> 1000 ms = 1s

Citizen.CreateThread(function()
	while true do
		Citizen.Wait(0)
		if IsPedBeingStunned(GetPlayerPed(-1)) then
		SetPedMinGroundTimeForStungun(GetPlayerPed(-1), tiempo)
		end
	end
end)
1 Like

You know what’s great…

THE SEARCH FEATURE

No need to be rude, i tried to look it up earlier but had no luck. Maybe next time you shouldnt just jump to conclusions and say i didn’t search

10 times out of 10, the person doesn’t search. Sorry :snowflake: