Textdraw help :(
#1

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

You've fucked up your TextDrawTextSize() on one or more Textdraws.
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)