SetVariantEntity Function

Sets an entity in the global variant object.

void SetVariantEntity(int entity)

Parameters

int entity

Entity index.

Errors

Invalid entity index.