How can I pass a table as a parameter to a function?

Your forum for all discussions around Modding.
User avatar
АНТИКЛАН
Posts: 39
Joined: Tue Mar 27, 2018 1:26 am

How can I pass a table as a parameter to a function?

Post by АНТИКЛАН »

Hello everybody! :hi:
Can someone know how to pass the table name to a function as a parameter? When sent directly, LUA writes that this is impossible because the function expects the table, but receives the text. How do I tell the function what is the name of the table?