Check ALL the players weapons!
#4

Here's a wiki example:
pawn Код:
new weapons[13][2];
for (new i = 0; i < 13; i++)
{
  GetPlayerWeaponData(playerid, i, weapons[i][0], weapons[i][1]);
}
So, you would use:
pawn Код:
if(weapons[2][0] == 22) { }
2 is the weapon-slot of weaponid 22 (9mm).
Reply


Messages In This Thread
Check ALL the players weapons! - by Rocco - 04.08.2009, 15:40
Re: Check ALL the players weapons! - by Correlli - 04.08.2009, 15:40
Re: Check ALL the players weapons! - by Rocco - 04.08.2009, 15:49
Re: Check ALL the players weapons! - by Correlli - 04.08.2009, 16:08

Forum Jump:


Users browsing this thread: 1 Guest(s)