how to set paycheck roleplay?
#5

i changed it to this

Код:
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) * 2000), TaxValue);
				PlayerInfo[i][pAccount] -= (PlayerInfo[i][pPayCheck] / 100) * 2000;
				Tax += (PlayerInfo[i][pPayCheck] / 100) * 2000;
			}
This is what i get:

Код:
[17:06:01] ________ BANK STATEMENT ________

[17:06:01]   Paycheck: $3,600  |  SA Gov Tax: $72,000 (29 percent)

[17:06:01]   Balance: $-71,900  |  Interest rate: 0.1 percent (50k max)

[17:06:01]   Taxi licensing fee (5 percent): $180

[17:06:01]   Interest gained: $-36

[17:06:01] ______________________________________

[17:06:01]   New balance: $-71,936  |  Rent paid: $0
Reply


Messages In This Thread
how to set paycheck roleplay? - by IndependentGaming - 09.12.2014, 13:16
Re: how to set paycheck roleplay? - by Abagail - 09.12.2014, 13:19
Re: how to set paycheck roleplay? - by IndependentGaming - 09.12.2014, 13:25
Re: how to set paycheck roleplay? - by Arastair - 09.12.2014, 13:28
Re: how to set paycheck roleplay? - by IndependentGaming - 09.12.2014, 15:20
Re: how to set paycheck roleplay? - by IndependentGaming - 09.12.2014, 15:52
Re: how to set paycheck roleplay? - by IndependentGaming - 09.12.2014, 17:48
Re: how to set paycheck roleplay? - by IndependentGaming - 09.12.2014, 20:09

Forum Jump:


Users browsing this thread: 1 Guest(s)