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
#2

I think You should Ask in the scripting discussion As this is not a client Problem
Reply
#3

Ask in scripting discussion.
Reply
#4

^ exactly What i had said -.-'
Reply
#5

ok sorry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)