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:
function points1_init(e)
Point1 = {}
end
function points1_main(e)
if g_KeyPressE == 1 then
Point1[e][1] = g_PlayerPosX
Point1[e][2] = g_PlayerPosY
Point1[e][3] = g_PlayerPosZ
end
end
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