OnPlayerClickTextDraw??
#1

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!
Reply
#2

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
Reply
#3

use SelectTextDraw

https://sampwiki.blast.hk/wiki/SelectTextDraw
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)