omar Posted December 9, 2018 Share Posted December 9, 2018 (edited) Hello so i used this code to warp players to a map but then when i try it it warps me to the map i choose then to x_prt which is the last map mes "Leveling Quests"; mes "Placeholder."; next; switch(select("120-140 :141-150 :151-160 :161-175 ")) { case 1: warp ("vis_h01",114,118); case 2: warp ("[email protected]_pay",22,38); case 3: warp ("[email protected]",114,59); case 4: warp ("x_prt",70,122); } Edited December 9, 2018 by omar Quote Link to comment Share on other sites More sharing options...
0 anacondaq Posted December 9, 2018 Share Posted December 9, 2018 after each case: usage you must add "break;" command to terminate switching. mes "Leveling Quests"; mes "Placeholder."; next; switch(select("120-140 :141-150 :151-160 :161-175 ")) { case 1: warp ("vis_h01",114,118); break; case 2: warp ("[email protected]_pay",22,38); break; case 3: warp ("[email protected]",114,59); break; case 4: warp ("x_prt",70,122); break; } 1 Quote Link to comment Share on other sites More sharing options...
Hello
so i used this code to warp players to a map but then when i try it it warps me to the map i choose then to x_prt which is the last map
mes "Leveling Quests"; mes "Placeholder."; next; switch(select("120-140 :141-150 :151-160 :161-175 ")) { case 1: warp ("vis_h01",114,118); case 2: warp ("[email protected]_pay",22,38); case 3: warp ("[email protected]",114,59); case 4: warp ("x_prt",70,122); }
Edited by omarLink to comment
Share on other sites