28.09.2012, 23:22
pawn Код:
PlayerHasWeapon(playerid)
{
new playerWeaponData[2][13];
for(new i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, playerWeaponData[0][i], playerWeaponData[1][i]);
if(playerWeaponData[0][i] > 0)
{
return 1;
}
}
return 0;
}