long line short
#1

Hello everyone, am wondering how can I make a long line which won't compile and give an error, to something which will fit in the script? thanks in advance.
Reply
#2

You mean comment in your script? which the script wouldn't read it? use // :
pawn Код:
//This won't be counted as a script and it's just a comment.
Reply
#3

Quote:
Originally Posted by alinategh
Посмотреть сообщение
You mean comment in your script? which the script wouldn't read it? use // :
pawn Код:
//This won't be counted as a script and it's just a comment.
Nope, I mean this error:

pawn Код:
C:\Users\xxxx\Desktop\Untitled.pwn(92) : error 075: input line too long (after substitutions)
How to fix that?
Reply
#4

Use strcat.
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Use strcat.
Like he said use strcat or else you can use this

pawn Код:
ShowPlayerDialog(playerid,dialogid,dialogstyle,"",".................................................","",""); // too long use the under

ShowPlayerDialog(playerid,dialogid,dialogstyle,"","............................\
                                              ..........................."
,"","");// I guess !
Reply
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Use strcat.
Alrighty, I'll start trying asap! Thank you
Reply
#7

Quote:
Originally Posted by xganyx
Посмотреть сообщение
Like he said use strcat or else you can use this

pawn Код:
ShowPlayerDialog(playerid,dialogid,dialogstyle,"",".................................................","",""); // too long use the under

ShowPlayerDialog(playerid,dialogid,dialogstyle,"","............................\
                                              ..........................."
,"","");// I guess !
Looks interesting, I'll make sure to try that out aswell.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)