reddsoul Posted November 14, 2016 Posted November 14, 2016 (edited) any good rental shop npc script using PODS and everytime has 3hrs duration of time thank you! ive been searching for like years to find some stable and working scrips please help me Edited November 14, 2016 by reddsoul Forgot something Quote
1 Sour- Posted November 16, 2016 Posted November 16, 2016 On 11/14/2016 at 9:37 PM, reddsoul said: any good rental shop npc script using PODS and everytime has 3hrs duration of time thank you! ive been searching for like years to find some stable and working scrips please help me prontera,152,180,4 script Sample 93,{ .@pods = 7179; //Item needed for rental .@amount = 1; //Amount of the item needed for the rental .@item = 512; //Item to for rent .@hours = 3; //Hours of rental if (countitem(.@pods) < .@amount) end; if (Rental > gettimetick(2)) { mes "[Sample]"; mes "Please wait for " + callfunc("Time2Str",Rental) + "."; close; } set Rental, gettimetick(2) + (.@hours * 60 * 60); rentitem .@item,(.@hours * 60 * 60); delitem .@pods,.@amount; end; } Quote Quote
1 HappyMan Posted November 14, 2016 Posted November 14, 2016 Example. Make a npc that requires pods to buy an item and this is the item(rent item) 12935,Infiltrator_Box,Infiltrator Box,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ rentitem 1267,604800; },{},{} this is just a example Quote
0 reddsoul Posted November 16, 2016 Author Posted November 16, 2016 On 11/14/2016 at 7:16 AM, HappyMan said: if you still need help just message me. sure ill test it out 16 hours ago, gmsour said: prontera,152,180,4 script Sample 93,{ .@pods = 7179; //Item needed for rental .@amount = 1; //Amount of the item needed for the rental .@item = 512; //Item to for rent .@hours = 3; //Hours of rental if (countitem(.@pods) < .@amount) end; if (Rental > gettimetick(2)) { mes "[Sample]"; mes "Please wait for " + callfunc("Time2Str",Rental) + "."; close; } set Rental, gettimetick(2) + (.@hours * 60 * 60); rentitem .@item,(.@hours * 60 * 60); delitem .@pods,.@amount; end; } gonna test this out thanks alot! Quote
-1 HappyMan Posted November 14, 2016 Posted November 14, 2016 (edited) if you still need help just message me. Edited November 15, 2016 by HappyMan Quote
Question
reddsoul
any good rental shop npc script using PODS and everytime has 3hrs duration of time thank you!
ive been searching for like years to find some stable and working scrips
please help me
Edited by reddsoulForgot something
4 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.