SWEP.DoImpactEffect

From GMod Wiki

Revision as of 08:58, 26 March 2011 by Donkie (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event Hook
Hook NameDoImpactEffect
SyntaxSWEP:DoImpactEffect( TraceRes trace, Integer damageType )
DescriptionCalled every time a bullet hits something. Return true to disable engine impact effects.
ReturnsBoolean
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=SWEP.DoImpactEffect]SWEP.DoImpactEffect [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Example

DescriptionN/A
Used onNewerMissing.png
Code
LuaIco3.pngThis page needs an example to demonstrate the item detailed on this page. See how to make one here.
See more articles that need examples here.
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox