Dialog too much text?
#1

Код:
:\Users\Nick\Desktop\Call Of Duty - Engine SA-MP\gamemodes\Untitled.pwn(398) : error 075: input line too long (after substitutions)
I think I have too much text in the dialog, how to solve this? Or must I using a dialog streamer?

Thx!
Reply
#2

Uhmm.. use sub dialogs?
I had this aswell..

try to make it go in mutliple dialogs

Like

Subject
subject1
subject2
subject3

get what i mean?
Reply
#3

No, I was making a dialog with a lot of rules and explaination. I dont wanna use multiple dialogs...
Reply
#4

Quote:
Originally Posted by MSI
Посмотреть сообщение
No, I was making a dialog with a lot of rules and explaination. I dont wanna use multiple dialogs...
aww. I had the same yeah..

I just made it when you click "accept" it shows the next page
==============================================

PLEASE LOWER THE ANTI SPAM TIMER THANKS
Reply
#5

Format a string twice. One having half of your dialog's text, the other having the rest of it.
Reply
#6

I don't know about strings
Reply
#7

Use strcat. Its very useful. Example:

pawn Код:
new string[512];

string[0] = '\0';

strcat(string, "You whats up dog?", 512);
strcat(string, "\nYo dog a new line", 512);
strcat(string, "\nAnother new line huh?", 512);
strcat(string, "\n Yup", 512);
strcat(string, "\nGet outta' here man", 512);
strcat(string, "\nYou got it chief", 512);
Reply
#8

paste the message from the " " into this box and Calculate Characters. The limit is 1024.
pawn Код:
new
    Msg[ 1024 ];

strcat( Msg, "1/3 of the message" );
strcat( Msg, "2/3 of the message" );
strcat( Msg, "3/3 of the message" );

ShowPlayerDialog(...Msg...);
Reply
#9

It's probably too long becuase you have it all in one line, Split the lines with \n and \ then go to next line and keep going for example:


pawn Код:
ShowPlayerDialog(....................."Words word words \n words words words \
                                                        words words words words words \
                                                       words words"
);
It should be \ if not try / xD
Reply
#10

Quote:
Originally Posted by Abreezy
Посмотреть сообщение
It's probably too long becuase you have it all in one line, Split the lines with \n and \ then go to next line and keep going for example:


pawn Код:
ShowPlayerDialog(....................."Words word words \n words words words \
                                                        words words words words words \
                                                       words words"
);
It should be \ if not try / xD
Its not going to work this way, will give the same error.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)