javad_iran Posted September 13, 2018 Posted September 13, 2018 Hi. please send example script for show online players. server side Or client side Does not matter sorry for bad english
hexisgod Posted September 13, 2018 Posted September 13, 2018 Example, command for share server players mp.events.addCommand('players', (player) => { let count = 1; player.outputChatBox(`Players online: ${mp.players.length}`); mp.players.forEach(player0 => { player.outputChatBox(`#${count}: ${player0.name}(${player0.id})`); count++; }); });
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