GM:PlayerDeathThink

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

Description

Called every think while the player is dead. The return value will determine if the player respawns.

Overwriting this function will prevent players from respawning by pressing space or clicking.

Arguments

Player ply

The player affected in the hook.

Returns

boolean

Allow spawn
Personal tools
Navigation