Quantcast
Viewing all articles
Browse latest Browse all 18226

Clickable textdraw problem

Hi all!

I have a problem with clickable textdraws. I click textdraw, but don't react...

Code:

PhoneBtnMenu[playerid] = CreatePlayerTextDraw(playerid, 490.995941, 399.416625, "Menu");
        PlayerTextDrawLetterSize(playerid, PhoneBtnMenu[playerid], 0.156368, 0.929166);
        PlayerTextDrawTextSize(playerid, PhoneBtnMenu[playerid], 10.000000, 6.8827);
        PlayerTextDrawAlignment(playerid, PhoneBtnMenu[playerid], 2);
        PlayerTextDrawColor(playerid, PhoneBtnMenu[playerid], 255);
        //PlayerTextDrawUseBox(playerid, PhoneBtnMenu[playerid], 1);
        //PlayerTextDrawBoxColor(playerid, PhoneBtnMenu[playerid], 0);
        PlayerTextDrawSetShadow(playerid, PhoneBtnMenu[playerid], 0);
        PlayerTextDrawSetOutline(playerid, PhoneBtnMenu[playerid], 0);
        PlayerTextDrawBackgroundColor(playerid, PhoneBtnMenu[playerid], 255);
        PlayerTextDrawFont(playerid, PhoneBtnMenu[playerid], 1);
        PlayerTextDrawSetProportional(playerid, PhoneBtnMenu[playerid], 1);
        PlayerTextDrawSetShadow(playerid, PhoneBtnMenu[playerid], 0);
        PlayerTextDrawSetSelectable(playerid, PhoneBtnMenu[playerid], 1);
       

        PhoneBtnBack[playerid] = CreatePlayerTextDraw(playerid, 543.470092, 399.416625, "Back");
        PlayerTextDrawLetterSize(playerid, PhoneBtnBack[playerid], 0.156368, 0.929166);
        PlayerTextDrawTextSize(playerid, PhoneBtnBack[playerid], 10.000000, 6.8827);
        PlayerTextDrawAlignment(playerid, PhoneBtnBack[playerid], 2);
        PlayerTextDrawColor(playerid, PhoneBtnBack[playerid], 255);
        //PlayerTextDrawUseBox(playerid, PhoneBtnBack[playerid], 1);
        //PlayerTextDrawBoxColor(playerid, PhoneBtnBack[playerid], 0);
        PlayerTextDrawSetShadow(playerid, PhoneBtnBack[playerid], 0);
        PlayerTextDrawSetOutline(playerid, PhoneBtnBack[playerid], 0);
        PlayerTextDrawBackgroundColor(playerid, PhoneBtnBack[playerid], 255);
        PlayerTextDrawFont(playerid, PhoneBtnBack[playerid], 1);
        PlayerTextDrawSetProportional(playerid, PhoneBtnBack[playerid], 1);
        PlayerTextDrawSetShadow(playerid, PhoneBtnBack[playerid], 0);

What's the problem? Thanks

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>