The title sort of explains it all.
Is there any way to find a value in a table by its corresponding sorting number? (table.insert(t,**number**,val)
(Trying to find val with number)
The title sort of explains it all.
Is there any way to find a value in a table by its corresponding sorting number? (table.insert(t,**number**,val)
(Trying to find val with number)
This is called indexing, you can get the value from its ‘index’ with the following code:
local val = t[number]