Best-Killer Posted December 8, 2016 Posted December 8, 2016 is there way to getPlayerName From playeraccountname ? if Yes, How ? what functions i have to use
ViRuZGamiing Posted December 8, 2016 Posted December 8, 2016 getAccountName? "If debugging is the process of removing software bugs, then programming must be the process of putting them in."
Best-Killer Posted December 8, 2016 Author Posted December 8, 2016 i won't get account name i want get PlayerName
Savannah Posted December 8, 2016 Posted December 8, 2016 You can't get their name but you could store their name when they login For example: addEventHandler("onPlayerLogin",root, function(_,playerAcc) setAccountData(playerAcc,"name",getPlayerName(source)) end ) then get it elsewhere: local playerName = getAccountData(playerAcc,"name") Just being me
Sticmy Posted December 8, 2016 Posted December 8, 2016 is getAccountName(getPlayerAccount("name")) or getPlayerFromName("name") My name in the game is: Sticmy My discord: Sticmy#3817 My discord community: https://discord.gg/366Y9bB
Addlibs Posted December 8, 2016 Posted December 8, 2016 getPlayerName(getAccountPlayer(getAccount("accountname"))) This will only work if the player is logged in onto that account. Previously known as MrTasty.
KariiiM Posted December 8, 2016 Posted December 8, 2016 Make a check if the player is logged in then get his account name, otherwise you will need to store it the player name somewhere each time logged / left the game and get it later.
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