Garry's Mod Wiki

Garry's Mod Wiki

  player_manager.OnPlayerSpawn( Player ply, boolean transiton )

Description

Applies basic class variables when the player spawns.

Called from GM:PlayerSpawn in the base gamemode.

Arguments

1 Player ply
Player to setup.
2 boolean transiton
If true, the player just spawned from a map transition. You probably want to not touch player's weapons or position if this is set to true.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...