error 075: input line too long (after substitutions) -
[Cali]ChrOnic_T - 29.05.2014
I've seen many servers with DIALOG_STYLE_MSGBOX that has over 15 lines. but mines wont work. i keep getting this error
pawn Код:
error 075: input line too long (after substitutions)
This is the line:
pawn Код:
format(string, sizeof(string), "You have successfully registered to [Cali] LSGW.\n{F7AF09}Username: {4FFB04}%s\n{F7AF09}Password: {4FFB04}%s\n{FB1D04}Dont give your password to nobody.\n{FFFFFF}Please remember do not use {FF0000}cheats/hacks.\n{FF0000}Using any mod that give you an ability others cant/nWill result in a {FF0000}3 day ban.\n{FFFFFF}Our {EA15EA}Admins {FFFFFF}Are always watching\nAlso be sure to register on our website\nto get the latest news on the server/community.",name,inputtext );
ShowPlayerDialog(playerid, 48, DIALOG_STYLE_MSGBOX, "Registered", string, "Ok", "Cancel");
Re : error 075: input line too long (after substitutions) -
S4t3K - 29.05.2014
Download the last version of this compiler :
https://github.com/Zeex/pawn/releases
Made by ZeeX, the most important change is that the text size is increased to 4095 instead of 511.
Uncompress the .zip/.tar.gz downloaded from github to your "pawno" folder, and replace the pawncc.exe and pawncc.dll
It should work as a charm now.
You can alternatively use strcat but it involves creating too much vars which results as a waste of memory.
Re: error 075: input line too long (after substitutions) -
lulo356 - 29.05.2014
You had a / instand of \
pawn Код:
format(string, sizeof(string), "You have successfully registered to [Cali] LSGW.\n{F7AF09}Username: {4FFB04}%s\n{F7AF09}Password: {4FFB04}%s\n{FB1D04}Dont give your password to nobody.\n{FFFFFF}Please remember do not use {FF0000}cheats/hacks.\n{FF0000}Using any mod that give you an ability others cant\nWill result in a {FF0000}3 day ban.\n{FFFFFF}Our {EA15EA}Admins {FFFFFF}Are always watching\nAlso be sure to register on our website\nto get the latest news on the server/community.",name,inputtext );
ShowPlayerDialog(playerid, 48, DIALOG_STYLE_MSGBOX, "Registered", string, "Ok", "Cancel");
Re : error 075: input line too long (after substitutions) -
S4t3K - 29.05.2014
It doesn't matter lulo.
If he had made a mistake in the text, the compiler wouldn't detect it : everything between quotes gets off the compiler "authority".
Re: error 075: input line too long (after substitutions) -
lulo356 - 29.05.2014
It does,
If you put a to long line in a dialog, it will say that, right...
Re: error 075: input line too long (after substitutions) -
lulo356 - 29.05.2014
Take a look here
https://sampforum.blast.hk/showthread.php?tid=319744
Re: error 075: input line too long (after substitutions) -
Lacamora - 29.05.2014
Quote:
Originally Posted by lulo356
You had a / instand of \
pawn Код:
format(string, sizeof(string), "You have successfully registered to [Cali] LSGW.\n{F7AF09}Username: {4FFB04}%s\n{F7AF09}Password: {4FFB04}%s\n{FB1D04}Dont give your password to nobody.\n{FFFFFF}Please remember do not use {FF0000}cheats/hacks.\n{FF0000}Using any mod that give you an ability others cant\nWill result in a {FF0000}3 day ban.\n{FFFFFF}Our {EA15EA}Admins {FFFFFF}Are always watching\nAlso be sure to register on our website\nto get the latest news on the server/community.",name,inputtext ); ShowPlayerDialog(playerid, 48, DIALOG_STYLE_MSGBOX, "Registered", string, "Ok", "Cancel");
|
FAlse
use strcat it's better than all solutions