SA-MP Forums Archive
TextDraw fonts is gone crazy - 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: TextDraw fonts is gone crazy (/showthread.php?tid=399295)



TextDraw fonts is gone crazy - ancezas - 13.12.2012

Hello everyone i have an intresting problem in my script when i type this code:

Код:
 		Titel[i] = TextDrawCreate(65.000000, 133.000000, "Informacija");

		TextDrawAlignment(Titel[i], 1);
		TextDrawBackgroundColor(Titel[i], 255);
		TextDrawFont(Titel[i], 0);
		TextDrawLetterSize(Titel[i], 0.519999, 1.700000);
		TextDrawColor(Titel[i], -1);
		TextDrawSetOutline(Titel[i], 1);
		TextDrawSetProportional(Titel[i], 1);
		
		TitelE[i] = TextDrawCreate(70.000000, 133.000000, "Klaida");

		TextDrawAlignment(Titel[i], 1);
		TextDrawBackgroundColor(Titel[i], 255);
		TextDrawFont(Titel[i], 0);
		TextDrawLetterSize(Titel[i], 0.519999, 1.700000);
		TextDrawColor(Titel[i], -1);
		TextDrawSetOutline(Titel[i], 1);
		TextDrawSetProportional(Titel[i], 1);
And the word "Informacija" and "Klaida" has the same paramethers as you can see by this code, and font is in both type 0 but when i try it in server the word "informacija" is in font type 0 but the word "Klaida" is in type 1 i can even imagen whear is the prob, can someone help me?

sorry for bad english


Re: TextDraw fonts is gone crazy - LarzI - 13.12.2012

- REMOVED -

Edit: Misundestood.


Re: TextDraw fonts is gone crazy - DaRk_RaiN - 13.12.2012

pawn Код:
Titel[i] = TextDrawCreate(65.000000, 133.000000, "Informacija");

        TextDrawAlignment(Titel[i], 1);
        TextDrawBackgroundColor(Titel[i], 255);
        TextDrawFont(Titel[i], 0);
        TextDrawLetterSize(Titel[i], 0.519999, 1.700000);
        TextDrawColor(Titel[i], -1);
        TextDrawSetOutline(Titel[i], 1);
        TextDrawSetProportional(Titel[i], 1);
       
        TitelE[i] = TextDrawCreate(70.000000, 133.000000, "Klaida");

        TextDrawAlignment(TitelE[i], 1);
        TextDrawBackgroundColor(TitelE[i], 255);
        TextDrawFont(TitelE[i], 0);
        TextDrawLetterSize(TitelE[i], 0.519999, 1.700000);
        TextDrawColor(TitelE[i], -1);
        TextDrawSetOutline(TitelE[i], 1);
        TextDrawSetProportional(TitelE[i], 1);



Re: TextDraw fonts is gone crazy - ancezas - 13.12.2012

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
pawn Код:
Titel[i] = TextDrawCreate(65.000000, 133.000000, "Informacija");

        TextDrawAlignment(Titel[i], 1);
        TextDrawBackgroundColor(Titel[i], 255);
        TextDrawFont(Titel[i], 0);
        TextDrawLetterSize(Titel[i], 0.519999, 1.700000);
        TextDrawColor(Titel[i], -1);
        TextDrawSetOutline(Titel[i], 1);
        TextDrawSetProportional(Titel[i], 1);
       
        TitelE[i] = TextDrawCreate(70.000000, 133.000000, "Klaida");

        TextDrawAlignment(TitelE[i], 1);
        TextDrawBackgroundColor(TitelE[i], 255);
        TextDrawFont(TitelE[i], 0);
        TextDrawLetterSize(TitelE[i], 0.519999, 1.700000);
        TextDrawColor(TitelE[i], -1);
        TextDrawSetOutline(TitelE[i], 1);
        TextDrawSetProportional(TitelE[i], 1);
I'm such an idiot, thx very much