prontera,155,181,5 script Healer#rent 757,{ // item to rent NPC .@item_id = 7539; // rent NPC for how many days .@rent_day = 30; .@aid = getcharid(3); if ( getd(".rent_aid"+strnpcinfo(3)+"") && getd(".rent_duration"+strnpcinfo(3)+"") > gettimetick(2) ) { if ( getd(".rent_aid"+strnpcinfo(3)+"") == .@aid ) { if ( select( "Continue","Set Healer Cost","Collect Zeny" ) == 2 ) { input .@rental_cost; setd ".rental_cost"+strnpcinfo(3)+"", .@rental_cost; } else if ( @menu == 3 ) { Zeny += getd(".rental_accumulate"+strnpcinfo(3)+""); dispbottom "Collected "+getd(".rental_accumulate"+strnpcinfo(3)+"")+" Zeny"; setd ".rental_accumulate"+strnpcinfo(3)+"", 0; } } if ( getd(".rental_cost"+strnpcinfo(3)+"") ) { dispbottom "Healing Cost: "+getd(".rental_cost"+strnpcinfo(3)+"")+" Zeny"; if ( Zeny < getd(".rental_cost"+strnpcinfo(3)+"") ) close; Zeny -= getd(".rental_cost"+strnpcinfo(3)+""); $rental_accumulate += getd(".rental_cost"+strnpcinfo(3)+""); } percentheal 100,100; // your desired buff heres } else if ( countitem( .@item_id ) ) { mes "Rent Healer NPC ?"; mes "Rental Cost: 1 x "+getitemname( .@item_id ); if ( select( "Yes","No" ) == 1 ) { delitem .@item_id,1; setd ".rent_aid"+strnpcinfo(3)+"", .@aid; setd ".rent_duration"+strnpcinfo(3)+"", gettimetick(2) + ( .@rent_day * 86400 ); mes "NPC belong to you."; } } else { mes "NPC isnt available."; mes "Rental Cost: 1 x "+getitemname( .@item_id ); } close;}
sir could you add GM menu so that GM can reset npc?
like if GM lvl 99 goto GM menu? sorry i dont know how to add reset commands
is this correct to add a another rent healer?
prontera,155,181,5 script Healer#rent1 757,{
found error with GmOcean modifty script :
[Warning]: Incorrect use of 'close' command! (source:Healer#rent / path:npc/basi cnpc/renthealer.txt)



Find content
Not Telling

