The Oracle Posted July 23, 2009 Author Share Posted July 23, 2009 (client)In modGlobals add anywhere:```'Inactive Mod by The OraclePublic InactiveMins as Integer```Now, create a timer on frmMirage and name it tmrActive. Set the interval to 60000.Now, you must put this code anywhere you want the inactive timer to "activate". Doing this will make the timer reset (making them not log off automatically).```InactiveMins = 0```Double click on the timer and add this code:```InactiveMins = InactiveMins + 1 If InactiveMins >= 10 Then InGame = False End If``` Link to comment Share on other sites More sharing options...
kris_hole Posted August 13, 2009 Share Posted August 13, 2009 well it should work?i dont see why not. Link to comment Share on other sites More sharing options...
anasky Posted October 19, 2009 Share Posted October 19, 2009 @The:> Now, create a timer on frmMirage and name it tmrActive. Set the interval to 60000.> > Now, you must put this code anywhere you want the inactive timer to "activate". Doing this will make the timer reset (making them not log off automatically).> > ```> InactiveMins = 0> > ```Appart from this part, it should work.But, doing the thing above will make him set back to 0, which you should place in every part where you do something, and not where you want it to 'activate'.Looks fine for the rest. Link to comment Share on other sites More sharing options...
anasky Posted October 19, 2009 Share Posted October 19, 2009 @The:> Now, create a timer on frmMirage and name it tmrActive. Set the interval to 60000.> > Now, you must put this code anywhere you want the inactive timer to "activate". Doing this will make the timer reset (making them not log off automatically).> > ```> InactiveMins = 0> > ```Appart from this part, it should work.But, doing the thing above will make him set back to 0, which you should place in every part where you do something, and not where you want it to 'activate'.Looks fine for the rest. Link to comment Share on other sites More sharing options...
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