Garry's Mod Wiki

Revision Difference

player_manager.OnPlayerSpawn#547050

<function name="OnPlayerSpawn" parent="player_manager" type="libraryfunc"> <description> Applies basic class variables when the player spawns. Called from <page>GM:PlayerSpawn</page> in the base gamemode. </description> <realm>Shared</realm> <file line="411-L430">lua/includes/modules/player_manager.lua</file> <file line="417-L445">lua/includes/modules/player_manager.lua</file> <args> <arg name="ply" type="Player">Player to setup</arg> </args> </function>