SA-MP Forums Archive
SelectObject Esc Response??? - 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: SelectObject Esc Response??? (/showthread.php?tid=634335)



SelectObject Esc Response??? - qmnty - 17.05.2017

What's the callback for SelectObject when client is pressed Esc key or exit from SelectObject?

Thanks in advance


Re: SelectObject Esc Response??? - Kane - 17.05.2017

https://sampwiki.blast.hk/wiki/OnPlayerEditObject

?


Re: SelectObject Esc Response??? - qmnty - 17.05.2017

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
It's for EditObject and can't for SelectObject


Re: SelectObject Esc Response??? - JaKe Elite - 17.05.2017

https://sampwiki.blast.hk/wiki/OnPlayerSelectObject


Re: SelectObject Esc Response??? - qmnty - 17.05.2017

Quote:
Originally Posted by JaKe Elite
Посмотреть сообщение
It can only be when selecting objects, but can't do that when exit from SelectObject


Re: SelectObject Esc Response??? - DTV - 17.05.2017

Arthur Kane is right, OnPlayerEditObject handles when the client presses esc.

https://sampwiki.blast.hk/wiki/ObjectEditionResponesTypes


Re: SelectObject Esc Response??? - qmnty - 17.05.2017

Quote:
Originally Posted by DTV
Посмотреть сообщение
Arthur Kane is right, OnPlayerEditObject handles when the client presses esc.

https://sampwiki.blast.hk/wiki/ObjectEditionResponesTypes
Yes, it can handle when the player presses the esc key, but can only be used for EditObject not for SelectObject..

I've test it before

by the way, thanks all for reply my thread...