In a class NPC, I am defining a few GUIProfiles. However, SweetTabProfile and SweetScrollProfile fail to load (the rest load fine).
However, if I update a weapon that is joining the class, SweetTabProfile and SweetScrollProfile will then start to load properly.
Any idea what's up?
PHP Code:
Profile Class
//#CLIENTSIDE
function onCreated(){
new GuiWindowProfile("SweetWindowProfile")
{
bitmap = "Kevin641800-gamerkid_black_gui_window.png";
fontcolor = {255,255,255,255};
}
new GuiTabProfile("SweetTabProfile"){
bitmap = "unevent_achievements_gui_tab.png";
fontcolor = {255,255,255,255};
}
new GuiButtonProfile("SweetButtonProfile")
{
bitmap = "unevent_gamerkid_gui_btn_black.png";
fontcolor = {255,255,255,255};
}
new GuiTextListProfile("SweetTextListProfile"){
fontcolor = {255,255,255,255};
fillcolorhl = {175,175,175,255};
}
new GuiTextProfile("SweetTextProfile")
{
fontcolor = {255,255,255,255};
}
new GuiScrollProfile("SweetScrollProfile")
{
bitmap = "unevent_achievements_gui_scroll.png";
}
new GuiTextEditProfile("SweetTextEditProfile")
{
bitmap = "unevent_gamerkid_gui_txtedit_black.png";
fontcolor = {255,255,255,255};
fillcolor = {27,27,27,255};
fillcolorhl = {150,150,150,255};
}
new GuiRadioProfile("SweetRadioProfile")
{
bitmap = "unevent_gamerkid_gui_radio_black.png";
fontcolorsel = {255,255,255,255};
fontcolor = {225,225,225,255};
}
}