Part of StarfallEx namespace
๐ External
hook.add("PlayerDisconnect", "name", function(networkid, name, player, reason, isbot) end)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Called when a player disconnects from the server. (Game Event)
Parameters
| Name | Type | Description |
|---|---|---|
networkid | string | The SteamID the player had. Will be "BOT" for bots and "STEAM_0:0:0" in single-player. |
name | string | The name the player had. |
player | Player | Player entity the player had. |
reason | string | Reason for disconnecting. |
isbot | boolean | False if the player isn't a bot, true if they are. |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.