SA-MP Forums Archive
Function IsPlayerPaused - 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: Function IsPlayerPaused (/showthread.php?tid=362104)



Function IsPlayerPaused - pasha97 - 23.07.2012

Hello. Do you know any way i can check if player is playing or if player is in pause menu? I saw this in some servers, nso i think its possible


Re: Function IsPlayerPaused - ViniBorn - 23.07.2012

Many people use GetPlayerPos to do it ...


Re: Function IsPlayerPaused - Glint - 23.07.2012

You can use the OnPlayerPause and OnPlayerUnPause callbacks in this include (http://forum.sa-mp.com/showthread.ph...=OnPlayerPause) and also you can use this (http://forum.sa-mp.com/showthread.ph...=OnPlayerPause)