10.12.2014, 06:54
Код:
f(PlayerInfo[i][pSA] == 0) { format(string, sizeof(string), " Paycheck: $%s | SA Gov Tax: $%s (%d percent)", number_format(PlayerInfo[i][pPayCheck]), number_format((PlayerInfo[i][pPayCheck] / 100) * TaxValue), TaxValue); PlayerInfo[i][pAccount] -= (PlayerInfo[i][pPayCheck] / 100) * TaxValue; Tax += (PlayerInfo[i][pPayCheck] / 100) * TaxValue; }