Table
Used to request models and textures
lib.table.deepClone
Used to quickly copy a table, useful for global state values
Parameter
Type
Required
Description
table
ObjectArray
Table to be copied
lib.table.findKeyInTable
Check through a table for a set key
Parameter
Type
Required
Description
tbls
StringObject
Table to be searched
key
StringNumber
Key to be found
lib.table.includes
Check if a value is present in a table
Parameter
Type
Required
Description
table
ObjectArray
Table to be searched
value
Object
Value to be found
recursive
Boolean
Check sub tables too
lib.table.convert
Convert data to different formats
Parameter
Type
Required
Description
_type
String
Type of data - vectors, items_sql, string, item_ox, convert_idexes
data
Any
Data to be converted
lib.table.count
Count a table and sub tables
Parameter
Type
Required
Description
table
ObjectArray
Table to be counted
Last updated