AMX Mod X API Documentation

Signature
native ns_get_hive_ability(idPlayer, ability = 0);
Description

Returns 1 if a player has the hive ability number.

If ability is 0, it will return the number of active hives.

Parameters
  • idPlayer The player index to look up.
  • ability The ability number to check, set to 0 to get number of active hives.
Returns

If ability is != 0, returns 1 or 0 depending on if the client has the ability.

If ability is 0, returns the number of active hives.

Назад
Верх