14.11.2010, 04:36
(
Последний раз редактировалось Kitten; 24.11.2013 в 05:34.
)
Solved
new i = random(5);
GivePlayerWeapon(playerid, i, 999999); something like that?
-----------
or
switch(random(5))
{
case 0: giveweapon(playerid, 1, 99999);
case 1:....
......
......
......
}
if(checkpointid == RandomWeaponCP)
{
new randwep = random(41);
ResetPlayerWeapon(playerid);
switch(randwep)
{
case 0:
{
}
}
}
case 1: {GivePlayerWeapon(playerid,AK,500); GameTextForPlayer(playerid,"~r~ YOU GOT A RANDOM WEAPON OF ~n~~w~AK47 ASSUALT RIFLE",6000,4);}