Kazafka Posted January 17, 2020 Posted January 17, 2020 I mean, does anyone have a script, that checks if player is afk? Like, you know it is (kinda infinite) loop, and checks if player is afk. Any advance?
Moderators IIYAMA Posted January 17, 2020 Moderators Posted January 17, 2020 5 minutes ago, VaporZ said: you know it is (kinda infinite) loop, and checks if player is afk. See this function + example: https://wiki.multitheftauto.com/wiki/GetPlayerIdleTime 1 1 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Kazafka Posted January 17, 2020 Author Posted January 17, 2020 1 minute ago, IIYAMA said: See this function + example: https://wiki.multitheftauto.com/wiki/GetPlayerIdleTime And that's it? That's it? Looping timers is that simple? Goddamnit... thanks btw! 1
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