User Tools

Site Tools


eliteapi:functions:entity:setrace

SetRace

Sets the entities race.

ELITEAPI_API bool __stdcall SetRace(void* apiObject, int index, unsigned char raceId);

Parameters

  • apiObject [in]
    • A handle to an EliteAPI object.
  • index [in]
    • The index of the entity to obtain.
  • raceId [in]
    • The race id to set the entity to.

Return Value

True on success, false otherwise.

eliteapi/functions/entity/setrace.txt · Last modified: 2014/12/08 02:28 (external edit)