pajodex Posted February 25, 2018 Posted February 25, 2018 (edited) Hi, I hope I can get my point right, How do I move arrays? Sample Arrays: .player[0], .player[1], .player[2], .player[3] How do I remove arrays 1 and 2 then move arrays 3 and 4 to arrays 1 and 2? New Array: .player[0] --- from prev array player [2], player[1] --- from prev array player [3] Someone help Thaanks a lot! EDIT: Forgot about deletearray. Please ignore me XD Edited February 25, 2018 by pajodex Quote
0 anacondaq Posted February 25, 2018 Posted February 25, 2018 deletearray.player[0],2; will remove next .player[0] = 0; .player[1] = 1; .player[2] = 2; .player[3] = 3; .player[4] = 4; You will get .player[0] = 2; .player[1] = 3; .player[2] = 4; 1 Quote
Question
pajodex
Hi,
I hope I can get my point right, How do I move arrays? Sample
Arrays: .player[0], .player[1], .player[2], .player[3]
How do I remove arrays 1 and 2 then move arrays 3 and 4 to arrays 1 and 2?
New Array: .player[0] --- from prev array player [2], player[1] --- from prev array player [3]
Someone help
Thaanks a lot!
EDIT: Forgot about deletearray. Please ignore me XD
Edited by pajodex1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.