SA-MP Forums Archive
It Gives Me errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: It Gives Me errors (/showthread.php?tid=379062)



It Gives Me errors - Windrush - 20.09.2012

pawn Код:
timer NGPayDay[3600000]()
{
    Inter_SendClientMessageToAll(red,"NG-Leader: All New Generation Members Have Recieve a Rebate Of $800,000");
    if(AccInfo[playerid][gang] == 1)
    {
    Inter_SendClientMessageToAll(red,"NG-Leader: You Recive $800,000 From NG-Leader");
        for (new i = 0; i < MAX_PLAYERS; i++)
        {
            GivePlayerCash(i,800000);
        }
    }
}
pawn Код:
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2545) : error 029: invalid expression, assumed zero
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2545) : error 017: undefined symbol "NGPayDay_yT@"
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2545) : error 001: expected token: ";", but found "return"
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2545) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
REP++


Re: It Gives Me errors - TaLhA XIV - 20.09.2012

What include are you using to make timers?