Lines too long? Help? - 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: Lines too long? Help? (
/showthread.php?tid=552124)
Lines too long? Help? -
jackx3rx - 22.12.2014
Hi, I have a code which gives off the error 'line too long after submissions' or something.
I need to make a really long line because I'm making an admin help in dialog which shows all the commands in a list style.
It's like this..
Код:
new SeniorAdminHelp[] = {
"adminhelp\ngoto\ngethere\nspectate\nban\nunban\nmute\nunmute\nfreeze\nunfreeze\nslap\npermban ... etc"
};
It keeps going for a while. Please help.
Re: Lines too long? Help? -
UltraScripter - 22.12.2014
so add few commands like ahelp ahelp2...
Re: Lines too long? Help? -
UltraScripter - 22.12.2014
or add next
like
pawn Код:
if(dialogid == id)
{
if(!response) return SendClientMessage(playerid, 0xFFFF00FF, "Ahelp cancel!");
if(response) return ShowPlayerDialog(playerid, id, DIALOG_STYLE_MSGBOX, "Ahelp page 2", "your TeEXT!", "Next or back", "Cancel");
}
Re: Lines too long? Help? -
jackx3rx - 22.12.2014
Oh yeah.. lol, thanks!