• Addon Priority Issue
    1 replies, posted
This is my first post and after having read the guidelines and the wiki I couldn't find anything to help me with this problem, if I do anything wrong or awkward I apologise in advance, I am still getting used to how things work. Now, time for the problem. For the past few days I've been working on an addon that modifies an entity slightly in an existing addon aswell as some other things. This all worked fine on my end since I had the file extracted in my addons folder but when I uploaded it to the workshop I found that people were unable to see the changes made due to the original addon overwriting my one. Is there some way to make my addon have priority over the other? So the code I wrote will work ontop of the existing code? I should mention again that it is an entity I am working on so anything to do with autorun or weird symbols in the file name (from what I've been told else where this has worked in some instances) won't work, to my knowledge.
Not posting your code or stating the name of the addon doesn't allow us to best help you. There are tons of ways to do this. Use a timer to delay your addon initialization Use a timer on a fast delay to check if the original addon is fully initialized Use GM/OnEntityCreated to implement the modifications Use a hook from the original addon that is called at or near the end of its initialization Fork the original addon and implement the changes directly to that addon
Sorry, you need to Log In to post a reply to this thread.