Could I configure it for when they press f8?
can you copy… and share, no
yes you can re wright the script and share it just make sure to credit him
Thank you a lot!
how did you do this? BW
Here is an more advanced version only running on server side
My version checks the ping every 2 seconds and if you exceed the limit 10 times you get kicked
pingChecks = {}
pingLimit = 100
Citizen.CreateThread(function()
while true do
Citizen.Wait(2000)
for _, playerId in ipairs(GetPlayers()) do
ping = GetPlayerPing(playerId)
if pingChecks[playerId] == nil then
pingChecks[playerId] = 0
end
if ping >= pingLimit then
pingChecks[playerId] = pingChecks[playerId] + 1
end
if pingChecks[playerId] >= 10 then
DropPlayer(playerId, "Your Ping is too high! Ping: " .. ping .. " MS")
end
end
end
end)
how to make player not get kicked when they afk at the afk zone ?
How do i properly install this without messing up anything?
Nice, GOOD WORK!!
could you write this please?