SA-MP Forums Archive
Nothing Happens when player click the textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Nothing Happens when player click the textdraw (/showthread.php?tid=538802)



Nothing Happens when player click the textdraw - SWGamer - 24.09.2014

Description:Nothing Happens when player click the text-draw.

Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    if(_:clickedid != INVALID_TEXT_DRAW)
    {
        if(clickedid == ZA)
        {
           SendClientMessage(playerid,COLOR_BLUE,"STILL Work In Progress");
           return 1;
        }
        if(clickedid == CS)
        {
           SendClientMessage(playerid,COLOR_BLUE,"STILL Work In Progress");
           return 1;
        }
        if(clickedid == DR)
        {
           SendClientMessage(playerid,COLOR_BLUE,"STILL Work In Progress");
           return 1;
        }
	}
    return 1;
}