23.06.2013, 09:53
When I go IG and spawn, after 3 minutes I do not get any score. (Yes, I loaded the FS.)
Here's the code:
It's supposed to make each player get +2 score after 3 minutes of playing.
Here's the code:
Код:
forward ScoreTimer(playerid); public OnPlayerSpawn(playerid) { SetTimer("ScoreTimer", 180000, true); return 1; } public ScoreTimer(playerid) { SetPlayerScore(playerid, GetPlayerScore(playerid) + 2); SendClientMessage(playerid, COLOR_LBLUE, "You have played for 3 minutes, you have earned +2 score!"); return 1; }