[Question] How do I know if the player is in PAUSE 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Question] How do I know if the player is in PAUSE MENU? (
/showthread.php?tid=108091)
[Question] How do I know if the player is in PAUSE MENU? -
BlueRey - 12.11.2009
How do I know if the player is in PAUSE MENU?
Re: [Question] How do I know if the player is in PAUSE MENU? -
Gergo1352 - 12.11.2009
If OnPlayerUpdate returns 0, then the player is in the pause menu.
Re: [Question] How do I know if the player is in PAUSE MENU? -
BlueRey - 12.11.2009
I tried, not working.
Re: [Question] How do I know if the player is in PAUSE MENU? -
JonyAvati - 12.11.2009
So, it should be like this:
if(OnPlayerUpdate == 0) ?? Lol
Re: [Question] How do I know if the player is in PAUSE MENU? -
BlueRey - 12.11.2009
pawn Code:
if(OnPlayerUpdate(playerid) == 0) { ... }
yes
Re: [Question] How do I know if the player is in PAUSE MENU? -
JakeB - 12.11.2009
Quote:
Originally Posted by Gergo1352
If OnPlayerUpdate returns 0, then the player is in the pause menu.
|
LOL.
Check out ******'s OnPlayerUpdate script.