Jump to content
  • 0

pomoc Problém s klikáním na TextDraw


GT222

Dotaz

Ahoj , už delší dobu se snažim přijít včem je problém , udělal jsem 5 textdrawů na klikání myší, nevím proč ale když klikám na textdraw tak nekliká na ten určitý bod což myslím od začatků písmene a až do konce ale dá se klikat klidně o dost velkej kus dál nebo níže, můžu klikat i uplně mimo a třeba o větší kus dál, pak už to nejde , pořád nevím co je špatně, Děkuji moc..

   

    new Text:Textdraw21....

    ///

    Textdraw21 = TextDrawCreate(.....
    TextDrawBackgroundColor(Textdraw21, 255);
    TextDrawFont(Textdraw21, 1);
    TextDrawLetterSize(Textdraw21, 0.500000, 1.000000);
    TextDrawColor(Textdraw21, -1);
    TextDrawSetOutline(Textdraw21, 0);
    TextDrawSetProportional(Textdraw21, 1);
    TextDrawSetShadow(Textdraw21, 1);
    TextDrawSetProportional(Textdraw21, 1);
    TextDrawSetSelectable(Textdraw21, true);

 

    ///

    if(clickedid == Textdraw21)//Exit
    {
    SendClientMessage(playerid, BARVAONE, "TestTD5");
    }

 

   TextDrawShowForPlayer(playerid, Textdraw21);

   SelectTextDraw(playerid, 0xFF4040AA);

 

Mam jich více ale tady je ukázka jak to mam , jen by mě zajímalo co je špatně kde je chyba :(

Link to comment
Share on other sites

0 odpovědí na tuto otázku

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...