06.04.2011, 16:04
I don't really understand what you're trying. Your script completely fails. First of all, try this:
And why would you make a loop at Score? It's already for playerids.
And you don't have to check if the player is connected, because it will only set a timer on the player who is connected.
pawn Код:
forward Score(playerid);
SetTimerEx("Score", 60000, true, "i", playerid); // Score is based on a player id, so use SetTimerEx
public Score(playerid)
{
SetPlayerScore(playerid,GetPlayerScore(playerid) + 1);
return 1;
}
And you don't have to check if the player is connected, because it will only set a timer on the player who is connected.