Help me with error 201
#1

Hey,

Can someone fix this for me?

pawn Код:
C:\Users\Stefan Dorst\Desktop\Volcom Rp\gamemodes\SRP.pwn(10177) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
case 3333:
            {
                ShowPlayerDialog(playerid,3334,DIALOG_STYLE_LIST,"Text's Color","{FA0404}Red\n{0704FA}Blue\n{2CF11A}Green\n{E2FF09}Yellow\n{FF4101}Orange\n{E97AFD}Pink\n{7A7A7A}Grey\n{330099}Indigo","Select","Cancel");
                else SendClientMessage(playerid, COLOR_BLUE , "Text haven't been placed");
            }
the error line is the line with "else"
Reply
#2

should be

pawn Код:
}
else
{
Reply
#3

pawn Код:
case 3333:
            {
                ShowPlayerDialog(playerid,3334,DIALOG_STYLE_LIST,"Text's Color","{FA0404}Red\n{0704FA}Blue\n{2CF11A}Green\n{E2FF09}Yellow\n{FF4101}Orange\n{E97AFD}Pink\n{7A7A7A}Grey\n{330099}Indigo","Select","Cancel");
                SendClientMessage(playerid, COLOR_BLUE , "Text haven't been placed");
            }
there is no if so not in need of else
Reply
#4

Fixed, I didn't look well ;p
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)