Random prize
#3

pawn Код:
new rand = random(5);
switch(rand)
{
     case 0: GivePlayerMoney(playerid, xxx);
     case 1: GivePlayerMoney(playerid, xxx);
     //and so on
}
Reply


Messages In This Thread
Random prize - by AhmedMohamed - 29.03.2014, 00:50
Re: Random prize - by AhmedMohamed - 29.03.2014, 01:04
Re: Random prize - by RenovanZ - 29.03.2014, 01:30

Forum Jump:


Users browsing this thread: 1 Guest(s)