Garry's Mod Wiki

GM:PlayerSpawnAsSpectator

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

Page Links


Special Pages


Wikis

?

Render Time: 28ms

Session 0
DB GetPage 3
Generate Html 3
SaveChanges 8
Render Body 0
Render Sidebar 11