Well, I know how to create a table/metatable with their initial values, but I don’t know how to insert or remove an element after its creation. How can I do this using the best practice in Lua Script? Is there any kind of standart function to do this?
Share
Here’s just about every way of inserting and removing from Lua tables; firstly, for array-style tables:
And for hash-style tables: