Thread: Gui Rows
View Single Post
  #1  
Old 09-23-2009, 02:24 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Gui Rows

PHP Code:
function MyGUI_WARPER_Popup1.onSelect(entryid){
  if (
entryid == 1){
  
removerowbyid(9);
  
MyGUI_WARPER_TextList1.addrow(0,"Armageddon Spar");
  
MyGUI_WARPER_TextList1.addrow(1,"Event House");
  
MyGUI_WARPER_TextList1.addrow(2,"Guild Lobby");
  
MyGUI_WARPER_TextList1.addrow(3,"Bank");
  
MyGUI_WARPER_TextList1.addrow(4,"Shop");
  }
  if (
entryid == 2){
  
triggerserver("weapon"this.name"warpPopTwo");
  }
  if (
entryid == 3){
  
clearselection();
  
MyGUI_WARPER_TextList1.addrow(5,"Lasea");
  
MyGUI_WARPER_TextList1.addrow(6,"Treehouse Town");
  }
  if (
entryid == 4){
  
clearselection();
  
MyGUI_WARPER_TextList1.addrow(7,"Cross Castle");
  
MyGUI_WARPER_TextList1.addrow(8,"SDE GuildHouse - Indola");
  }
  if (
entryid == 5){
  
clearselection();
  
MyGUI_WARPER_TextList1.addrow(9,"Frontline");
  }

I've obviously tried clearselection() and removerow() and removerowbyid().
How do it get it to only show the certain rows on each selected entry id?
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote