undefined Posted September 10, 2014 Share Posted September 10, 2014 Hey all. How to get all players(online and offline) Thnx Link to comment
Wei Posted September 10, 2014 Share Posted September 10, 2014 you can not get players, you can only get accounts getAccounts() Link to comment
undefined Posted September 10, 2014 Author Share Posted September 10, 2014 Can i use getPlayerAccount with this code? Link to comment
TAPL Posted September 10, 2014 Share Posted September 10, 2014 What are you trying to do? Link to comment
Moderators IIYAMA Posted September 10, 2014 Moderators Share 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 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