GM:PlayerSpawnAsSpectator

From Garry's Mod
Jump to: navigation, search
 GM:PlayerSpawnAsSpectator( )

Contents

Description

Called to spawn the player as a spectator.

Arguments

Player ply

The player to spawn as a spectator

Examples

Example

Makes all players spawn as spectators.

function GM:PlayerSpawn( ply )
 
	GAMEMODE:PlayerSpawnAsSpectator( ply )
 
end


Personal tools
Navigation