SWEP.DrawWorldModel
From GMod Wiki
Event Hook | |
Hook Name | DrawWorldModel |
Syntax | SWEP:DrawWorldModel( ) |
Description | Draws the world model (not the viewmodel) of the SWEP. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=SWEP.DrawWorldModel]SWEP.DrawWorldModel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Draws the world model completely normal. (This is also how it is defined) |
---|---|
Used on | |
Code | function SWEP:DrawWorldModel() self:DrawModel() end |
Output | N/A |
Additional Notes
- This is different than Player.DrawWorldModel! This is a hook, that one makes you able to disable drawing the world model of the weapons that player is carrying.