score system ?
#7

Quote:
Originally Posted by Mike_Peterson
View Post
use this
pawn Code:
SetTimer("ScoreTimer",900000,true); // 900000 = 15 minutes
and this timer
pawn Code:
public ScoreTimer()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    SetPlayerScore(i,GetPlayerScore(i) + 1);
    }
}
}
this might do the trick
One error


C:\Documents and Settings\Andero\Desktop\Server\gamemodes\Stunters. pwn(404) : error 021: symbol already defined: "SetTimer"
C:\Documents and Settings\Andero\Desktop\Server\gamemodes\Stunters. pwn(405) : warning 235: public function lacks forward declaration (symbol "ScoreTimer")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

How i can fix it i cant find anthore SetTimer ...
Reply


Messages In This Thread
score system ? - by antsolen - 06.11.2010, 17:48
Re: score system ? - by Mike_Peterson - 06.11.2010, 17:54
Re: score system ? - by antsolen - 06.11.2010, 17:55
Re: score system ? - by Alex_Valde - 06.11.2010, 17:56
Re: score system ? - by Mike_Peterson - 06.11.2010, 18:04
Re: score system ? - by Alex_Valde - 06.11.2010, 18:11
Re: score system ? - by antsolen - 06.11.2010, 18:56
Re: score system ? - by Alex_Valde - 06.11.2010, 19:04
Re: score system ? - by antsolen - 06.11.2010, 19:26
Re: score system ? - by Alex_Valde - 06.11.2010, 19:34

Forum Jump:


Users browsing this thread: 1 Guest(s)