OnPlayerQuit: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 9: Line 9:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
function OnPlayerQuit(player)
AddPlayerChatAll(GetPlayerName(player).." left the server.")
end
AddEvent("OnPlayerQuit", OnPlayerQuit)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{ServerEvents}}
{{ServerEvents}}

Revision as of 10:46, 23 March 2019