TF2_GetObjectMode Function

Gets an entity's object mode.

TFObjectMode TF2_GetObjectMode(int entity)

Parameters

int entity

Entity index.

Return Value

Current TFObjectMode of entity.

Errors

Invalid entity index.