Revision Difference
player_manager.OnPlayerSpawn#560556
<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="417-L445">lua/includes/modules/player_manager.lua</file>
	<args>
		<arg name="ply" type="Player">Player to setup</arg>⤶
		<arg name="ply" type="Player">Player to setup.</arg>⤶
		<arg name="transiton" type="boolean">If true, the player just spawned from a map transition. You probably want to not touch player's weapons or positiom if this is set to `true`.</arg>⤶
	</args>
</function>
 Garry's Mod
			Garry's Mod 
		 Rust
			Rust 
		 Steamworks
			Steamworks 
		 Wiki Help
			Wiki Help