25.10.2012, 17:53
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!
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!