SA-MP Forums Archive
CMD:toys is a lil' messed - 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: CMD:toys is a lil' messed (/showthread.php?tid=435886)



CMD:toys is a lil' messed - UnknownGamer - 09.05.2013

pawn Код:
C:\Users\Administrator\Desktop\RP Server\filterscripts\toys.pwn(20) : error 017: undefined symbol "MAX_PLAYERTOYS"
C:\Users\Administrator\Desktop\RP Server\filterscripts\toys.pwn(25) : error 017: undefined symbol "HoldingObjectsAll"
C:\Users\Administrator\Desktop\RP Server\filterscripts\toys.pwn(25) : error 036: empty statement
C:\Users\Administrator\Desktop\RP Server\filterscripts\toys.pwn(25) : error 017: undefined symbol "i"
C:\Users\Administrator\Desktop\RP Server\filterscripts\toys.pwn(25) : fatal error 107: too many error messages on one line

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


5 Errors.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    new sendername[MAX_PLAYER_NAME];
    new string[128];

    if((dialogid == 9000) && response)
    {
        if(listitem == 0)
        {
            new stringg[512];
            for(new x;x<MAX_PLAYERTOYS;x++) // Line 20
            {
                new name[24];
                format(name, sizeof(name), "None");

                for(new i;i<sizeof(HoldingObjectsAll);i++) // Line 25
                {
I've missed some code, but can't see what