AcidbRain Posted November 2, 2009 Share Posted November 2, 2009 I'm trying to determine whether a resource function is exported or not. Unfortunately, calling type(exports["resourcename"].functionNotExported) will return "function" even when functionNotExported isn't marked as exportable in meta.xml. Of course I could issue a pcall, but that is not the ideal solution. Is there any other way to know if a function has been exported? Link to comment
Gamesnert Posted November 2, 2009 Share Posted November 2, 2009 There's a solution, but it's for server-side only. getResourceExportedFunctions 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