FatalTerror Posted October 29, 2014 Share Posted October 29, 2014 (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 October 29, 2014 by Guest Link to comment
FatalTerror Posted October 29, 2014 Author Share Posted October 29, 2014 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 ? Link to comment
Arsilex Posted October 29, 2014 Share Posted October 29, 2014 onClientMinimize onClientRestore Link to comment
FatalTerror Posted October 29, 2014 Author Share Posted October 29, 2014 onClientMinimizeonClientRestore Thanks ! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now