undefined Posted September 10, 2014 Posted September 10, 2014 Hey all. How to get all players(online and offline) Thnx
Wei Posted September 10, 2014 Posted September 10, 2014 you can not get players, you can only get accounts getAccounts()
undefined Posted September 10, 2014 Author Posted September 10, 2014 Can i use getPlayerAccount with this code?
Moderators IIYAMA Posted September 10, 2014 Moderators Posted September 10, 2014 Can i use getPlayerAccount with this code? no, The getAccounts function will return the results of getPlayerAccount inside a table. Try this out to make it understand able. local accountTable = getAccounts() for index,account in pairs(accountTable) do outputChatBox(index .. " " .. tostring(account) .. " " .. getAccountName(account)) end
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