You can't include spaces in the object's name.If it still crashes after that, give us a console.log.
So i want to edit my UI on my GUI so instead of making it a blue bar at the top i want it to be my custom black one
in stead of default "X" for exiting a gui my costom one thanks
You mean you want to change the color of the energy bar?... or what?So... do you want to change the look of the X in your GUIWindowCtrl or do you want to make a completely new exit button somewhere else?
no like on GUI control window with both like the exit button i want it to be my costom image and that ugly blue bar at the top of GUI i want it to be my costom black one. But i want it where its only my GUI's. Its hard to explain but i want to to be where any one who has downloaded my gui has a black bar on my GUI but a blue one on deafault and stuff
You would need to make your own GUI profile and then set the window's profile to that. You can use .dump() or .save() on GuiWindowProfile to see some stuff you can do to it when you create your own.
ok i made my own ui now what?
Make the custom window profile with your bitmap and use it for your window control.
and how would i create a window profile :/
new GuiControlProfile(DRPGWindowProfile){ opaque = 1; border = 2; fontType = "Impact"; fontSize = 18; fontColors[0] = "255 255 255 255"; fontColors[1] = "255 255 255 255"; fontColor = "255 255 255 255"; fontColorHL = "255 255 255 255"; justify = "center"; textOffset = "5 2"; bitmap = "Add-Ons/Client_DRPG/bitmaps/DRPGWindow"; text = ""; hasBitmapArray = 1;};
Something like this:Code: [Select]new GuiControlProfile(DRPGWindowProfile){ opaque = 1; border = 2; fontType = "Impact"; fontSize = 18; fontColors[0] = "255 255 255 255"; fontColors[1] = "255 255 255 255"; fontColor = "255 255 255 255"; fontColorHL = "255 255 255 255"; justify = "center"; textOffset = "5 2"; bitmap = "Add-Ons/Client_DRPG/bitmaps/DRPGWindow"; text = ""; hasBitmapArray = 1;};Which, combined with the bitmap, makes this style of window: