Scripts / [SOLVED] How to create a multilevel arrays in LUA

Author
Message
roandoom
8
Years of Service
User Offline
Joined: 24th Mar 2016
Location:
Posted: 7th May 2018 22:37 Edited at: 7th May 2018 22:43
I want to create an array that can store coordinates such as Pos[e][1] and Pos[e][2] and Pos[e][3] and also how to assign the values to the array afterwords.

I would really appreciate if someone can help me by showing me a script that shows this, i tried to create the array like in the global but mine still gives errors so either I'm missing something or the array should be made another way.

Here's what i have so far but it still gives me errors:



Thanks for any help




PS. Ignore the pic its for my Profile Pic

The author of this post has marked a post as an answer.

Go to answer

Attachments

Login to view attachments
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 7th May 2018 22:43 Edited at: 7th May 2018 22:44
This post has been marked by the post author as the answer.
Been there, done that, got all the T-Shirts!
PM
roandoom
8
Years of Service
User Offline
Joined: 24th Mar 2016
Location:
Posted: 7th May 2018 22:51 Edited at: 7th May 2018 23:21
Thx I got it working now, thanks for the help.
PM

Login to post a reply

Server time is: 2024-04-26 18:25:46
Your offset time is: 2024-04-26 18:25:46