SA-MP Forums Archive
how to split a string every 30 lines? - 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: how to split a string every 30 lines? (/showthread.php?tid=664919)



how to split a string every 30 lines? - CobraWoW - 16.03.2019

Hi guys, how can i split the string every 30 lines with ~N~
ex: the string is 60 lines long, how to add a "~N~" between line 30 and line 31
so every 30 lines add "~N~"


Re: how to split a string every 30 lines? - Jaxson - 16.03.2019

Simply use this function:
https://sampwiki.blast.hk/wiki/Strins

That's used to insert a string into a string.