papol22 Posted April 1, 2013 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 70 Reputation: 1 Joined: 12/14/11 Last Seen: August 12, 2019 Share Posted April 1, 2013 my server dnt have rentitem command.it is turn off or i need to script something? Quote Link to comment Share on other sites More sharing options...
jaBote Posted April 1, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 182 Reputation: 36 Joined: 01/26/12 Last Seen: October 6, 2021 Share Posted April 1, 2013 It's supposed EVERY server comes with rentitem built in by default, unless you or your server provider have deactivated it. Look for BUILDIN_DUNC(rentitem) in /scr/map/script.c and see if you have it, which wou'll surely do. Are you sure you haven't used that script command incorrectly? Correct syntax for rentitem is: rentitem <item ID>,<duration in seconds>; Check if you forgot to put the seconds on your script. 1 Quote Link to comment Share on other sites More sharing options...
papol22 Posted April 2, 2013 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 70 Reputation: 1 Joined: 12/14/11 Last Seen: August 12, 2019 Author Share Posted April 2, 2013 i have it but how to know or how to activate it? Quote Link to comment Share on other sites More sharing options...
jaBote Posted April 2, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 182 Reputation: 36 Joined: 01/26/12 Last Seen: October 6, 2021 Share Posted April 2, 2013 (edited) How to activate what? How to make a rented item? You can easily know if you have it activated (which should be by default), just make and try one of these items and if they work, you have the command on your server. In case you're asking for that it's simple: just make an NPC or another item that uses the rentitem command. For example: Let's imagine you have an Item Renter NPC or an item which rents you an Angra Manyu (Item ID#1599) for 1 hour (3600000 milliseconds). Then the NPC or the item executes the following code: rentitem 1599,3600000; Edited April 2, 2013 by jaBote Quote Link to comment Share on other sites More sharing options...
papol22 Posted April 2, 2013 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 70 Reputation: 1 Joined: 12/14/11 Last Seen: August 12, 2019 Author Share Posted April 2, 2013 how to make it gm command because in game it says "rentitem is Unknown Command" Quote Link to comment Share on other sites More sharing options...
jaBote Posted April 2, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 182 Reputation: 36 Joined: 01/26/12 Last Seen: October 6, 2021 Share Posted April 2, 2013 OMG that's a scripting command: you don't use it as a GM but NPCs and other items do. If you're a GM you can create permanent items with @item <item_ID or "item_name">. There's not a @rentitem GM command as long as I know. Try getting one of those items I showed you before from RateMyServer by using @item and use it. You'll get a rented item. If you still want a @rentitem GM command try asking for it on Source Requests - I'm not good in source. 1 Quote Link to comment Share on other sites More sharing options...
papol22 Posted April 3, 2013 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 70 Reputation: 1 Joined: 12/14/11 Last Seen: August 12, 2019 Author Share Posted April 3, 2013 thanks anyway sir=) now all is clear Quote Link to comment Share on other sites More sharing options...
Question
papol22
my server dnt have rentitem command.it is turn off or i need to script something?
Link to comment
Share on other sites
6 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.