SA-MP Forums Archive
HELP - 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: HELP (/showthread.php?tid=379221)



HELP - Windrush - 21.09.2012

pawn Код:
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\pawno\include\fixes.inc(2482) : warning 217: loose indentation
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(398) : warning 201: redefinition of constant/macro (symbol "RED")
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2556) : error 017: undefined symbol "playerid"
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2568) : error 054: unmatched closing brace ("}")
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(6631) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(6609) : warning 204: symbol is assigned a value that is never used: "str"
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(39979) : error 017: undefined symbol "SendCientMessage"
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(39982) : warning 213: tag mismatch
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(39984) : error 017: undefined symbol "SendCientMessage"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
pawn Код:
timer PayDay[3600000]()
{
    Inter_SendClientMessageToAll(COLOR_LIGHTBLUE,"PAYDAY: All business earnings have been updated and all players have recieved a rebate of $10,000");
    for (new i = 0; i < MAX_PLAYERS; i++) {
        GivePlayerCash(i,10000);
        if(AccInfo[i][bowner] == 1) {
            new cbmon = BizInfo[AccInfo[i][bowned]][cashbox], pmon = BizInfo[AccInfo[i][bowned]][profit];
            BizInfo[AccInfo[i][bowned]][cashbox] = cbmon+pmon;
            Inter_SendClientMessage(i,COLOR_LIGHTBLUE,"To collect you business' earnings return to your business and type '/cashbox'");
        }
    }
}
timer NGPayDay[3600000]()
{
    for (new i = 0; i < MAX_PLAYERS; i++)
    {
        if(AccInfo[i][gang] == 1)
        {
            GivePlayerCash(i,800000);
            Inter_SendClientMessageToAll(red,"NG-Leader: You Recive $800,000 From NG-Leader");
        }
    }
        if(AccInfo[playerid][gang] == 0)
        {
            Inter_SendClientMessageToAll(red,"NG-Leader: All New Generation Members Have Recieve a Rebate Of $800,000");
        }

}
Dont Mind The SendIentmessage I will fix that


Re: HELP - ThePhenix - 21.09.2012

Код:
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(39979) : error 017: undefined symbol "SendCientMessage"
Is not
pawn Код:
SendCientMessage
It's
pawn Код:
SendClientMessage