Check if player is on ESC Menu - 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: Check if player is on ESC Menu (
/showthread.php?tid=486857)
Check if player is on ESC Menu -
NeroX98 - 10.01.2014
Hi guys...
Is there any function to check if is the player in the ESC Menu (Pause menu) or i must use the trick with onplayerupdate?
Re: Check if player is on ESC Menu -
offon - 10.01.2014
You can use this:
http://pastebin.com/hEvJb7FX
Re: Check if player is on ESC Menu -
BlackBank - 10.01.2014
There is no function or callback for it(In SA-MP, i haven't mentioned includes), so you can only do this with the OnPlayerUpdate trick.
EDIT: You could use this include to make it simpler:
https://sampforum.blast.hk/showthread.php?tid=380686
Re: Check if player is on ESC Menu -
Tamao_Serizawa - 11.01.2014
It is already added on the 0.3x