Detect paused player?
#1

Heey all,

How can i detect if someone is in options menu(esc) or is alt + tabbed?
And how can i add paused above his head?
Please help me with this.

Thanks Admigo
Reply
#2

well simply set a timer for lets say 10/15 seconds and save the player's position into a global variable
then the next 10/15 seconds if the player is in the same pos he probabbly [Alt/tabed]
need example ?
Reply
#3

I've just created the same thread...

Anyways; the answer'd be in there:

https://sampforum.blast.hk/showthread.php?tid=152645
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)