crismar Posted May 23, 2014 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...) Contact me if you are looking for a Web Developer. 3rd of October 2014 - Founder of RomaniaZ
xXMADEXx Posted May 23, 2014 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. The Ultimate Lua Tutorial! | MTA PHP SDK
crismar Posted May 23, 2014 Author 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) ? Contact me if you are looking for a Web Developer. 3rd of October 2014 - Founder of RomaniaZ
MIKI785 Posted May 23, 2014 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. Lua Scripter Owner of mshost.cz MTA portal.
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