case 1:
mes "[Trader]";
mes "Please remove your items from inventory which u want and store them safe!";
next;
switch(select("I know:Thx for help")) {
case 1:
deletearray @inventorylist_id;
deletearray @inventorylist_amount;
getinventorylist();
for(set .@i, 0; .@i < @inventorylist_count; set .@i, .@i + 1);
set .@payment, .@payment + getiteminfo(@inventorylist_id[.@i], 1) * @inventorylist_amount[.@i];
atcommand "@itemreset ";
set Zeny, Zeny + .@payment;
end;
case 2:
mes "[Trader]";
mes "Talk to me again when you are ready";
close;
}
does nothing just removes the item but no zeny changes are made can anyone help me!!
Question
punit
what am i doing wrong?
<code>
Link to comment
Share on other sites
2 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.