Text formatting - 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: Text formatting (
/showthread.php?tid=132400)
Text formatting -
MrLeNy - 07.03.2010
Hello. I created text draw, and I want it to do so, eg after 20 characters gave me ~n~ that is to make the text appear further away. And here I am asked how to do it?
Re: Text formatting -
¤Adas¤ - 07.03.2010
Try this:
pawn Код:
for(new i; i<strlen(string); i++) if(!(i % 20)) strins(string, "~n~", i, sizeof(string));
I hope, it will help you.