Jump to content
Sign in to follow this  
410541059

Returns without repeating element in Array?

Recommended Posts

for example i have _array = [1,1,2,3,3,4]

i want _array = [1,2,3,4]

have any BIS function or commands can do it?thx

Share this post


Link to post
Share on other sites
10 minutes ago, Muzzleflash said:

_array = _array arrayIntersect _array;

thanks dude

Share this post


Link to post
Share on other sites
9 minutes ago, beno_83au said:

What you could do when adding to an array is use pushBackUnique.

thanks,i get it

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×