mirh Posted July 17, 2013 Share Posted July 17, 2013 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 Link to comment
Castillo Posted July 17, 2013 Share Posted July 17, 2013 You can edit the script to do what you need. Link to comment
mirh Posted July 18, 2013 Author Share Posted July 18, 2013 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 Link to comment
Castillo Posted July 18, 2013 Share Posted July 18, 2013 No, there's no such event or function. You must do the checks in the script you use to login. Link to comment
mirh Posted July 20, 2013 Author Share Posted July 20, 2013 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? Link to comment
Castillo Posted July 20, 2013 Share Posted July 20, 2013 Well, you could just disable it. 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