03.01.2010, 10:43
pawn Код:
new Weapons[2];
GetPlayerWeaponData(playerid, 7, Weapons[0]);
GetPlayerWeaponData(playerid, 8, Weapons[1]);
if(Weapons[0] == 35 && Weapons[1] == 16)
{
new Random = random(2);
if(Random == 0)
{
GivePlayerWeapon(playerid, 17, random(9998)+1);
}
if(Random == 1)
{
GivePlayerWeapon(playerid, 38, random(9998)+1);
}
}