OnPlayerQuit: Difference between revisions

From Onset Developer Wiki
No edit summary
Chloe (talk | contribs)
m Player server events.
Line 17: Line 17:


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

Revision as of 07:52, 16 January 2020

OnPlayerQuit

Type: Event
Context: Server
Introduced: v1.0

Description

__EDIT_ME__

Syntax

OnPlayerQuit(player)

Parameters

  • player
    The player who has quit.

Example

function OnPlayerQuit(player)
	AddPlayerChatAll(GetPlayerName(player).." left the server.")
end
AddEvent("OnPlayerQuit", OnPlayerQuit)

See also