View Single Post
07-12-09, 09:49 PM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Because of how the layout engine in nUI works, it doesn't load the layout definition until the "VARIABLES_LOADED" event fires and does not create the layout until the "PLAYER_LOGIN" event fires. If you want to create an enhancement to nUI that depends on those elements being present to anchor to, then you should wait until the "PLAYER_LOGIN" or "PLAYER_ENTERING_WORLD" event.
__________________

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: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/