02.02.2011, 14:06
id 37 is flame thrower
and if 38 is the minigun
and it still gives them and i dont want it too
and if 38 is the minigun
and it still gives them and i dont want it too

pawn Код:
public GiveRandomWeapon(playerid)
{
new rand = random(39);
if(rand == 0 || rand == 19 || rand == 20 || rand == 21 || rand == 37 || rand == 38)
{
random(39);
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
GivePlayerWeapon(i,rand,500);
}
return 1;
}