Textdraw string problem.
#1

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?
Reply
#2

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..
Reply
#3

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);
Reply
#4

Too many ~'s crash textdraws.
Reply
#5

So there's no way i could pull of that many ~'s ?
Reply
#6

Nope, other than having multiple textdraws.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)