Garry's Mod Wiki

GM:PlayerSpawnAsSpectator

GM:PlayerSpawnAsSpectator

GM:PlayerSpawnAsSpectator( Player ply )

Description

Called to spawn the player as a spectator.

Arguments

1 Player ply
The player to spawn as a spectator

Example

Makes all players spawn as spectators.

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

Special Pages


Wikis

?

Render Time: 52ms

DB GetPage 36
Generate Html 1
SaveChanges (1) 6
Render Body 0
Render Sidebar 6