crismar Posted May 23, 2014 Share Posted May 23, 2014 Howdy. I was wondering if it's possible to see what is the last name someone used when he logged on a account. F.e: Username: banana Nickname: I_Love_Apples I want to be able to check based on username 'banana' what nickname he used and get the appropiate result. In short, something similar to /whowas. If that's not possible scriptwise, do you have any idea where the /whois informations are stored ? (like some .db or...) Link to comment
xXMADEXx Posted May 23, 2014 Share Posted May 23, 2014 The /whowas and /whois data is stored in the default MTA database. You could make a new table in the default database using executeSQLQuery. Every time the player changes their nickname, you can update it in the database. Link to comment
crismar Posted May 23, 2014 Author Share Posted May 23, 2014 The /whowas and /whois data is stored in the default MTA database. You could make a new table in the default database using executeSQLQuery. Every time the player changes their nickname, you can update it in the database. Is there a way to retrive that database ? (default MTA one) ? Link to comment
MIKI785 Posted May 23, 2014 Share Posted May 23, 2014 No, you can't. The easiest way to do this is to use setAccountData and save the nick there. Using SQL is not needed. 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