Gamemode.PlayerShouldTakeDamage
From GMod Wiki
Event Hook | |
Hook Name | PlayerShouldTakeDamage |
Syntax | GM:PlayerShouldTakeDamage( Player victim , Entity attacker ) |
Description | Called whenever a player gets hurt. |
Returns | Boolean - true for "take damage", false for "ignore the damage" |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerShouldTakeDamage]Gamemode.PlayerShouldTakeDamage [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples