help with dialog :(
#1

Hello
I want to make a MSGBOX dialog, which opens with the command
The text in the dialog is too long so i when i type Compile Run I get the following errors:

Код:
C:\Documents and Settings\samsung\Desktop\Нова папка\0.3c\gamemodes\gangwars.pwn(7012) : error 075: input line too long (after substitutions)
C:\Documents and Settings\samsung\Desktop\Нова папка\0.3c\gamemodes\gangwars.pwn(7013) : error 037: invalid string (possibly non-terminated string)
C:\Documents and Settings\samsung\Desktop\Нова папка\0.3c\gamemodes\gangwars.pwn(7013) : error 029: invalid expression, assumed zero
C:\Documents and Settings\samsung\Desktop\Нова папка\0.3c\gamemodes\gangwars.pwn(7013) : error 029: invalid expression, assumed zero
C:\Documents and Settings\samsung\Desktop\Нова папка\0.3c\gamemodes\gangwars.pwn(7013) : fatal error 107: too many error messages on one line
So my question is how to add more text, but to start a new line in the file pawno for not giving me an error that I have collected too much text on one line.

See the command:
Код:
    if (strcmp(cmdtext, "/ciahelp", true)==0)
    {
        if(PlayerInfo[playerid][pMember] == TEAM_CIA)
        {
         ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Коя команда какво прави ?","/o1 - За да отвориш порта 1 (малката)\n/o2 - За да отвориш порта 2 (голямата)\n/o3 - За да пуснеш пушека в къщата (само за 4, 5 и 6 ранк)\n/c3 - За да спреш пушека в къщата (само за 4, 5 и 6 ранк)\n/o4 - За да заобградиш базата (само за 6 ранк)\n/c4 - За да махнеш заобграждението (само за 6 ранк)\n/o5 - За да пуснеш стълбата към втория етаж (само за 3, 4, 5 и 6 ранк)\n/c5 - За да махнеш стълбата към втория етаж (само за 3, 4, 5 и 6 ранк)","Затвори","Затвори");
		}
		else
		{
           SendClientMessage(playerid,0xE60000FF, "Ти не си член на C.I.A.");
        }
        return 1;
    }
[code]
Reply


Messages In This Thread
help with dialog :( - by BGMike - 06.05.2011, 19:37
Re: help with dialog :( - by Jean_Pierre - 06.05.2011, 19:59
Re: help with dialog :( - by GangsTa_ - 06.05.2011, 20:40
Re: help with dialog :( - by Jean_Pierre - 06.05.2011, 20:48
Re: help with dialog :( - by BGMike - 06.05.2011, 20:56

Forum Jump:


Users browsing this thread: 1 Guest(s)