ask about getitem2 but with time...

hadiesyafiq

New member
Messages
160
Points
0
Age
35
Location
Malaysia
Github
hadiesyafiq
Emulator
hai all it possible i give rentitem +10weapon like getitem2 function but have expire time?

 
Yes, but you'll need to create a script command to do.

You can use this example I made:

View attachment rentitem2_by_cretino.diff

rentitem2 usage:

rentitem2(<item id>, <amount>, <identify>, <refine>, <attribute>, <card1>, <card2>, <card3>, <card4>, <seconds>{, <account ID>})
rentitem2("<item name>", <amount>, <identify>, <refine>, <attribute>, <card1>, <card2>, <card3>, <card4>, <seconds>{, <account ID>})



I also made a 'protection' if you create a rent item with cards, so players can't remove cards from rent items.

I think is it you want, good luck. :)

 
Last edited by a moderator:
Yes, but you'll need to create a script command to do.

You can use this example I made:

View attachment 5596

rentitem2 usage:

rentitem2(<item id>, <amount>, <identify>, <refine>, <attribute>, <card1>, <card2>, <card3>, <card4>, <seconds>{, <account ID>})
rentitem2("<item name>", <amount>, <identify>, <refine>, <attribute>, <card1>, <card2>, <card3>, <card4>, <seconds>{, <account ID>})

rentitem2(<item id>, <amount>, <identify>, <refine>, <attribute>, <card1>, <card2>, <card3>, <card4>, <seconds>{, <account ID>})
rentitem2("<item name>", <amount>, <identify>, <refine>, <attribute>, <card1>, <card2>, <card3>, <card4>, <seconds>{, <account ID>})



I also made a 'protection' if you create a rent item with cards, so players can't remove cards from rent items.

I think is it you want, good luck. :)
Thank you very much sir...i will try implement this on my server by tonight...i will let you know...

 
Back
Top