Checkmate Posted July 19, 2013 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
Brynner Posted July 20, 2013 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
Capuche Posted July 19, 2013 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
Checkmate Posted July 20, 2013 Author 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
Brynner Posted July 20, 2013 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
Checkmate Posted July 20, 2013 Author Posted July 20, 2013 Still the same prob... Close button did not show up.... Quote
Brynner Posted July 20, 2013 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
Checkmate Posted July 20, 2013 Author 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
Checkmate Posted July 20, 2013 Author 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
karazu Posted September 14, 2013 Posted September 14, 2013 What if the NPC needs TCG? can u give me a quick guide please? Quote
Checkmate Posted September 14, 2013 Author 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
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.. ^ ^
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.