Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- task PayBankTaxes[2400000]() //40 minutes
- {
- foreach (new i : Player)
- {
- new str[128];
- if(Player[i][Bank] > 25000 || Player[i][Bank] < 74999) //2.0125%
- {
- new taxes = Player[i][Bank] / 64;
- Player[i][Bank] = Player[i][Bank] - Player[i][Bank] / 64;
- SCM(i, COLOR_WHITE, "|___ BANK STATEMENT ___|");
- SCMEX(i, COLOR_FADE1, " Balance: %s", formatInt(Player[i][Bank]));
- SCMEX(i, COLOR_FADE1, " Taxes paid: %s", formatInt(taxes));
- SCM(i, COLOR_WHITE, "|________________________|");
- format(str, sizeof(str), "~y~Taxes~n~~w~Paid~n~~g~%s", formatInt(taxes));
- GameTextForPlayer(i, str, 3000, 1);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement