Gamemode.PlayerTraceAttack
From GMod Wiki
Revision as of 00:41, 5 November 2009 by Crazy Quebecer (Talk | contribs)
Event Hook | |
Hook Name | PlayerTraceAttack |
Syntax | GM:PlayerTraceAttack( Player ply, CTakeDamageInfo dmginfo, Vector dir, Trace trace ) |
Description | Triggered when a player is hit by a trace, and damaged by it. Returning true will override it. |
Returns | Boolean Return false to do nothing. |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerTraceAttack]Gamemode.PlayerTraceAttack [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |