Hi, I just made this table and I need to print the [1] of the table, how do I do that?
example:
if teamOrder [1] then
print ("First in the table")
end
script:
local teamOrder = {
[1] = Admins,
[2] = noAdmins,
[3] = newJoined
}
Hi, I just made this table and I need to print the [1] of the table, how do I do that?
example:
if teamOrder [1] then
print ("First in the table")
end
script:
local teamOrder = {
[1] = Admins,
[2] = noAdmins,
[3] = newJoined
}
well that should be pretty simple, just
print(teamOrder[1])
if teamOrder[1] then
print(teamOrder[1])
end
lol was pretty easy thanks you guys a lot!!