Textdraw string problem. - 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 problem. (
/showthread.php?tid=184868)
Textdraw string problem. -
Whizion - 22.10.2010
So it says on the wiki this:
String Length: 1024 characters.
And my samp program crashes after i show myself a texdraw that contains only 332 characters.
What am i doing wrong?
Re: Textdraw string problem. -
<Weponz> - 22.10.2010
Quote:
Originally Posted by Whizion
So it says on the wiki this:
String Length: 1024 characters.
And my samp program crashes after i show myself a texdraw that contains only 332 characters.
What am i doing wrong?
|
post the text draw code..
Re: Textdraw string problem. -
Whizion - 22.10.2010
Here you go:
pawn Код:
txtStatsInfo2 = TextDrawCreate(499, 250, "~y~Job: ~w~Icecream Man~n~~y~Skill: ~w~432/500~n~~y~Pay: ~w~14/60~n~~y~Pay cash: ~w~999999$~n~~y~Workbook: ~w~999999$~n~~y~Drugs: ~w~1000/1000~n~~y~Materials: ~w~1000/1000~y~Cigarettes: ~w~20/20~n~~n~~y~Warnings: ~w~0/5~n~~y~Praises: ~w~0/5~n~~y~Hours playing: ~w~4221~n~~y~Races won: ~w~122~n~~y~Today's date: ~w~20/10/10");
TextDrawSetShadow(txtStatsInfo2,0);
TextDrawLetterSize(txtStatsInfo2,0.3,0.9);
TextDrawTextSize(txtStatsInfo2,650.0,1.0);
TextDrawFont(txtStatsInfo2, 1);
TextDrawSetOutline(txtStatsInfo2, 1);
TextDrawAlignment(txtStatsInfo2,1);
TextDrawSetShadow(txtStatsInfo2,1);
TextDrawSetProportional(txtStatsInfo2,1);
TextDrawColor(txtStatsInfo2,COLOR_WHITE);
Re: Textdraw string problem. -
Finn - 22.10.2010
Too many ~'s crash textdraws.
Re: Textdraw string problem. -
Whizion - 22.10.2010
So there's no way i could pull of that many ~'s ?
Re: Textdraw string problem. -
Finn - 22.10.2010
Nope, other than having multiple textdraws.