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.
|