FindInTable - EdgeIY/infiniteyield GitHub Wiki
boolean FindInTable(<table> t, <any> value)
Checks if a value exists in a table. Returns true
if the value is found and false
if the value is not found.
--Note: This is just a snippet
["Function"] = function(args,speaker)
-- assume args[1] = "M4A1"
print(FindInTable({"AK-47","M9","Remington 870"},args[1])) --> false
end