Added user_has_weapon() native

This commit is contained in:
David Anderson 2004-05-26 08:29:17 +00:00
parent f88bd58919
commit 23c4f0b666

View File

@ -213,7 +213,7 @@ native get_user_ip(index,ip[],len, without_port = 0);
/* Returns if the player has the weapon or not in their pev->weapons field. /* 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. */ set "setweapon" to 0 to turn the bit off, set to 1 to turn it on. */
native has_weapon(index,weapon,setweapon=-1); native user_has_weapon(index,weapon,setweapon=-1);
/* Returns id of currently carried weapon. Gets also /* Returns id of currently carried weapon. Gets also
* ammount of ammo in clip and backpack. */ * ammount of ammo in clip and backpack. */