09.12.2014, 13:16
Hello, i was trying to set my paycheck rply but i still get above 2000 as level 1 See here
Old one
Changed to
how to change this rply that you get under 1000 as level 1?
Old one
Код:
if(PlayerInfo[i][pLS] == 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;
}
Код:
if(PlayerInfo[i][pLS] == 0)
{
format(string, sizeof(string), " Paycheck: $%s | SA Gov Tax: $%s (%d percent)", number_format(PlayerInfo[i][pPayCheck]), number_format((PlayerInfo[i][pPayCheck] / 1000000) * TaxValue), TaxValue);
PlayerInfo[i][pAccount] -= (PlayerInfo[i][pPayCheck] / 1000000) * TaxValue;
Tax += (PlayerInfo[i][pPayCheck] / 1000000) * TaxValue;
}

