OnPlayerQuit
From Onset Developer Wiki
Description
Event called when a player leaves the server.
Syntax
OnPlayerQuit(player)
Parameters
- player
The player who has quit.
Example
function OnPlayerQuit(player)
AddPlayerChatAll(GetPlayerName(player).." left the server.")
end
AddEvent("OnPlayerQuit", OnPlayerQuit)