reddsoul Posted November 14, 2016 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 11/10/16 Last Seen: July 30, 2017 Share 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 Link to comment Share on other sites More sharing options...
1 Sour- Posted November 16, 2016 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 42 Reputation: 2 Joined: 05/25/16 Last Seen: May 19, 2017 Share 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 Link to comment Share on other sites More sharing options...
1 HappyMan Posted November 14, 2016 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 191 Reputation: 25 Joined: 07/19/14 Last Seen: June 26, 2019 Share 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 Link to comment Share on other sites More sharing options...
0 reddsoul Posted November 16, 2016 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 11/10/16 Last Seen: July 30, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
-1 HappyMan Posted November 14, 2016 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 191 Reputation: 25 Joined: 07/19/14 Last Seen: June 26, 2019 Share Posted November 14, 2016 (edited) if you still need help just message me. Edited November 15, 2016 by HappyMan Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.