SA-MP Forums Archive
Little help with Dialogs - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Little help with Dialogs (/showthread.php?tid=311013)



Little help with Dialogs - boyan96 - 14.01.2012

i have this error on my dialog how i fix it error 075: input line too long (after substitutions)


AW: Little help with Dialogs - Drebin - 14.01.2012

The input text is to long .. show your code.


Re: Little help with Dialogs - boyan96 - 14.01.2012

ShowPlayerDialog(playerid,23,DIALOG_STYLE_MSGBOX," VIP Commands","{FF8040}3 левел ВИП команди\r\n{80FF00}/fix\r\n/flip\r\n/hyd\r\n/nos\r\n/healme\r\n/jetpack\r\n/NRG\r\n{FF0000}4 левел ВИП команди\r\n/mark\r\n/gotomark\r\n/g LS/LV/SF/MC/STUNT/stunt2/drift1/drift2/drift3/drift3/drift4/drift5\r\n/NRG \r\n/bike\r\n /telegy\r\n/turanus\r\n/tstrat\r\n/tflash\r\n/tjester\r\n/sultan\r\n/at\r\n/listguns\r\n /check\r\n /heal \r\n/invisible","ИЗХОД","");
}


Re: Little help with Dialogs - Konstantinos - 14.01.2012

pawn Код:
new
    Text[ 368 ];

strcat(Text, "{FF8040}3 левел ВИП команди\r\n{80FF00}/fix\r\n/flip\r\n/hyd\r\n/nos\r\n/healme\r\n/jetpack\r\n/NRG\r\n{FF0000}4 левел ВИП команди\r\n/mark\r\n/gotomark\r\n/g LS/LV/SF/MC/STUNT/stunt2/drift1/drift2/drift3/drift3/drift4/drift5\r\n");
strcat(Text, "/NRG \r\n/bike\r\n /telegy\r\n/turanus\r\n/tstrat\r\n/tflash\r\n/tjester\r\n/sultan\r\n/at\r\n/listguns\r\n /check\r\n /heal \r\n/invisible");

ShowPlayerDialog(playerid, 23, DIALOG_STYLE_MSGBOX, " VIP Commands", Text, "ИЗХОД", "");