View Single Post
08-10-19, 10:02 AM   #4
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
The addon loading process loads the file(s), executes the stuff that is placed in the main code-flow and after that only events can trigger execution of your code.

Any code that is executed before ADDON_LOADED with the argument of your own addon cant access your SV.
You have to listen for this event. And only after this event occurs make sure it is fired for your addon and setup your stuff after that.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote