Long strings in dialogs - 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)
+--- Thread: Long strings in dialogs (
/showthread.php?tid=608054)
Long strings in dialogs -
ScIrUsna - 27.05.2016
Hi,
How to split long string in dialog? i have variable and i show it in dialog like
Код:
new Message[ MAX_PLAYERS ][ 500 ];
if it is longer than I specify how many characters can by in one line then carried over to the next line
Re: Long strings in dialogs -
]Rafaellos[ - 27.05.2016
You can use strcat. Also why not
pawn Код:
new string[ Your max output legth ];
Re: Long strings in dialogs -
ScIrUsna - 27.05.2016
No, i want to split
Re: Long strings in dialogs -
Dayrion - 27.05.2016
Check this.
https://sampwiki.blast.hk/wiki/Limits
And, honestly I don't know because you need to use strcat for long lines! I think the size is more longer than SendCliebtMessage/