17.05.2011, 14:39
Error Number 1:
This is why there is the "forward" function...
Error number 2:
SetTimer("ShowScores", time, 0); //Who's the playerid?
The compiler doesn't know who is him!! You should show the score to all players, so use for (i ...) etc
ShowScores(playerid) // -.-
This is why there is the "forward" function...
pawn Код:
forward PublicName(arguments);
SetTimer("ShowScores", time, 0); //Who's the playerid?
The compiler doesn't know who is him!! You should show the score to all players, so use for (i ...) etc
ShowScores(playerid) // -.-
pawn Код:
for(new i = 0; i<MAX_PLAYERS;i++)
{
SetTimerEx("ShowScore", time, repeating, "i", i); //The same concept to all timers with arguments
}