Lua Events/OnDisconnect

From PZwiki



Event

OnDisconnect

Description

Triggered when the player disconnects from the server.

Parameters

No parameter.

Examples

local function OnDisconnect()
	-- Your code here
end

Events.OnDisconnect.Add(OnDisconnect)

See also