SA-MP Forums Archive
[Q] OnPlayerClickTextDraw - 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: [Q] OnPlayerClickTextDraw (/showthread.php?tid=328848)



[Q] OnPlayerClickTextDraw - BuLLeT[LTU] - 26.03.2012

Hello, I wanted to know if this function is work with player textdraws or no?


Re: [Q] OnPlayerClickTextDraw - ikkentim - 26.03.2012

No.

Use this instead:
https://sampwiki.blast.hk/wiki/OnPlayerClickPlayerTextDraw


Re : [Q] OnPlayerClickTextDraw - Ultrascipter - 26.03.2012

One exemple code:



Код:
if(strcmp(cmd, "/choosetextdraw", true) == 0) // Par Jimmyy =DD
{
    if(IsPlayerConnected(playerid))
    {
    	SelectTextDraw(playerid, 0xFFAADD00);
    }
    return 1;
}
After this command, you can click on all Textdraws selectable. TextDrawSetSelectable(TextDrawName, 1);