Textdraws - 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: Textdraws (
/showthread.php?tid=275082)
Textdraws -
Arcanize - 08.08.2011
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
Re: Textdraws -
Sascha - 08.08.2011
show us your CreateTextdraw and all the following stuff that belongs to it
Re: Textdraws -
Arcanize - 09.08.2011
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.
Re: Textdraws -
Grim_ - 09.08.2011
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.
Re: Textdraws -
Arcanize - 09.08.2011
I am confused, because I don't know what is the problem. Streamer isn't.
Re: Textdraws -
Sascha - 09.08.2011
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
-
Arcanize - 09.08.2011
Код:
//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