SWEP.DrawWorldModel

From GMod Wiki

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