06.01.2014, 06:46
Hello,this is part of my payday where should tax been taken from account. but money just don't want to go down remain same. And on string where is tax says example for level 10 tax is 2,000$ but money don't go down.
pawn Код:
*
if(PlayerInfo[i][pPayDay] >= 0)
{
new tax = (Tax / 2)*(PlayerInfo[i][pLevel]);
if(PlayerInfo[i][pLevel] > 2)
{
PlayerInfo[i][pCash] -= tax;
banksys[dCash] += tax;
SaveCityhallSystem()
format(coordsstring2, sizeof(coordsstring2),"{48CCCD}|_________________________ {157DEC}Bank Statement{48CCCD} __________________________|");
format(coordsstring3, sizeof(coordsstring3),"\n{157DEC}Government Tax:{48CCCD} -$%d", tax);
}