Hero192 Posted March 1, 2016 Share Posted March 1, 2016 Hello dear scripters, How can I get player name from account name. Basically, for example we have account: johan12 I want to get his nick name from his account name. How can I do that ? because it's possible Link to comment
Tox Posted March 1, 2016 Share Posted March 1, 2016 you can either save the nickname with setAccountData or use SQL, if you want to get account name you can use getAccountName(acc) Link to comment
Noki Posted March 2, 2016 Share Posted March 2, 2016 If the player is online, you can do something like this: getPlayerName(getAccountPlayer(getAccount("johan12"))) However, if they're not online, you will need to do something like what Tox said. 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