231 Posted April 6, 2019 Share Posted April 6, 2019 I want to bring all players on the server with command Link to comment
Ayush Rathore Posted April 6, 2019 Share Posted April 6, 2019 (edited) In my opinion you should read the guidelines before posting. I cant understand anything please tell more. Edited April 6, 2019 by Ayush Rathore Link to comment
itHyperoX Posted April 6, 2019 Share Posted April 6, 2019 loop getElementsByType setElementPosition addCommandHandler Link to comment
holuzs Posted April 9, 2019 Share Posted April 9, 2019 function getAllPlayer(player, cmd) local mx, my, mz = getElementPosition(player) for i,v in ipairs(getElementsByType("player")) do local rand = math.random(1, 5) setElementPosition(v, mx+rand, my+rand, mz) end end addCommandHandler("getallplayer", getAllPlayer) Link to comment
Moderators Patrick Posted April 9, 2019 Moderators Share Posted April 9, 2019 On 06/04/2019 at 12:06, Ayush Rathore said: In my opinion you should read the guidelines before posting. I cant understand anything please tell more. Oh, you thief... It's my signature xd 1 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