I've always just used
PHP Code:
//#CLIENTSIDE
function onCreated() {
loadProfiles();
}
function loadProfiles() {
new GuiControlProfile(ATextProfile) {
textoffset = "0 -10";
fontcolor = "255 255 255";
fonttype = "Arial";
fontsize = 10;
fontstyle = "b";
}
}
Then in the GUI Object that I want to use it with
profile = ATextProfile;
I believe you can do things like:
PHP Code:
new GuiBlueTextProfile(Stuff) {
// automatically inherits variables from the GuiBlueTextProfile
// adjust other variables at your discretion
}