SA-MP Forums Archive
[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)
+--- Thread: [Question] How do I know if the player is in PAUSE MENU? (/showthread.php?tid=548389)



[Question] How do I know if the player is in PAUSE MENU? - GuyYahood1 - 29.11.2014

How do I know if the player is in PAUSE MENU?


Re : [Question] How do I know if the player is in PAUSE MENU? - StreetRP - 29.11.2014

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

PHP код:
public OnPlayerOpenPauseMenu(playerid



Re: [Question] How do I know if the player is in PAUSE MENU? - GuyYahood1 - 29.11.2014

No client plugin, I need tutorial please.


Re : [Question] How do I know if the player is in PAUSE MENU? - StreetRP - 29.11.2014

He works without client


Re: [Question] How do I know if the player is in PAUSE MENU? - GuyYahood1 - 29.11.2014

Okay, and there's no other way to do it?


Re: [Question] How do I know if the player is in PAUSE MENU? - GuyYahood1 - 29.11.2014

I tried your plugin, and this not working..


Re : [Question] How do I know if the player is in PAUSE MENU? - StreetRP - 29.11.2014

Can i show you'r code ? , You write include in the top of you'r script ?


Re: [Question] How do I know if the player is in PAUSE MENU? - GuyYahood1 - 29.11.2014

Quote:

[18:38:57] [join] Guy has joined the server (0:127.0.0.1)
[18:38:57] [SA-MP+] Player connecting, has the SA-MP+ plugin: 0
[18:41:44] [part] Guy has left the server (0:1)
[18:42:45] [SA-MP+] Unhandled connection accepted: 127.0.0.1:55896
[18:42:45] [SA-MP+] Unknown packet received: 19, local: 0
[18:42:49] Incoming connection: 127.0.0.1:55909
[18:42:49] [join] Guy has joined the server (0:127.0.0.1)
[18:42:49] [SA-MP+] Player connecting, has the SA-MP+ plugin: 1
[18:43:00] Guy On Menu
What can I do?
I don't want Client Plugin my bro.


Re: [Question] How do I know if the player is in PAUSE MENU? - Lordzy - 29.11.2014

You cannot currently detect if player has opened pause menu without any client modification. But it's possible to know if player is inactive from game because OnPlayerUpdate doesn't get called when player is inactive. If you search 'OnPlayerPause' or something similar, you may find some codes.


Re: [Question] How do I know if the player is in PAUSE MENU? - GuyYahood1 - 29.11.2014

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
You cannot currently detect if player has opened pause menu without any client modification. But it's possible to know if player is inactive from game because OnPlayerUpdate doesn't get called when player is inactive. If you search 'OnPlayerPause' or something similar, you may find some codes.
I did, and didnt find anything.