Jump to content

Looking for an attempted login event


mirh

Recommended Posts

Posted

i was looking for an event like "onPlayerLogin" but that could be triggered even from failed attempts

(I was trying to edit this resource so that whenever you insert wrong credentials in the console it kicked you)

have you any ideas?

thanks in advance

Posted

You can edit the script to do what you need.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

yes, but i was looking for an event triggered whenever you try to log-in

like "onPlayerLogin" but valid even when you fail

or if it doesn't exist a function which could do the same thing

Posted

No, there's no such event or function. You must do the checks in the script you use to login.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

any hint?

btw, i'm not targeting only the login function inside the script, but the hardcoded into mta too (that you access via console)

how could i "catch" that one?

Posted

Well, you could just disable it.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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...