From 23c4f0b666fc429a6acd55acca1c1cceefc2985b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 26 May 2004 08:29:17 +0000 Subject: [PATCH] Added user_has_weapon() native --- plugins/include/amxmodx.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index 8ff9a314..c23104af 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -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. 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 * ammount of ammo in clip and backpack. */