30.06.2014, 20:12
Just created one job, and i set new cash = random(1000-1500);
and somehow i earned
instead of 1000-1500.. Explanations? :$
pawn Код:
if(RidingThroughtCoronas[playerid] == 21)
{
new cash = random(1000-1500);
GivePlayerMoney(playerid, cash);
new string[128];
format(string, sizeof(string), "[JOB] You just finished your job and earned: $%d", cash);
SendClientMessage(playerid, 0x10F441AA, string);
DisablePlayerRaceCheckpoint(playerid);
RidingThroughtCoronas[playerid] = 0;
}
