Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua find key in table

local MyTable = {hi, hello, sup} -- your table you are refrencing

for key, value in pairs(MyTable) do -- Look for key inside entire table
if key == "hello" then -- Your desired key you want to refrence
-- Run event
end
end
 
PREVIOUS NEXT
Tagged: #lua #find #key #table
ADD COMMENT
Topic
Name
8+9 =