05.06.2012, 18:51
Sup /sf/, I got a ShowPlayerDialog with all my server rules.
How do I break this line into two parts? I get errors because the line is too long.
It looks something like this, but info[] is too long and I need to split it if you know what I'm talking about.
ShowPlayerDialog(playerid, 29350, DIALOG_STYLE_MSGBOX, "Server Rules", "A lot of rules\nMoar rules\nIt keeps going like this for a while", "Accept", "Decline");
EDIT: The errors I get:
How do I break this line into two parts? I get errors because the line is too long.
It looks something like this, but info[] is too long and I need to split it if you know what I'm talking about.
ShowPlayerDialog(playerid, 29350, DIALOG_STYLE_MSGBOX, "Server Rules", "A lot of rules\nMoar rules\nIt keeps going like this for a while", "Accept", "Decline");
EDIT: The errors I get:
Code:
C:\Server\gamemodes\hannesmode.pwn(6694) : error 075: input line too long (after substitutions) C:\Server\gamemodes\hannesmode.pwn(6795) : error 037: invalid string (possibly non-terminated string) C:\Server\gamemodes\hannesmode.pwn(6795) : error 017: undefined symbol "No" C:\Server\gamemodes\hannesmode.pwn(6795) : error 017: undefined symbol "cheats" C:\Server\gamemodes\hannesmode.pwn(6795) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.