ENT.Draw

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameDraw
SyntaxENT:Draw( )
DescriptionCalled to draw the entity.
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=ENT.Draw]ENT.Draw [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Examples

DescriptionDraws the entity's model on the client.
Used onNewerClient.png
Code
function ENT:Draw()
  self:DrawModel()
end
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox