Textdraw string over 900 crashes the player. - 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: Textdraw string over 900 crashes the player. (
/showthread.php?tid=104471)
Textdraw string over 900 crashes the player. -
Danny_Costelo - 24.10.2009
According to the SA:MP wiki, the new textdraw string limit is 1024, when using a string over 900, the server crashes. In testcmds.pwn, the textdraw was only tested with 750 chars.
Re: Textdraw string over 900 crashes the player. -
Latino_Killa - 24.10.2009
Kye noted that some of crashes caused by textdraws was due to a formatting limit.
Try removing some formatting (colors, newlines, etc) or splitting it up into multiple textdraws.
edit: i found the quote
[quote="Kye"]
- Bug report: Long TextDraws will crash the client. [This problem isn't well understood yet. In the npc_record fs /longtd command I create a 670 character textdraw which does not crash. Ones that do crash are either exceeding some formating code limit or have dimensions wrong for their text.]