29.04.2012, 07:56
Use the random function. Doing something like:
pawn Код:
new RandFlower = random(2);
switch(RandFlower) {
case 0: {
pTulip[playerid]++;
SendClientMessage(playerid, colour, "You picked a Tulip!");
}
case 1: {
pRose[playerid]++;
SendClientMessage(playerid, colour, "You picked a Rose!");
}
}