Score Problem
#3

I kept the
pawn Код:
SetTimer("Online",60000,1);
And I replace this
pawn Код:
forward Online();
public Online()
{
    for(new i = 0;i != MAX_PLAYERS;++i)
    {
        SetPlayerScore(i, GetPlayerScore(i)+1);
    }
    return 1;
}
To
pawn Код:
public Online()
{
    for(new i = 0;i != MAX_PLAYERS;++i)
    {
        SetPlayerScore(i, GetPlayerScore(i)+1);
        print("Called");
    }
    return 1;
}
But I got a warning
pawn Код:
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (2)\gamemodes\Xtreamgaming.pwn(6650) : warning 235: public function lacks forward declaration (symbol "Online")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
Should I add
pawn Код:
forward Online();
Reply


Messages In This Thread
Score Problem - by Kostas' - 20.10.2011, 15:37
Re: Score Problem - by =WoR=Varth - 20.10.2011, 15:47
Re: Score Problem - by Kostas' - 20.10.2011, 16:08
Re: Score Problem - by =WoR=Varth - 20.10.2011, 16:11
Re: Score Problem - by Kostas' - 20.10.2011, 16:12
Re: Score Problem - by Kostas' - 20.10.2011, 16:23
Re: Score Problem - by =WoR=Varth - 20.10.2011, 16:25
Re: Score Problem - by Kostas' - 20.10.2011, 16:27
Re: Score Problem - by nilanjay - 20.10.2011, 16:29
Re: Score Problem - by =WoR=Varth - 20.10.2011, 16:31

Forum Jump:


Users browsing this thread: 2 Guest(s)