ns_get_hive_ability

Синтаксис

native ns_get_hive_ability(idPlayer, ability=0);

Употреба

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

Описание

Returns 1 if a player has the hive ability number.
If ability is 0, it will return the number of active hives.

Връщаща стойност

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.