AMX Mod X API Documentation

Signature
native ns_has_weapon(id, weapon, setweapon = -1);
Description

Returns if the player has the weapon or not in their pev->weapons field.

set "setweapon" to 0 to turn the bit off, set to 1 to turn it on. Or omit it to just return the value.

Назад
Верх