Garry's Mod Wiki

GM:PlayerDeathThink

GM:PlayerDeathThink

boolean GM:PlayerDeathThink( Player ply )

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.

This hook is not called for players with the FL_FROZEN flag applied.

Issue Tracker: 1577

Arguments

1 Player ply
The player affected in the hook.

Returns

1 boolean
Allow spawn

Special Pages


Wikis

?

Render Time: 62ms

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