Problem with dialog
#1

ON LINE 4229
Код:
 warning 217: loose indentation
 error 014: invalid statement; not in switch
warning 215: expression has no effect
 error 001: expected token: ";", but found ":"
 error 029: invalid expression, assumed zero
 fatal error 107: too many error messages on one line
Part of script:


Код:
     case DIALOG_IZVADIOSOBNU1: //line 4229
        {
            if(response)
            {
				new message[128];
                if(listitem == 0)
                {
                    ClearText(playerid);
					PlayerInfo[playerid][pCSex] = 0;
                    format(message, sizeof(message), ""COL_GREEN"[RADNIK]: "COL_WHITE"U redu, "COL_CYAN"musko "COL_WHITE"ste.");
					SendClientMessage(playerid, 0xFFFFFFFF, message);
				}
				if(listitem == 1)
				{
                    ClearText(playerid);
					PlayerInfo[playerid][pCSex] = 1;
                    format(message, sizeof(message), ""COL_GREEN"[RADNIK]: "COL_WHITE"U redu, "COL_CYAN"zensko "COL_WHITE"ste.");
                    SendClientMessage(playerid, 0xFFFFFFFF, message);
				}
			}
        }
i have:
Код:
#define DIALOG_IZVADIOSOBNU1 157
when calling dialog:
part of cmd.
Код:
ShowPlayerDialog(playerid, DIALOG_IZVADIOSOBNU1, DIALOG_STYLE_MSGBOX,""COL_CYAN"VADJENJE OSOBNE ISKAZNICE",string,"Da","Ne");
Reply


Messages In This Thread
Problem with dialog - by TiXz0r - 07.12.2014, 12:54
Re: Problem with dialog - by TiXz0r - 07.12.2014, 13:21
Re: Problem with dialog - by TiXz0r - 07.12.2014, 14:19
Re: Problem with dialog - by Nightkill - 07.12.2014, 14:47
Re: Problem with dialog - by TiXz0r - 07.12.2014, 15:18
Re: Problem with dialog - by Thanos1997 - 07.12.2014, 15:24
Re: Problem with dialog - by TiXz0r - 07.12.2014, 21:40
Re: Problem with dialog - by Nightkill - 07.12.2014, 22:09

Forum Jump:


Users browsing this thread: 3 Guest(s)