Bin4ry Posted September 22, 2012 Posted September 22, 2012 Use RentItem rentitem <Item ID>, <Time>; Example: rentitem 1530,604800; This example will rent Mjolnir for the player with a 7 day duration. Quote
Peopleperson49 Posted November 8, 2012 Posted November 8, 2012 Cadz rent items is a script command. Look in the doc/script_commands.txt! Peopleperson49 *rentitem <item id>,<time>; *rentitem "<item name>",<time>; Creates a rental item in the attached character's inventory. The item will expire in <time> seconds and be automatically deleted. When receiving a rental item, the character will receive a message in their chat window. The character will also receive warning messages in their chat window before the item disappears. This command can not be used to rent stackable items. Rental items cannot be dropped, traded, sold to NPCs, or placed in guild storage. (i.e. trade mask 75) Note: 'delitem' in an NPC script can still remove rental items. Quote
Dastgir Posted November 12, 2012 Posted November 12, 2012 where to pu this rent item in item_db? You have to put rentitem in the script not in item_db. - script Freebies -1,{ OnPCLoginEvent: if (#Freebie) end; rentitem <itemid>,86400; //Rent Item for 1 day dispbottom "Here is Your Freebies"; set #Freebie,1; end; } Quote
Bin4ry Posted November 12, 2012 Posted November 12, 2012 Nope, he can also put it as item script effect for usable item. Quote
Question
Dvrstle
how can i make this one? =)
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.