Hello!
I need solution how to rotate array
array = {1,2,3,4,5}
rotate it to:
array = {5,4,3,2,1}
Thanks!
Btw, don't mind 90 degrees in title, mistake, it should be 180
This is probably what you're looking for.
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/table/Reverse]table.Reverse[/url]
Thank you, works perfect!
Sorry, you need to Log In to post a reply to this thread.