Paycheck help.
#1

Hello i was wondering if this:

PHP код:
playerData[i][pDeposit] -= (playerData[i][pPayCheck] / 100) * g_iTaxValue;
>>>            
g_iTax += (playerData[i][pPayCheck] / 100) * g_iTaxValue;
            
playerData[i][pDeposit] += interest;
            
format(stringsizeof(string), "  Interest gained: $%s"number_format(interest));
            
SendClientMessage(iCOLOR_GRAD3string);
            
SendClientMessage(iCOLOR_GRAD4"|_______________________________________________|");
            
format(stringsizeof(string), "  New balance: $%s  |  Rent paid: $%d"number_format(playerData[i][pDeposit]), (<= playerData[i][pRenting] < MAX_HOUSES) ? (houseData[playerData[i][pRenting]][h_iRentFee]) : (0));
            
SendClientMessage(iCOLOR_GRAD5string); 
Stands for 100 + or x the tax

so for example 100 X 10% tax is 200 % paycheck?
Reply


Messages In This Thread
Paycheck help. - by IndependentGaming - 21.07.2015, 18:33
Re: Paycheck help. - by Mariciuc223 - 21.07.2015, 19:10
Re: Paycheck help. - by IndependentGaming - 21.07.2015, 19:19
Re: Paycheck help. - by IndependentGaming - 21.07.2015, 21:00
Re: Paycheck help. - by Krokett - 21.07.2015, 22:22

Forum Jump:


Users browsing this thread: 1 Guest(s)