HasTrait

Determines if the player has the given trait by its id.

ELITEAPI_API bool __stdcall HasTrait(void* apiObject, unsigned int id);

Parameters

Return Value

True if the player has the trait, false otherwise.