14.05.2009, 23:35
replace the settimers, which are for players, with SetTimerEx, so:
and since that requires a playerid, put it under OnPlayerConnect Instead of OnGameModeInit. Or OnPlayerSpawn. Just whenever you want it to start, as long as it's a callback that is for a certain player.
Код:
Replace: SetTimer("MoneyCheck", 500, true); With: SetTimer("MoneyCheck", 500, true,"d",playerid);