12.10.2011, 00:04
pawn Код:
CMD:randomweapon(playerid, params[])
{
new Weapons = RandomSet(38,36,16,39,44,28,26,24,8);
GivePlayerWeapon(playerid, RandomWeapons[Weapons], 5000);
return 1;
}
stock RandomSet(...) return getarg(random(numargs()));