SA-MP Forums Archive
About make the phrase longer... - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: About make the phrase longer... (/showthread.php?tid=159342)



About make the text longer... - samuel_hamza - 13.07.2010

Well, Whenever I type a long text, it show just a half of it, and that's suck.. I just want to make it longer, like 2 ligne, or something, anything would be appreciate, thank you...


Re: About make the phrase longer... - -Rebel Son- - 13.07.2010

I'm not sure you can change the original string for the text in the server. But for other modules like a textdraw and such, You just increase your string size you have set for that Message.

a simpler thing to do is this.

pawn Код:
#define MAX_STRING 256
Top of script.

and on your lines you use a string. just put
pawn Код:
new string[MAX_STRING];
Then it Only uses the amount you use for the string.


Re: About make the phrase longer... - samuel_hamza - 13.07.2010

Can I use #define MAX_STRING 512 or something ?


Re: About make the phrase longer... - -Rebel Son- - 13.07.2010

Sure can, but 512 is alot.


Re: About make the phrase longer... - bigcomfycouch - 13.07.2010

max input is 128. the max string size for text should be 128.