Problem with clickable textdraw
#1

Hey, I am unable to click on the textdraw, it shows up but once I hover over it with my mouse nothing happens same result once I try clicking on it. Im not sure what is wrong with it
pawn Код:
//under ongamemodeinit
    Textdraw0 = TextDrawCreate(219.000000, 176.000000, "Assault Rifle");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 1);
    TextDrawLetterSize(Textdraw0, 0.500000, 1.700000);
    TextDrawColor(Textdraw0, -1);
    TextDrawSetOutline(Textdraw0, 0);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawSetShadow(Textdraw0, 1);
    //TextDrawUseBox(Textdraw0, 1);
    //TextDrawBoxColor(Textdraw0, 255);
    TextDrawTextSize(Textdraw0, 319.000000, 0.000000);
    TextDrawSetSelectable(Textdraw0, 1);
//under onplayerspawn
    TextDrawShowForPlayer(playerid, Textdraw0);
    SelectTextDraw(playerid, 0xA3B4C5FF);
Reply


Messages In This Thread
Problem with clickable textdraw - by TonyII - 27.01.2014, 14:10
Re: Problem with clickable textdraw - by Sawalha - 27.01.2014, 14:35

Forum Jump:


Users browsing this thread: 1 Guest(s)