Initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
-- CONFIG --
|
||||
|
||||
-- Ping Limit
|
||||
pingLimit = 1000
|
||||
|
||||
-- CODE --
|
||||
|
||||
RegisterServerEvent("checkMyPingBro")
|
||||
AddEventHandler("checkMyPingBro", function()
|
||||
ping = GetPlayerPing(source)
|
||||
if ping >= pingLimit then
|
||||
DropPlayer(source, "Ping is too high (Limit: " .. pingLimit .. " Your Ping: " .. ping .. ")")
|
||||
end
|
||||
end)
|
||||
Reference in New Issue
Block a user