player manager/OnPlayerSpawn

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Remove the source, this is what the Source button is for)
 
Line 4: Line 4:
 
Called from {{HookFunction|GM|PlayerSpawn}} in the base gamemode.
 
Called from {{HookFunction|GM|PlayerSpawn}} in the base gamemode.
 
|Realm=Shared
 
|Realm=Shared
 +
|File=lua/includes/modules/player_manager.lua
 +
|Line=411-L430
 
|IsClass=No
 
|IsClass=No
 
}}
 
}}

Latest revision as of 16:25, 30 September 2019

 player_manager.OnPlayerSpawn( )

Description

Applies basic class variables when the player spawns.

Called from GM:PlayerSpawn in the base gamemode.

Arguments

Player ply

Player to setup
Personal tools
Navigation