EntityOrder
Sets drawing order.
EntityOrder ( entity,order )
Parameters
- entity
- the entity's handle.
- order
- above 0 to draw it behind everything, below 0 in front of everything, 0 for normal.
Description
Draws an entity behind or in front of everything else, whatever its distance. Use a positive order for a sky box, which should always be behind, and a negative one for a cockpit or a gun held up to the camera, which should always be in front. 0 draws it normally.
