Checkmate Posted July 19, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Share Posted July 19, 2013 Hello rAthena Comunity..Actually i do want to asking for help to makeone script npc that are using cash point to rent and item 12622(halted_lead)?..?If anyone have it can share it...Thanks In Forward.. ^ ^ Quote Link to comment Share on other sites More sharing options...
Brynner Posted July 20, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 4 hours ago Share Posted July 20, 2013 errr... ok wait i try i again... zzz... lot of error for me... When using you script.. did you just space without using <tab>?? the script still the same with Capuche. the only thing that i change there is this. #CASHPOINTS = #CASHPOINTS - .cash_req; rentitem .item_rent, .rent_time; end; to #CASHPOINTS = #CASHPOINTS - .cash_req; rentitem .item_rent, .rent_time; close; 2 Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 19, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted July 19, 2013 prontera,150,180,5 script ijniono 56,{ mes "you need "+ .cash_req +" to rent a "+ getitemname( .item_rent ) +" for "+ .rent_time +" seconds"; next; if ( select( "I have the points", "leave" ) == 2 ) close; if ( #CASHPOINTS < .cash_req ) { mes "you don't have enough cashpoint."; close; } #CASHPOINTS = #CASHPOINTS - .cash_req; rentitem .item_rent, .rent_time; end; OnInit: .item_rent = 12622;// item rent .cash_req = 5; // 5 cashpoints .rent_time = 60; // 60secs } Quote Link to comment Share on other sites More sharing options...
Checkmate Posted July 20, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Author Share Posted July 20, 2013 (edited) Thanks for da fast reply but.... there is an error... Sir capuche... That are the problem...there is no close button...How do can settle this?..? Edited July 20, 2013 by CheckMate Quote Link to comment Share on other sites More sharing options...
Brynner Posted July 20, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 4 hours ago Share Posted July 20, 2013 (edited) Thanks for da fast reply but.... there is an error... Sir capuche... That are the problem... there is no close button... How do can settle this?..? prontera,150,180,5 script ijniono 56,{ mes "you need "+ .cash_req +" to rent a "+ getitemname( .item_rent ) +" for "+ .rent_time +" seconds"; next; if ( select( "I have the points", "leave" ) == 2 ) close; if ( #CASHPOINTS < .cash_req ) { mes "you don't have enough cashpoint."; close; } #CASHPOINTS = #CASHPOINTS - .cash_req; rentitem .item_rent, .rent_time; close; OnInit: .item_rent = 12622;// item rent .cash_req = 5; // 5 cashpoints .rent_time = 60; // 60secs } Edited July 20, 2013 by Brynner Quote Link to comment Share on other sites More sharing options...
Checkmate Posted July 20, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Author Share Posted July 20, 2013 Still the same prob... Close button did not show up.... Quote Link to comment Share on other sites More sharing options...
Brynner Posted July 20, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 4 hours ago Share Posted July 20, 2013 (edited) Still the same prob... Close button did not show up.... hmmm it seems working for me. try this. i replace end to close to make it work. prontera,150,180,5 script ijniono 56,{ mes "you need "+ .cash_req +" to rent a "+ getitemname( .item_rent ) +" for "+ .rent_time +" seconds"; next; if ( select( "I have the points", "leave" ) == 2 ) close; if ( #CASHPOINTS < .cash_req ) { mes "you don't have enough cashpoint."; close; } #CASHPOINTS = #CASHPOINTS - .cash_req; rentitem .item_rent, .rent_time; close; OnInit: .item_rent = 12622;// item rent .cash_req = 5; // 5 cashpoints .rent_time = 60; // 60secs } Edited July 20, 2013 by Brynner Quote Link to comment Share on other sites More sharing options...
Checkmate Posted July 20, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Author Share Posted July 20, 2013 (edited) Posted Today, 05:15 PM CheckMate, on 20 Jul 2013 - 17:04, said: Still the same prob... Close button did not show up.... hmmm it seems working for me/ errr... ok wait i try i again... zzz... lot of error for me... When using you script.. did you just space without using <tab>?? Edited July 20, 2013 by CheckMate Quote Link to comment Share on other sites More sharing options...
Checkmate Posted July 20, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Author Share Posted July 20, 2013 (edited) Ok.. Got it now... Thanks Very Much Dude ^ ^Sorry cuz did not understand what you said in PM ^^Case Solve ^ ^ Edited July 20, 2013 by CheckMate Quote Link to comment Share on other sites More sharing options...
karazu Posted September 14, 2013 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 374 Reputation: 5 Joined: 03/09/12 Last Seen: June 19, 2018 Share Posted September 14, 2013 What if the NPC needs TCG? can u give me a quick guide please? Quote Link to comment Share on other sites More sharing options...
Checkmate Posted September 14, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Author Share Posted September 14, 2013 prontera,150,180,5 script ijniono 56,{ mes "you need "+ .cash_req +" to rent a "+ getitemname( .item_rent ) +" for "+ .rent_time +" seconds"; next; if ( select( "I have the points", "leave" ) == 2 ) close; if ( #CASHPOINTS < .cash_req ) { mes "you don't have enough cashpoint."; close; } #CASHPOINTS = #CASHPOINTS - .cash_req; rentitem .item_rent, .rent_time; end; OnInit: .item_rent = 12622;// item rent .cash_req = 5; // 5 cashpoints .rent_time = 60; // 60secs } Maybe change .cash_req into .zeny_req ?? Try asking exprt for this... Quote Link to comment Share on other sites More sharing options...
Question
Checkmate
Hello rAthena Comunity..
Actually i do want to asking for help to make
one script npc that are using cash point to rent and item 12622(halted_lead)?..?
If anyone have it can share it...
Thanks In Forward.. ^ ^
Link to comment
Share on other sites
10 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.