SWEP.DrawWorldModel

From GMod Wiki

Revision as of 18:27, 7 June 2010 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event Hook
Hook NameDrawWorldModel
SyntaxSWEP:DrawWorldModel( )
DescriptionDraws the world model (not the viewmodel) of the SWEP.
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=SWEP.DrawWorldModel]SWEP.DrawWorldModel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Examples

DescriptionDraws the world model completely normal. (This is also how it is defined)
Used onNewerClient.png
Code
function SWEP:DrawWorldModel()
     self:DrawModel()
end
OutputN/A

Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox