How to detect if player is in menu/tabbed ?
#1

I have one problem with my gang capture zones. When a player is in the menu or tabbed out of the game they can remain in the checkpoint and capture the zone. How can I detect if they are in the menu or tabbed out - How can I prevent this? Any examples would be great! I've been scripting my GM for nearly 2 years and I can't remember whether I put in an AFK system but I'm pretty sure I didn't and this is the standard thing with SA-MP.

Would it be PLAYER_STATE_NONE?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)