SWEP.DoImpactEffect
From GMod Wiki
| Event Hook | |
| Hook Name | DoImpactEffect |
| Syntax | SWEP:DoImpactEffect( TraceRes trace, Integer damageType ) |
| Description | Called every time a bullet hits something. Return true to disable engine impact effects. |
| Returns | Boolean |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=SWEP.DoImpactEffect]SWEP.DoImpactEffect [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | N/A | ||
|---|---|---|---|
| Used on | |||
| Code |
| ||
| Output | N/A |