ScarfaceMS
Please login or register to enjoy the full features and benefits of the forum. Also when you are logged in you will have reduced AD's and much more. So what are you waiting for! Not a member? Register now! Already a member? Just simply log in! Thank You Smile ~
-Tony And 2nd Owner Legend<3!
ScarfaceMS
Please login or register to enjoy the full features and benefits of the forum. Also when you are logged in you will have reduced AD's and much more. So what are you waiting for! Not a member? Register now! Already a member? Just simply log in! Thank You Smile ~
-Tony And 2nd Owner Legend<3!
ScarfaceMS
Would you like to react to this message? Create an account in a few clicks or log in to continue.

ScarfaceMS

Maplestory v75 Private Server
 
HomePortalGalleryLatest imagesSearchRegisterLog in
Please vote for our server on all links inorder to have a better and bigger community!

 

 [IMPORTANT] Cab Teleporter Release

Go down 
2 posters
AuthorMessage
thebloodz
Member +
Member +
thebloodz


Posts : 228
Join date : 2009-08-31
Age : 28
Location : Australia

[IMPORTANT] Cab Teleporter Release Empty
PostSubject: [IMPORTANT] Cab Teleporter Release   [IMPORTANT] Cab Teleporter Release EmptyWed Sep 02, 2009 8:57 am

Out DATED*

var status = 0;
var maps = Array(1010000, 680000000, 230000000, 101000000, 211000000, 100000000, 251000000, 103000000, 222000000, 104000000, 240000000, 220000000, 250000000, 800000000, 600000000, 221000000, 200000000, 102000000, 801000000, 105040300, 60000, 610010004, 260000000, 540010000, 120000000); // Amherst, Amoria, Aquarium, Ellinia, El Nath, Entrance - Henesys, Herb Town, Kerning City, Korean Folk Town, Leafre, Lith Harbor, Ludibrium, Mu Lung, Mushroom Shrine, New Leaf City, Omega Sector, Orbis, Perion, Showa Town, Sleepywood, Southperry, Crimsonwood, Ariant, Singapore, Nautilus Port
var cost = Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
var costBeginner = Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var selectedMap = -1;
var job;

importPackage(net.sf.xxxx.client);

function start() {
status = -1;
action(1, 0, 0);
}

function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (status == 1 && mode == 0) {
cm.dispose();
return;
} else if (status >= 2 && mode == 0) {
cm.sendNext("There's a lot to see in this town, too. Come back and find us when you need to go to a different town.");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendNext("How's it going? I drive the Teleport Taxi. I'll teleport u anywhere for 1meso - or lower! If you want to go from town to town safely and fast, then ride our cab. We'll gladly take you to your destination. If your name is Llyodd Korn, Piss off. [FMS]Matt");
} else if (status == 1) {
if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
var selStr = "We have a special 90% discount for beginners. Choose your destination, for fees will change from place to place.#b";
for (var i = 0; i < maps.length; i++) {
selStr += "\r\n#L" + i + "##m" + maps[i] + "# (" + costBeginner[i] + " mesos)#l";
}
} else {
var selStr = "Choose your destination, And go anywhere for free..#b";
for (var i = 0; i < maps.length; i++) {
selStr += "\r\n#L" + i + "##m" + maps[i] + "# (" + cost[i] + " mesos)#l";
}
}
cm.sendSimple(selStr);
} else if (status == 2) {
cm.sendYesNo("You don't have anything else to do here, huh? Do you really want to go to#b#m" + maps[selection] + "##k? It'll cost you #b"+ cost[selection] + " mesos#k.");
selectedMap = selection;
} else if (status == 3) {
if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
if (cm.getMeso() < costBeginner[selection]) {
cm.sendNext("You don't have enough mesos.");
cm.dispose();
} else {
cm.gainMeso(-costBeginner[selectedMap]);
}
} else {
if (cm.getMeso() < cost[selection]) {
cm.sendNext("You don't have enough mesos.");
cm.dispose();
} else {
cm.gainMeso(-cost[selectedMap]);
}
cm.warp(maps[selectedMap], 0);
cm.dispose();
}
}
}
}


Last edited by thebloodz on Sun Jul 04, 2010 8:59 pm; edited 1 time in total
Back to top Go down
http://www.scfms.tk
Tony
Admin
Admin
Tony


Posts : 188
Join date : 2009-08-29
Location : New York

[IMPORTANT] Cab Teleporter Release Empty
PostSubject: Re: [IMPORTANT] Cab Teleporter Release   [IMPORTANT] Cab Teleporter Release EmptyThu Sep 03, 2009 1:32 am

Nice but don't we already have a cab/taxi or even better @spinel
Back to top Go down
https://sfms.forumotion.com
thebloodz
Member +
Member +
thebloodz


Posts : 228
Join date : 2009-08-31
Age : 28
Location : Australia

[IMPORTANT] Cab Teleporter Release Empty
PostSubject: Re: [IMPORTANT] Cab Teleporter Release   [IMPORTANT] Cab Teleporter Release EmptyThu Sep 03, 2009 3:26 am

taxi is faster =)
Back to top Go down
http://www.scfms.tk
Sponsored content





[IMPORTANT] Cab Teleporter Release Empty
PostSubject: Re: [IMPORTANT] Cab Teleporter Release   [IMPORTANT] Cab Teleporter Release Empty

Back to top Go down
 
[IMPORTANT] Cab Teleporter Release
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
ScarfaceMS :: Extras :: Releases-
Jump to: