Here is the table
local keys = { "test", "test2"}
here is what i tried
Here is the table
local keys = { "test", "test2"}
here is what i tried
GetEnumItems is not for tables. Do this
for key, value in ipairs(keys) do
print(key, value)
end
how do i check if a textbox value is equal to an array?
Please be more specific. A full array? A single value in an array? A concatenated array?
like check if a player puts any of the values that are in an array in the textbox
local text = textbox.Text
for _, v in ipairs(array) do
if text == v then
print("Success")
break
end
end
Think table.find would be a better alternative