Quote:
Originally Posted by fowlplay4
PHP Code:
//#CLIENTSIDE
function onCreated() {
createProfiles();
}
function createProfiles() {
new GuiButtonProfile("MyButtonProfile") {
fontsize = 20;
}
}
function createButton() {
// With Profile
new GuiButtonCtrl("RandomButton") {
x = y = 100;
text = "Hello";
profile = "MyButtonProfile";
}
// Without Profile
new GuiButtonCtrl("RandomButton2") {
x = y = 200;
text = "Hello";
}
}
You simply just add the one profile line to the GUI object, and it creates it with the inherited profile values. In this example it inherits MyButtonProfile's values
|
OOHHH! oops x.x my bad guys. i thou when u do
new GuiButtonProfile("MyButtonProfile") {
fontsize = 20;
}
it would create a button x.x xD well im wrong w/e
alssoooo how do i change the chatbar image?