Hello There, Guest! Login or Register


Public function, taxupdater
#6
Dimplex you could try:


Code:
forward TaxUpdater();
and
public TaxUpdater()
change it for:
Code:
forward TaxUpdater(playerid);
and
public TaxUpdater(playerid)

And
change your settimer ex for:
Code:
for(new i=0;i<MAX_PLAYERS;i++){SetTimerEx("TaxUpdater", 180000, 1,"i",i);}

Code:
public TaxUpdater()
{
    
        if(GetPlayerMoney(i) > 3000000)
                    {
             GivePlayerMoney(i,-100000);
             SendClientMessage(i, COLOR_GREEN,"You payed 100000 tax.");
             }
         
}


It's the same result...anyway i'd try it.


Posting your full code in pastebin should be useful too


Zodiac
Reply


Messages In This Thread
Public function, taxupdater - by Dimplex - 04-22-2008, 04:02 PM
Re: Public function, taxupdater - by Jay - 04-22-2008, 04:58 PM
Re: Public function, taxupdater - by Dimplex - 04-22-2008, 05:28 PM
Re: Public function, taxupdater - by Xanland - 04-22-2008, 05:54 PM
Re: Public function, taxupdater - by Jay - 04-22-2008, 08:54 PM
Re: Public function, taxupdater - by The_Zodiac - 04-23-2008, 01:50 AM
Re: Public function, taxupdater - by Jay - 04-23-2008, 04:57 PM
Re: Public function, taxupdater - by Smoke - 04-24-2008, 11:03 AM
Re: Public function, taxupdater - by Dimplex - 04-24-2008, 02:19 PM
Re: Public function, taxupdater - by Joeri - 04-24-2008, 03:20 PM