01.03.2014, 20:54
when I typed /pay, still add on. can I put it back to fine 0?
Код:
if(strcmp(cmdtext, "/pay", true) == 0) { new str[256]; //TextDrawShowForPlayer(playerid, Fine); format(str, sizeof(str), "Fine : $%i", PlayerInfo[playerid][Fines]); PlayerInfo[playerid][Fines] = 0; TextDrawSetString(Fine, str); GivePlayerMoney(playerid, PlayerInfo[playerid][Fines]); return 1; }