diMoon Posted April 29, 2015 Share 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. Link to comment
WhoAmI Posted April 29, 2015 Share Posted April 29, 2015 You can't export function as far as I know. Link to comment
Walid Posted April 29, 2015 Share Posted April 29, 2015 Do you mean 'exporting OOP classes with functions ' if yes as far as i know It's not possible. Link to comment
WhoAmI Posted April 29, 2015 Share Posted April 29, 2015 Yea, that's exactly what I've meant. Link to comment
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