Entity.SetShouldDrawInViewMode
From GMod Wiki
| Function | |
| Syntax | Entity:SetShouldDrawInViewMode( Boolean bDraw ) |
| Description: | |
| Sets whether to draw this entity, When the player is using it as their view entity (via SetViewEntity). | |
| Returns: | nil |
| In Object: | Entity |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetShouldDrawInViewMode]Entity.SetShouldDrawInViewMode [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | N/A | ||
|---|---|---|---|
| Used on | |||
| Code |
| ||
| Output | N/A |
Additional Notes
- Entities are visible in first person by default!