edit: okay it got that working. i just needed a few more things in quotes.
thanks for the help guys.
but before i'm done with this thread, whats the advantage of using
PHP Code:
function MyclassGUI_Button1.onAction() {
client.playerprofession = this.selectedprofession;
MyclassGUI_Window1.destroy();
}
over what i have now?
edit: nvm lol