SWEP.OnRemove
From GMod Wiki
Revision as of 20:23, 23 October 2009 by Crazy Quebecer (Talk | contribs)
Event Hook | |
Hook Name | OnRemove |
Syntax | SWEP:OnRemove( ) |
Description | Called right before the weapon is removed. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=SWEP.OnRemove]SWEP.OnRemove [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Prints a message when removed. |
---|---|
Used on | |
Code | function SWEP:OnRemove() print("If I am no more, then what am I?") end |
Output | N/A |