11.01.2012, 14:41
in the dcmd_lotto, after this line:
...add a check if the Num variable is lower than 1, or higher than 100:
before the other loop (checking for that number already been chosen)
pawn Код:
new Num = strval(params);
pawn Код:
if(Num<1 || Num>100) //if Num<1 or >100 then cancel
{
SendClientMessage(playerid, 0xE21F1FFF, "ou should pick a number from 1 to 100");
return 1;
}