how to check player pause
#1

hi guys i am working on a tdm game mode , and there are capture zones on it , i want to if a player pause [esc / go on windows or even lagged] server kick him [if he was in capture zone and tryed to capture that] i just want to know how should i detect the pause player i used inc's but not worked !
Reply
#2

https://gist.github.com/RogueDrifter...1b9d5739b8409e
Reply
#3

Looks familiar
Reply
#4

Thnx , but what's the difference between IsPlayerPaused(playerid); and IsPlayerAFK(playerid); ??
Reply
#5

Reply
#6

:/ ??
Reply
#7

Quote:
Originally Posted by PoniStar
View Post
:/ ??
AFK = Away From Keyboard
Imagine a player who goes in bathroom without pausing the game by hitting ESC, that is what OnPlayerAFK is for. OnPlayerPause use is to detect if a player pauses the game pressing ESC instead.
Reply
#8

now i get it ! thnx worked <3 +reped
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)