Good day!
I am trying to make NPC if possible rent item npc using the NST_CUSTOM.
But where should i place the # of days?
Please help me how. thanks!
I am trying to make NPC if possible rent item npc using the NST_CUSTOM.
But where should i place the # of days?
Please help me how. thanks!
Code:
- trader Rental01 1_M_01,{
OnInit:
tradertype(NST_CUSTOM);
rentitem Red_Potion,2;
end;
OnCountFunds:
setcurrency(#KAFRAPOINTS);
end;
OnPayFunds:
if( #KAFRAPOINTS < @points )
end;
#KAFRAPOINTS -= @points;
purchaseok();
}