Jump to content
  • 0

Rental NPC


karazu

Question


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   5
  • Joined:  03/09/12
  • Last Seen:  

Hello I've been searching all over in the forum about a Rental that ive been looking for but seems to be i cannot find one.



Its only like this, the NPC requires a certain Item to let the players rent an item

like for example :

10TCG for 1DAY  Slipner/Megs  etc..


I saw alot of post here about rental NPC but they dont have payments. can anyone help/give/show me please?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

So you want use payment?
What kind of payment? Zeny? Cash point? Vote point? Kafra point?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

So you want use payment?

What kind of payment? Zeny? Cash point? Vote point? Kafra point?

10TCG for 1DAY  Slipner/Megs  etc..
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   5
  • Joined:  03/09/12
  • Last Seen:  

TCG



My friend before made a script like a rent item

   }
        case 6: //halter lead
          if (countitem(12622) > 0) {
            mes "[Universal Rental Npc]";
            mes "Sorry " + strcharinfo(0) + ", but you already have a halter lead.";
            close;
          } else if (countitem(7227) < 1) {
            mes "[Universal Rental Npc]";
            mes "Sorry " + strcharinfo(0) + ", but you need one TCG Card to rent one halter lead for one day.";
            close;
          } else {
            mes "[Universal Rental Npc]";
            mes "How many days do you intend to rent a halter lead?";
            input @days;
            if (countitem(7227) < @days) {
              mes "[Universal Rental Npc]";
              mes "I'm sorry " + strcharinfo(0) + ", but you need " + @days + " TCG Card to rent a halter lead for " + @days + " day(s).";
              close;
            } else {
                delitem 7227, @days;
                rentitem 12622, @days * 86400;
                close;
            }
          }
its something like that
Edited by Patskie
Change to code
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

My bad... i actually did not understand enough what she/he asking for.. =="

 

 

Btw did you try this

Here

 

or

 

Here

 

or

 

Here

Edited by CheckMate
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   5
  • Joined:  03/09/12
  • Last Seen:  

look at the script that i posted its only like that



Link number 1 only requires level, its good but it doesn't suit for what i need.

Link number 2 is ok! but i need some guide to change the requirements to TCG

Link  number 3 doesnt suit my needs.

Link to comment
Share on other sites

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.

×
×
  • Create New...