SetTimer's not working
#7

Error Number 1:

This is why there is the "forward" function...

pawn Код:
forward PublicName(arguments);
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) // -.-

pawn Код:
for(new i = 0; i<MAX_PLAYERS;i++)
{
  SetTimerEx("ShowScore", time, repeating, "i", i); //The same concept to all timers with arguments
}
Reply


Messages In This Thread
SetTimer's not working - by Biesmen - 17.05.2011, 07:59
Re: SetTimer's not working - by Elka_Blazer - 17.05.2011, 08:44
Re: SetTimer's not working - by Biesmen - 17.05.2011, 09:35
Re: SetTimer's not working - by Elka_Blazer - 17.05.2011, 09:37
Re: SetTimer's not working - by Biesmen - 17.05.2011, 10:01
Re: SetTimer's not working - by Biesmen - 17.05.2011, 14:32
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 14:39
Re: SetTimer's not working - by Biesmen - 17.05.2011, 14:39
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 14:50
Re: SetTimer's not working - by Biesmen - 17.05.2011, 14:50
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 14:57
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 15:16
Re: SetTimer's not working - by Biesmen - 17.05.2011, 15:17
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 15:21
Re: SetTimer's not working - by Biesmen - 17.05.2011, 15:28
Re: SetTimer's not working - by playbox12 - 17.05.2011, 15:29
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 15:37
Re: SetTimer's not working - by Biesmen - 17.05.2011, 16:17
Re: SetTimer's not working - by playbox12 - 17.05.2011, 16:50
Re: SetTimer's not working - by Biesmen - 17.05.2011, 16:57

Forum Jump:


Users browsing this thread: 4 Guest(s)