diMoon Posted April 29, 2015 Posted April 29, 2015 Hi! I have a problem calling a table function from other resource. Here is an example: local x = exports.testOORes:TestClass.new() Is that even possible in MTA? And if not then why? I wanted to create my GameMode completely object oriented in multiple resources. I tried using every variation of "call" function but no progress so far.
Walid Posted April 29, 2015 Posted April 29, 2015 Do you mean 'exporting OOP classes with functions ' if yes as far as i know It's not possible.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now