SA-MP Forums Archive
help me plz - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help me plz (/showthread.php?tid=228073)



help me plz - MBX97 - 18.02.2011

i got this errors when i was doing my admin cmds dialog
pawn Код:
C:\Users\HeadShot\Desktop\THE LA$T xD\gamemodes\Script.pwn(1817) : error 014: invalid statement; not in switch
C:\Users\HeadShot\Desktop\THE LA$T xD\gamemodes\Script.pwn(1817) : warning 215: expression has no effect
C:\Users\HeadShot\Desktop\THE LA$T xD\gamemodes\Script.pwn(1817) : error 001: expected token: ";", but found ":"
C:\Users\HeadShot\Desktop\THE LA$T xD\gamemodes\Script.pwn(1817) : error 029: invalid expression, assumed zero
C:\Users\HeadShot\Desktop\THE LA$T xD\gamemodes\Script.pwn(1817) : 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.
and this is the case 5:{
pawn Код:
case 5:{
    SendClientMessage(playerid, 0xff0000ff, "This CMD is not completed yet");
    }
    }
    }
    }
    return 1;
    }
and by the way i tried to remove all brackets and no effect , so please help me and fix it cause i really need that
cmd cuz i've seen a case 11:{ and no troubles so please tell what's my problem !!!


Re: help me plz - Vince - 18.02.2011

Just one thing to say: INDENTATION!


Re: help me plz - MBX97 - 18.02.2011

what ?, tell me