GetEntityRenderMode Function

Gets an entity's render mode.

RenderMode GetEntityRenderMode(int entity)

Parameters

int entity

Entity index.

Return Value

RenderMode value.

Errors

Invalid entity index, or lack of mod compliance.