Guild members and REALID friends online
View Single Post
12-11-12, 04:31 AM
Join Date: Jun 2008
By way of followup... the two key elements of the nUI6 info panel system are the EnablePlugin and SetContainer. You aren't guaranteed the order they will be called in, but once you have both, then you are all set. At that point you know that the addons are loaded, variables are loaded, the nUI6 frames have all been created, etc. So you should be able to access everything you need without having to use a lot of event handling. (which was kind of my goal).
The only other significant function you have to worry about is the ResizePlugin -- that will get called if/when the user is customizing their layout. It shouldn't get called otherwise.
The SetConfig() method will get called during the "PLAYER_LOGIN" event as well... it is guaranteed to be called before the first call to EnablePlugin is made.
In theory, you shouldn't have to use an event handler at all.
What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.
Official nUI Web Site:
Official nUI Support Forum:
My day job:
View Public Profile
Send a private message to spiel2001
Visit spiel2001's homepage!
Find More Posts by spiel2001