Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
I don't think that would be possible.
Posts: 558
Threads: 59
Joined: Jun 2012
Reputation:
0
Note: TextDrawSetSelectable or PlayerTextDrawSetSelectable MUST be used first, to allow a textdraw to be selectable.
But that thing is not possible, only to click the textdraw..
Posts: 1,739
Threads: 53
Joined: Oct 2010
Reputation:
0
This is impossible in Pawn.
It is possible with plugins but this only gets the server's mouse position. This also doesn't work on linux.
Posts: 2,175
Threads: 235
Joined: Sep 2009
Reputation:
0
you have to setup a server-client plugin and "give" the .dll to all clients so you can get mouse cursor pos
Posts: 2,187
Threads: 81
Joined: Aug 2011
Reputation:
0
You can, I guess, Y Less had done something like this, using camera vectors, but it's difficult maths and inacccurate.
Posts: 67
Threads: 1
Joined: Aug 2015
Reputation:
0
Hmmm.. creating many squares of TextDraw's (almost transparent box) when you store to create positive, and you will call the square called onplayerClicktextdraw that coordinates!