render.DrawSprite
From GMod Wiki
| Function | |
| Syntax |
render.DrawSprite( Vector position, Float xSize, Float ySize, [Color color] ) Where is this used? |
| Description: | |
| Draws a sprite. | |
| Returns: | nil |
| Part of Library: | render |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Render.DrawSprite]Render.DrawSprite [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Using EyePos() and EyeAngles() will draw it at 0,0,0 relative to the player's vision. Other values will draw it in the wrong place, as far as the player is concerned.
- Color is optional and will default to white (255, 255, 255, 255).