Quote:
Originally Posted by LoneAngelIbesu
Obviously, which is why I mentioned that joining a class is probably a work-around. Personally, I find using a class more organized.
PHP Code:
new GuiControl("toastControl") {
this.testFunc = public function() {
echo("Hi there!");
};
}
This just looks bad.
|
I don't really think it looks that bad and I would prefer it over creating an entire class just to invoke one small function.