swag_k_dog Posted July 6, 2017 Share Posted July 6, 2017 so I have 2 resources. in one I created a marker, in the other resource I want a script that when you walk in the marker, something happens. how do I call a function from another resource? Link to comment
WorthlessCynomys Posted July 6, 2017 Share Posted July 6, 2017 A resource function example() --Something here end Its meta <export function="example" type="shared" /> The other resource exports.theNameOfTheResourceTheFunctionIsIn:example() -- or call() 1 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