ESC - OnPlayerClickPlayerTextDraw
#1

Hello there,

I want that the player textdraw is going to be hidden after pressing Escape (ESC) heres the code under OnPlayerClickPlayerTextDraw

pawn Код:
if(ShowingStats[playerid])
    {
        if(playertextid == Textdraw28)
        {
            HidePlayerStatusTextDraws(playerid);
            CancelSelectTextDraw(playerid);
            SendClientMessage(playerid, COLOR_YELLOW, "The textdraw was canceled successfuly!.");
            ShowingStats[playerid] = 0;
            return 1;
        }
        else
        {
            HidePlayerStatusTextDraws(playerid);
            CancelSelectTextDraw(playerid);
            SendClientMessage(playerid, COLOR_YELLOW, "The textdraw was canceled successfuly!.");
        }
        return 1;
    }
Thanks in advance!
Reply


Messages In This Thread
ESC - OnPlayerClickPlayerTextDraw - by Natric - 13.02.2014, 15:47
Re: ESC - OnPlayerClickPlayerTextDraw - by SniperArmy - 13.02.2014, 15:49
Re: ESC - OnPlayerClickPlayerTextDraw - by Natric - 13.02.2014, 15:50
Re: ESC - OnPlayerClickPlayerTextDraw - by SniperArmy - 13.02.2014, 15:54
Re: ESC - OnPlayerClickPlayerTextDraw - by Natric - 13.02.2014, 15:56
Re: ESC - OnPlayerClickPlayerTextDraw - by SniperArmy - 13.02.2014, 15:59
Re: ESC - OnPlayerClickPlayerTextDraw - by Natric - 13.02.2014, 16:01
Re: ESC - OnPlayerClickPlayerTextDraw - by Konstantinos - 13.02.2014, 16:07
Re: ESC - OnPlayerClickPlayerTextDraw - by Kyance - 13.02.2014, 16:07
Re: ESC - OnPlayerClickPlayerTextDraw - by Natric - 13.02.2014, 16:19

Forum Jump:


Users browsing this thread: 3 Guest(s)