SA-MP Forums Archive
OnPlayerSelectPlayerTextdraw - 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: OnPlayerSelectPlayerTextdraw (/showthread.php?tid=602686)



OnPlayerSelectPlayerTextdraw - Whillyrez - 11.03.2016

Hi,
It's me again... It's possible to check out when a player select a textdraw? Like for example, I move my cursor throug the screen, and when my cursor is upon a textdraw, the callback is called.



Re: OnPlayerSelectPlayerTextdraw - NaS - 11.03.2016

It's only possible to detect if a player actually clicks a selectable texdraw, hovering and mouse position cannot be checked for.


Respuesta: OnPlayerSelectPlayerTextdraw - Whillyrez - 11.03.2016

And... What about Ipleomax textdraw creator? He detects the position of the mouse to move the textdraw where you want


Re: OnPlayerSelectPlayerTextdraw - Alf21 - 11.03.2016

I think it's realized with up, down, left and right keys. So one there are some TextdrawEditors using cursor position or all keys on the board but thats only available if you use the plugin localhost because of the plugins, .dll files so because of the extensions and not available on extern host for other players. The only way to do this is to hope that there will be an update for this or if you use an extension for SAMP like extra Clients which are not recommend :/ So the easiest way and i think the only way to get this is to make an suggestion into the Post of SAMP Suggestions in the folder General in this forum.


Re: Respuesta: OnPlayerSelectPlayerTextdraw - NaS - 11.03.2016

Quote:
Originally Posted by Whillyrez
Посмотреть сообщение
And... What about Ipleomax textdraw creator? He detects the position of the mouse to move the textdraw where you want
He uses a self-coded plugin which is only working for the PC the server is running on.
That's only useful for local tools, like a TextDraw- or Map-Editor.

Quote:
Originally Posted by Alf21
Посмотреть сообщение
I think it's realized with up, down, left and right keys. So one there are some TextdrawEditors using cursor position or all keys on the board but thats only available if you use the plugin localhost because of the plugins, .dll files so because of the extensions and not available on extern host for other players. The only way to do this is to hope that there will be an update for this or if you use an extension for SAMP like extra Clients which are not recommend :/ So the easiest way and i think the only way to get this is to make an suggestion into the Post of SAMP Suggestions in the folder General in this forum.
At least the detection of keybord keys is not going to be added anytime soon, there were several threads & posts about it.
I think that is also valid for the mouse, but I'm not sure on this part.


Respuesta: OnPlayerSelectPlayerTextdraw - Whillyrez - 11.03.2016

Where can I get that plugin?


Re: Respuesta: OnPlayerSelectPlayerTextdraw - NaS - 11.03.2016

Quote:
Originally Posted by Whillyrez
Посмотреть сообщение
Where can I get that plugin?
AFAIK the plugin is not released as such, you may ask iPLEOMAX for it.
There is also another plugin by someone else which does the exact same, search for it on the forums (I cant atm).


Respuesta: OnPlayerSelectPlayerTextdraw - Whillyrez - 11.03.2016

Can you let me know about the name or how I search this? Beacuse I had search it for a long time, and nothing...


Re: OnPlayerSelectPlayerTextdraw - czerwony03 - 11.03.2016

Everything is in this package:
https://sampforum.blast.hk/showthread.php?tid=376758
But function from this plugin can be used only if client has installed clienside plugin version.


Respuesta: Re: Respuesta: OnPlayerSelectPlayerTextdraw - Whillyrez - 11.03.2016

Quote:
Originally Posted by NaS
Посмотреть сообщение
AFAIK the plugin is not released as such, you may ask iPLEOMAX for it.
There is also another plugin by someone else which does the exact same, search for it on the forums (I cant atm).
Can you let me know about the name or how I search this? Beacuse I had search it for a long time, and nothing...
And thanks for the link, im going to see it