Garry's Mod Wiki
Description
Draws the entity or model.
If called inside ENTITY:Draw or ENTITY:DrawTranslucent, it only draws the entity's model itself.
If called outside of those hooks, it will call both of said hooks depending on Entity:GetRenderGroup, drawing the entire entity again.
When drawing an entity more than once per frame in different positions, you should call Entity:SetupBones before each draw; Otherwise, the entity will retain its first drawn position.
This means that it will only work in 3d Rendering Hooks.
Arguments
Example
Manually draws a single ClientsideModel on the specified bone, on the given offset for every player affected by this hook.
This is useful in case you want to reuse a single model without having to create one for each player.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...