Textdraw help :( - 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 help :( (
/showthread.php?tid=473772)
Textdraw help :( -
Vege - 04.11.2013
So, I scripted my class selection for my CnR GM but I have made a list of classes...
but the hover color of my textdraws becme white in the list if I move my mouse to the end f the list...
All the textdraws become white even when I am not hovering over them....
pawn Код:
TextDrawShowForPlayer(playerid, Textdraw[0]);
TextDrawShowForPlayer(playerid, Textdraw[1]);
TextDrawShowForPlayer(playerid, Textdraw[2]);
TextDrawShowForPlayer(playerid, Textdraw[3]);
TextDrawShowForPlayer(playerid, Textdraw[4]);
coptd(playerid);
cop2td(playerid);
cop3td(playerid);
robtd(playerid);
rob2td(playerid);
rob3td(playerid);
TextDrawShowForPlayer(playerid, Textdraw[11]);
TextDrawShowForPlayer(playerid, Textdraw[12]);
TextDrawShowForPlayer(playerid, Textdraw[13]);
TextDrawShowForPlayer(playerid, Textdraw[14]);
these are
pawn Код:
coptd(playerid);
cop2td(playerid);
cop3td(playerid);
robtd(playerid);
rob2td(playerid);
rob3td(playerid);
just simple stocks i made to test something their code only consists of ShowTextDrawForPlayer.
Any help to finish that all list becomes white when I aint hovering over them?
Re: Textdraw help :( -
Pottus - 04.11.2013
You've fucked up your TextDrawTextSize() on one or more Textdraws.
Re: Textdraw help :( -
||123|| - 04.11.2013
I had this issue too. I don't what's wrong or maybe it's a bug in the new SAMP update. The best thing to do is to change the TextDrawAllignment to 1 if it's 2 or 2 if it's 1. Then move the textdraw's x axis back to it's normal position, where it was on the first place.