23.07.2016, 19:57
When i have this, its like it doesnt minuses the ebill, and tax, but it will plus it to the netpay, what is wrong with my code?
pawn Код:
new donatorbonus;
if(PlayerInfo[playerid][pDonatorLevel] == 1) { donatorbonus = 3000; }
else if(PlayerInfo[playerid][pDonatorLevel] == 2) { donatorbonus = 6000; }
else if(PlayerInfo[playerid][pDonatorLevel] == 3) { donatorbonus = 9000; }
new netpay = checks += donatorbonus += interest -= storagefee -= TaxValue -= PlayerInfo[playerid][pSock] -= ebill;
