Quote:
Originally Posted by clarke119
PHP Code:
function UpdateButton.onAction() { temp.rank = rank1.txt; temp.rights = rights1.txt; triggerserver("gui",this.name,"rankchanger",account1.text,temp.rank,temp.rights); }
|
should be
PHP Code:
temp.rank = rank1.text;
temp.rights = rights1.text;
It might be because it's just a part of the code and you cutted stuff out but you also forgot the closing bracket } for the onCreated() part.
You also should give your guis another naming. Check
this thread for some help