"OnPlayerCancelSelectTextDraw" - or something like this.
#1

Hello guys

Well, finally i found the bug at clickable textdraws, but now I have another problem. How can i make something, like: when i will press ESC button, to return player (me) at a position? I know that doesn't exists "OnPlayerCancelSelectTextDraw" function ... is there something (function ... ) to do my idea?

Thanks.
Reply
#2

i searched alot there is no Function like that, still you can make your own or you can detect if the textdraw is hidden from player, then SetPlayer's Pos..
Reply
#3

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

Quote:

This callback is called when a player clicks on a textdraw or cancel the select mode(ESC).

Reply
#4

pawn Код:
if(clickedid == Text:INVALID_TEXT_DRAW)
equal to ESC
Reply
#5

Quote:
Originally Posted by [ISS]jumbo
Посмотреть сообщение
pawn Код:
if(clickedid == Text:INVALID_TEXT_DRAW)
equal to ESC
Yes, works ! Thank you .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)