Anubis 0 Posted January 12, 2021 (edited) Hello, Good day! anyone know how to fix script? the item does not appear thank you switch(select("I want to check shop:I'm good thank you..")) { case 1: callshop "woe_shop",4; end; // Shop items: <ID>,<point cost> setarray .Shop, 4001,1, 4004,1, 4033,1, 4196,1, 4197,25, 4054,50, 4174,75, 4047,100; npcshopdelitem "woe_shop",909; for(.@i=0; .@i<getarraysize(.Shop); .@i+=2) npcshopadditem "woe_shop",.Shop[.@i],.Shop[.@i+1]; case 2: mes "Thats good to hear!"; close; } } - pointshop woe_shop -1,#WOEPOINTS,909:-1 Edited January 12, 2021 by Anubis Quote Share this post Link to post Share on other sites
0 4144 366 Posted January 12, 2021 pointshop look like this is rathena. better add tag what your question related to rathena. Quote Share this post Link to post Share on other sites
Hello, Good day! anyone know how to fix script? the item does not appear thank you
switch(select("I want to check shop:I'm good thank you..")) {
case 1:
callshop "woe_shop",4;
end;
// Shop items: <ID>,<point cost>
setarray .Shop,
4001,1,
4004,1,
4033,1,
4196,1,
4197,25,
4054,50,
4174,75,
4047,100;
npcshopdelitem "woe_shop",909;
for(.@i=0; .@i<getarraysize(.Shop); .@i+=2)
npcshopadditem "woe_shop",.Shop[.@i],.Shop[.@i+1];
case 2:
mes "Thats good to hear!";
close;
}
}
- pointshop woe_shop -1,#WOEPOINTS,909:-1
Edited by Anubis
Share this post
Link to post
Share on other sites