Jump to content

Question

Posted (edited)

- i have this script a new mount system -

prontera,218,197,5 script Mount Manager 894,{
mes "[Mount Manager]";
mes "You want to Rent the [Reins of Mount]?. you need to pay 10,000,000z and bring 2x [Reins] - drop by abbysmal knight monster";
mes "This item will be expire for 7 days";
mes "[Mount Manager]";
mes "Do you have all the requirements needed?...";
menu "Yes",-,"No, Im going back later..",L_bye;
mes "[Mount Manager]";
mes "Let see if you already Have Rented a [Reins of Mount]..";
next;
if (countitem(12622) > 1) goto noway;
if (zeny < 1000000) goto nocash;
if (countitem(1064) < 2) goto noitem;

mes "[Mount Manager]";
mes "Are you sure you want to rent [Reins of Mount]?";
menu "Yes",-,"No",L_bye;
rentitem 12622,604800;
set Zeny,Zeny -1000000;
delitem 1064,2;
close;
noway:
mes "you can't Rent [Reins of Mount]. You already have 1x in your inventory.";
close;
nocash:
mes "[Mount Manager]";
mes "You dont have enough money to rent it, please come back if you already have enough money.";
close;
noitem:
mes "[Mount Manager]";
mes "You dont have enough [Reins] you can get it from abbysmal knight monster.";
close;
L_bye:
mes "[Mount Manager]";
mes "Have a nice day, please come back again.";
close;
}

-------------------------

- rentitem 12622 [reins of mount]

- my problem is when i rented the item and i used the item suddenly when the item is expired and im still in mount mode.. the mount is still there while my rentitem is gone...

- can someone help me? i want the mount also be gone when my rentitem is over..

Edited by GM Takumirai

10 answers to this question

Recommended Posts

Posted · Hidden by Arcenciel, April 4, 2012 - Cleaning up a merge
Hidden by Arcenciel, April 4, 2012 - Cleaning up a merge

Try requesting help in Scripting Section..

Posted · Hidden by Arcenciel, April 4, 2012 - Cleaning up a merge
Hidden by Arcenciel, April 4, 2012 - Cleaning up a merge

- i posted here because theres no problem in the scrip ... i just need a support on it.. thanks

Posted · Hidden by Arcenciel, April 4, 2012 - Cleaning up a merge
Hidden by Arcenciel, April 4, 2012 - Cleaning up a merge

- i have this script a new mount system -

prontera,218,197,5 script Mount Manager 894,{
mes "[Mount Manager]";
mes "You want to Rent the [Reins of Mount]?. you need to pay 10,000,000z and bring 2x [Reins] - drop by abbysmal knight monster";
mes "This item will be expire for 7 days";
mes "[Mount Manager]";
mes "Do you have all the requirements needed?...";
menu "Yes",-,"No, Im going back later..",L_bye;
mes "[Mount Manager]";
mes "Let see if you already Have Rented a [Reins of Mount]..";
next;
if (countitem(12622) > 1) goto noway;
if (zeny < 1000000) goto nocash;
if (countitem(1064) < 2) goto noitem;

mes "[Mount Manager]";
mes "Are you sure you want to rent [Reins of Mount]?";
menu "Yes",-,"No",L_bye;
rentitem 12622,604800;
set Zeny,Zeny -1000000;
delitem 1064,2;
close;
noway:
mes "you can't Rent [Reins of Mount]. You already have 1x in your inventory.";
close;
nocash:
mes "[Mount Manager]";
mes "You dont have enough money to rent it, please come back if you already have enough money.";
close;
noitem:
mes "[Mount Manager]";
mes "You dont have enough [Reins] you can get it from abbysmal knight monster.";
close;
L_bye:
mes "[Mount Manager]";
mes "Have a nice day, please come back again.";
close;
}

-------------------------

- rentitem 12622 [reins of mount]

- my problem is when i rented the item and i used the item suddenly when the item is expired and im still in mount mode.. the mount is still there while my rentitem is gone...

- can someone help me? i want the mount also be gone when my rentitem is over..

Posted · Hidden by Arcenciel, April 4, 2012 - Cleaning up a merge
Hidden by Arcenciel, April 4, 2012 - Cleaning up a merge

- i posted here because theres no problem in the scrip ... i just need a support on it.. thanks

If there is no problem. then post it on Scripting Support Section..

You are still not follow what the title section says. :P

Posted

- rentitem 12622 [reins of mount]

- my problem is when i rented the item and i used the item suddenly when the item is expired and im still in mount mode.. the mount is still there while my rentitem is gone...

- can someone help me? i want the mount also be gone when my rentitem is over..

this 3 is already SOLVED ... Update Your SVN .....

Posted

there is just nothing happens if i use the item (reins of mount), item disappears an nothing happens, im using latest rA SVN and i also tried without gm sprites.

Posted

try add this in the NPC

OnPCLoginEvent:
if( ismounting() && !countitem( 12622 ) ){
setmounting;
dispbottom "Mount has been Removed.";
}
end;

Posted

i think my client is to old.. im using 2010 client, looks like just the sprites dont show, because the walk speed increases and i cant use skills when i use the item.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...