04.04.2012, 10:20
change playerid to i, it will give you many errors.
and here is about the random cash you talking about
change this line
with this
and here is about the random cash you talking about
pawn Код:
new RandomPay = random(50000); //change the value to your cash value you want
GivePlayerMoney(playerid, random); //this will give random money 0 to 50000
pawn Код:
SendClientMessage(playerid, COLOR_WHITE,"You have recived a check of 1,000$!");
pawn Код:
new string[128];
format(string, sizeof(string), "You have recieve a check of $%i", RandomPay);
SendClientMessage(i, COLOR_WHITE, string);