04-23-2008, 01:50 AM
(This post was last modified: 04-23-2008, 01:57 AM by The_Zodiac)
Dimplex you could try:
change it for:
And
change your settimer ex for:
It's the same result...anyway i'd try it.
Posting your full code in pastebin should be useful too
Zodiac
Code:
forward TaxUpdater();
and
public TaxUpdater()
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