Textdraws
#1

Hey!

I have a problem with my Textdraws. In script they are like: "Kiirus:, Bensiin:". But In game they are Kii ru s :, Bens i i n:

What is wrong?

Thanks,
Arca
Reply
#2

show us your CreateTextdraw and all the following stuff that belongs to it
Reply
#3

hm, I don't think that TextDrawCreate is the problem. Textdraw's worked before, but when I installed Double - O textdraw streamer, then they went fuc*** up.
Reply
#4

Then you can probably come to the conclusion that something in that script is causing the textdraws to mess up? Reply in that topic and ask for assistance. You may be required to send some code to Double-O-Stream so he can narrow down the specific problem you're having, if it hasn't already been reported.
Reply
#5

I am confused, because I don't know what is the problem. Streamer isn't.
Reply
#6

Quote:
Originally Posted by Arcanize
Посмотреть сообщение
I am confused, because I don't know what is the problem. Streamer isn't.
and without any piece of code we can't help you at all
Reply
#7

Код:
//Textdraw 1
	Textdraw1 = TextDrawCreate(5.000000,426.000000,"    www.Nebulos.net");
	TextDrawAlignment(Textdraw1,0);
	TextDrawBackgroundColor(Textdraw1,0x000000ff);
	TextDrawFont(Textdraw1,1);
	TextDrawLetterSize(Textdraw1,0.400000,1.200000);
	TextDrawColor(Textdraw1,0xffffffff);
	TextDrawSetOutline(Textdraw1,1);
	TextDrawSetProportional(Textdraw1,0);
	TextDrawSetShadow(Textdraw1,6);
	
	for(new i = 0; i < MAX_PLAYERS; i++)
  	{
		txtK6ht[i] = TextDrawCreate(605.000000, 24.000000, "_");
		TextDrawAlignment(txtK6ht[i], 3);
		TextDrawBackgroundColor(txtK6ht[i], 255);
		TextDrawFont(txtK6ht[i], 1);
		TextDrawLetterSize(txtK6ht[i], 0.500000, 1.000000);
		TextDrawColor(txtK6ht[i], -1);
		TextDrawSetOutline(txtK6ht[i], 0);
		TextDrawSetProportional(txtK6ht[i], 0);
		TextDrawSetShadow(txtK6ht[i], 1);
		
  		Speed[i][ShowSpeed] = 1;

  		Speed[i][Speedom] = TextDrawCreate(530.000000,400.000000,"x)");
		TextDrawTextSize(Speed[i][Speedom],625.000000,0.000000);
		TextDrawAlignment(Speed[i][Speedom],0);
		TextDrawBackgroundColor(Speed[i][Speedom],0x000000FF);
		TextDrawFont(Speed[i][Speedom],2);
		TextDrawLetterSize(Speed[i][Speedom],0.25,1.0);
		TextDrawColor(Speed[i][Speedom],0xFFFFFFFF);
		TextDrawSetOutline(Speed[i][Speedom],1);
		TextDrawSetProportional(Speed[i][Speedom],0);
		TextDrawSetShadow(Speed[i][Speedom],1);

		SetTimerEx("Speedometer",500,true,"i",i);
	}
Sorry about double, but i remover the Streamer. The textdraws went OK.

But server will crash.

[23:53:35] The server has been crashed by TextDrawCreate at address 0xadb80 in gamemodes/....

[17:30:44] The server has been crashed by TextDrawCreate at address 0xb0ea8 in gamemodes/Roleplay.amx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)