help with dialog :( - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (
https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: help with dialog :( (
/showthread.php?tid=253474)
help with dialog :( -
BGMike - 06.05.2011
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]
Re: help with dialog :( -
Jean_Pierre - 06.05.2011
I think You should Ask in the scripting discussion As this is not a client Problem
Re: help with dialog :( -
GangsTa_ - 06.05.2011
Ask in scripting discussion.
Re: help with dialog :( -
Jean_Pierre - 06.05.2011
^ exactly What i had said -.-'
Re: help with dialog :( -
BGMike - 06.05.2011
ok sorry