TPG.State.InitPlayer(ply)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Create a player's state table, discarding anything already there. Called from PlayerInitialSpawn. Prefer GetPlayer, which initialises on demand; calling this on a connected player wipes their cooldowns and votes.
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.