26.01.2011, 14:38
ty, now its okey, but when i type /pvp playerid weapon weapon, i get text:
Use /duel [id] [wep1] [wep2]
or, Use Valids Weapons IDs...
whats wrong?
i think that problem is here:
Use /duel [id] [wep1] [wep2]
or, Use Valids Weapons IDs...
whats wrong?
i think that problem is here:
pawn Код:
IsValidWeapon(weaponid)
{
new badWeapon[21] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 40, 44, 45, 46};
for(new i=0; i <20; i++)
if (weaponid == badWeapon[i])
return false;
return true;
}