22.07.2012, 07:19
Your code it's a bit strange,but here's a possible fix:
Don't use SetPVarInt with a timer anymore...try to adapt your code following the example I gave you
pawn Код:
forward Taxes(playerid);
new SetTax[MAX_PLAYERS];
OnPlayerConnect(playerid)
{
SetTax[playerid]=SetTimerEx("Taxes",30000,true,"i",playerid);
return 1;
}
OnPlayerDisconnect(playerid)
{
KillTimer(SetTax[playerid]);
return 1;
}
public Taxes(playerid)
{
//code
return 1;
}
