Clickable TextDraw help!
#9

pawn Code:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    if(clickedid == Textdraw5)
    {
        TextDrawHideForPlayer(playerid, Textdraw0);
        TextDrawHideForPlayer(playerid, Textdraw1);
        TextDrawHideForPlayer(playerid, Textdraw2);
        TextDrawHideForPlayer(playerid, Textdraw3);
        TextDrawHideForPlayer(playerid, Textdraw4);
        TextDrawHideForPlayer(playerid, Textdraw5);
        CancelSelectTextDraw(playerid); // Did you add this line here?
    }
    return 1;
}
Reply


Messages In This Thread
Clickable TextDraw help! - by Tuntun - 09.09.2013, 15:27
Re: Clickable TextDraw help! - by Dragonsaurus - 09.09.2013, 15:55
Re: Clickable TextDraw help! - by Tuntun - 09.09.2013, 16:25
Re: Clickable TextDraw help! - by Dragonsaurus - 09.09.2013, 16:28
Re: Clickable TextDraw help! - by Tuntun - 09.09.2013, 16:45
Re: Clickable TextDraw help! - by Dragonsaurus - 09.09.2013, 16:50
Re: Clickable TextDraw help! - by Tuntun - 09.09.2013, 16:54
Re: Clickable TextDraw help! - by Tuntun - 09.09.2013, 17:18
Re: Clickable TextDraw help! - by Dragonsaurus - 09.09.2013, 17:33
Re: Clickable TextDraw help! - by Tuntun - 09.09.2013, 17:34

Forum Jump:


Users browsing this thread: 2 Guest(s)