Paycheck/Payday Problem
#1

Hello People.

We are trying to get realistic paycheck in our script.
Now I saw the system of NGG and HZRP but Im trying to get that together.
Like in NGG you get each connected hour a paycheck.
and in HZRP you get each full Hour a Paycheck.

I want to make it like that you get each connected hour a paycheck but with the realistic prices.

if(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;
}

We tryed to set [pPayCheck] / 100) * TaxValue;
to [pPayCheck] / 1000) * TaxValue;

But nothing happens with the money you get each paycheck..

Is there anything else that I need to search for?

Sincerly,
D@rkStyl3
Reply


Messages In This Thread
Paycheck/Payday Problem - by IndependentGaming - 09.12.2014, 21:20
Re: Paycheck/Payday Problem - by IndependentGaming - 10.12.2014, 06:10
Re: Paycheck/Payday Problem - by IndependentGaming - 10.12.2014, 06:54
Re: Paycheck/Payday Problem - by Smally - 10.12.2014, 07:05
Re: Paycheck/Payday Problem - by IndependentGaming - 10.12.2014, 07:07
Re: Paycheck/Payday Problem - by Smally - 10.12.2014, 07:09
Re: Paycheck/Payday Problem - by IndependentGaming - 10.12.2014, 07:14
Re: Paycheck/Payday Problem - by Divergent - 10.12.2014, 08:01
Re: Paycheck/Payday Problem - by IndependentGaming - 10.12.2014, 08:02
Re: Paycheck/Payday Problem - by Divergent - 10.12.2014, 08:04

Forum Jump:


Users browsing this thread: 1 Guest(s)