01.01.2011, 07:04
More information please?
And to the tax guy, i used james's code and i havn't tested it so hopefully it will work
And to the tax guy, i used james's code and i havn't tested it so hopefully it will work
pawn Код:
//Under OnGameModeinit
SetTimer("TaxTimer",3600000,true);
//anywhere in the script just not in another callback.
forward TaxTimer();
public TaxTimer()
{
for(new j;j<MAX_PLAYERS;j++)
{
new tax;
tax = GetPlayerMoney(j) / 5;
GivePlayerMoney(j, -tax);
}
return 1;
}