Jump to content

[Resolved] isMTAWindowActive


FatalTerror

Recommended Posts

Posted (edited)

Greetings,

I wanna know if there is any way to detect if the player lost the focus with the MTA window (game). The function isMTAWindowActive returns true if we have the ESC menu active but not the game itself.

Thanks.

Edited by Guest
Posted
getPlayerIdleTime?

That doesn't help me enough.

To explain a bit more, I've a client render who check the cursor position every frame. The problem is: even if I'm in another window and lost the focus, it still check for the cursor position in the MTA window. Do you understand ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...