User Tools

Site Tools


eliteapi:functions:player:hasability

HasAbility

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

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

Parameters

  • apiObject [in]
    • A handle to an EliteAPI object.
  • id [in]
    • The id of the ability to lookup.

Return Value

True if the player has the ability, false otherwise.

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