Jump to content

OOP and meta table problem


Frank96

Recommended Posts

im making a new accounts system in OOP using setmetatable

my problem is that i want it to be available thro all the resources

ik that i can send the lua file content using fileRead and loadstring but that wont work for me because the accounts system uses sql, then stores the data in a table

i want that table to be the same in all the resources, which is why the "loadstring" solution wont work bec each resource will have its own version of the table

any ideas?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...