Hugos Posted August 26, 2019 Share Posted August 26, 2019 All hi, such here problem arose: when I use "triggerEvent" in one resource, it starts function necessary to me in a resource necessary to me, but at the same time and in other resource where there is a function with the same name. Which 2 argument must be specified to run on only one resource? Link to comment
Moderators IIYAMA Posted August 26, 2019 Moderators Share Posted August 26, 2019 1 hour ago, Hugos said: Which 2 argument must be specified to run on only one resource? For both resources. A https://wiki.multitheftauto.com/wiki/TriggerEvent Set the base element to resourceRoot. B https://wiki.multitheftauto.com/wiki/AddEventHandler Set the attachedTo element to resourceRoot as well. And they will not interfere with each other, even when the event name is the same. 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