Minokon Posted May 28, 2011 Posted May 28, 2011 (edited) Hello My next question: Can I use functions from included resource? Like in meta.xml I have: <include resource="SomeScript" /> And I can use functions from SomeScript in my current resource? Thanks Edited August 21, 2011 by Guest
Castillo Posted May 28, 2011 Posted May 28, 2011 Use exported functions, <export function="myFunctionName" type="can be server or client" /> Then you do: exports.SomeScript:myFunctionName(args)
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