SA-MP Forums Archive
Client Crash: Textdraw - 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: Client Crash: Textdraw (/showthread.php?tid=282316)



Client Crash: Textdraw - Siedler - 10.09.2011

Why crash player client, if the textdraw contains ~480 - ~540 letters?
Font type is 1

TextDrawSetString(Textdraw[0], string[0]);

How to fix it? :>

Quote:
Textdraws
String Length: 1024 characters
Shown In A Single Client's Screen: 92
Created Serverwise: 2048



Re: Client Crash: Textdraw - Wesley221 - 10.09.2011

What information does string[0] contain


Re: Client Crash: Textdraw - =WoR=Varth - 10.09.2011

Quote:

Important Note: If you use color codes (such as ~R~ ~G~) beyond 255th character the client will crash trying to display the textdraw.

Did you?


Re: Client Crash: Textdraw - andrew4699 - 10.09.2011

Try 256.


AW: Client Crash: Textdraw - Siedler - 10.09.2011

thanks, solved :>


Re: Client Crash: Textdraw - =WoR=Varth - 10.09.2011

Create multiple textdraw instead only one.