on another glance, it might actually be that it may not be checking/setting strings the same way?
heres the area i'm having trouble with:
PHP Code:
function MyclassGUI_Button1.onAction() {
if(this.selectedprofession=profession1){
setstring client.playerprofession,profession1;
MyclassGUI_Window1.destroy();
}
else if(this.selectedprofession=profession2){
setstring client.playerprofession,profession2;
MyclassGUI_Window1.destroy();
}
else if(this.selectedprofession=profession3){
setstring client.playerprofession,profession3;
MyclassGUI_Window1.destroy();
}