SetEntityRenderMode Function

Sets an entity's render mode.

void SetEntityRenderMode(int entity, RenderMode mode)

Parameters

int entity

Entity index.

RenderMode mode

RenderMode value.

Errors

Invalid entity index, or lack of mod compliance.