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: OnPlayerClickTextDraw?? (
/showthread.php?tid=387645)
OnPlayerClickTextDraw?? -
jeremy8810 - 25.10.2012
Hey guys,
I've got a question with OnPlayerClickTextdraw.
I made 3 nice textdraws for admins: Ban, Warn, Kick that opens a dialog and you only have to fill in the playerid / name.
So the thing is: when you click on Ban or warn or Kick -textdraw, that it have to open a dialog.
I used:OnPlayerClickTextdraw like here:
https://sampwiki.blast.hk/wiki/OnPlayerClickTextDraw
But if you are ingame, you don't have your mouse to click on any textdraw, so why is there a public funtion for this^^? why is it used to be for? Or how can I solve my prob?
Also when I only press T (chatbox AND mouse is showing. and I press on the textdraw, its not working....
Did I understand the function wrong?
Plz let me know thanks!
Re: OnPlayerClickTextDraw?? -
jeremy8810 - 25.10.2012
Quote:
Originally Posted by ******
Let me introduce to the wiki:
https://sampwiki.blast.hk/
Basically every native function is documented there and will answer all your questions about this.
|
As I said I allready looked there if you mean this:
https://sampwiki.blast.hk/wiki/OnPlayerClickTextDraw
Re: OnPlayerClickTextDraw?? -
Kirollos - 25.10.2012
use SelectTextDraw
https://sampwiki.blast.hk/wiki/SelectTextDraw