"ESC" button
#1

How I can check:
Код:
if(Player click ESC)
??
Reply
#2

No one knows?
Reply
#3

You can't check it directly. These are the only keys you can check: https://sampwiki.blast.hk/wiki/Keys

However, you can check if a player stops updating. If OnPlayerUpdate no longer gets called you know he pressed ESC or tabbed out.
Reply
#4

If you mean when the player pauses you can use this: https://sampforum.blast.hk/showthread.php?tid=380686
Reply
#5

Quote:
Originally Posted by Stinged
Посмотреть сообщение
If you mean when the player pauses you can use this: https://sampforum.blast.hk/showthread.php?tid=380686
I made some textdraws with TextDrawSetSelectable. And when player click "ESC" mouse just gone, but textdraws still showing. I need that if player press "ESC" - hide textdraws.
Maybye someone know to hide it?

P.S. Sorry for my bad english
Reply
#6

https://sampforum.blast.hk/showthread.php?tid=328195
Reply
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Sorry but I don't understand it.
Can u show me code?
Reply
#8

some one?
Reply
#9

I pasted the wrong url. It says how to here: https://sampforum.blast.hk/showthread.php?tid=428375
Reply
#10

Now understand Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)