View Single Post
  #6  
Old 04-28-2009, 02:48 AM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
Also, if profession1 and the rest are not variables, you need to use quotes because they are strings.

It might also be simpler to just forget the if statements and just do something like:

PHP Code:
function MyclassGUI_Button1.onAction() { 
  
client.playerprofession this.selectedprofession;
  
MyclassGUI_Window1.destroy();

Unless of course you're planning on adding more
Reply With Quote