Diddl3s

How to check the Login Count?

3 posts in this topic

How can I check the amount of logins from the Database in order to run a script at say for example the 100th login?

if (_LoginCount <= 100) then {

** Script **

}

 

Many thanks for any help at all!

 

Share this post


Link to post
Share on other sites

You will have to fetch the information from the database. The best way to do it is probably to make your own ini file for extDB2 and then call the functions. Grabbing just the login data gets pretty easy then. There is quick example in DMS if you care to find it, where we grab current poptab amount of a player then add to it and then save it. It should be pretty easy to use that for your purposes.

 

Gl.

1 person likes this

Share this post


Link to post
Share on other sites

Thanks for the reply Defent :)

I will take a look into what you have mentioned but it seems l will struggle with this one :(

I'll report back if I have any success!

Share this post


Link to post
Share on other sites
Advertisement

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.