Good day rathena.. just want to ask for help on how to modify this npc shop using the #PVPPOINTS..??
Here's the script of my cash npc shop.. i just want to purchase item in this NPC using #PVPPOINTS instead of #CASHPOINTS.. thank you so much for the help..
- cashshop CashShop_HourPoints -1,7227:2,14545:2,12210:2,12214:2,12260:5,13540:10,13539:10,13538:10,13543:10,13544:10,13545:10,13546:10,14517:2,14518:2,14519:2,14520:2,13718:10,14536:2,12913:15,12914:15,12918:15,12916:20,12915:15,12215:2,12216:2,12220:2,12218:5,12217:2,12219:5,14074:15,12708:3,13804:8,13806:8,13807:8,14262:10,14263:10,14264:10,14265:10,14266:10,14267:10
aretnorp,253,245,4 script Hourlypoints Changer 899,{
mes "[^ff0000Devi^000000]";
mes "How's your day ^990099 "+strcharinfo(0)+"!^000000";
mes "I can sell you rare items using your Cash Points.";
mes "You currently have: ^ff0000"+ #CASHPOINTS +".^000000";
close2;
callshop "CashShop_HourPoints",0;
end;
OnInit:
set .@delay, 1000; // in ms
setarray .@m$[0], // message list
"Exchange Your",
"Hourly Points Here.";
set .@s, getarraysize(.@m$);
while(1) {
for(set .@i,0; .@i<.@s; set .@i,.@i+1) {
waitingroom .@m$[.@i],0;
sleep .@delay;
delwaitingroom;
}
}
end;
}
Question
Brahms
Good day rathena.. just want to ask for help on how to modify this npc shop using the #PVPPOINTS..??
Here's the script of my cash npc shop.. i just want to purchase item in this NPC using #PVPPOINTS instead of #CASHPOINTS.. thank you so much for the help..
- cashshop CashShop_HourPoints -1,7227:2,14545:2,12210:2,12214:2,12260:5,13540:10,13539:10,13538:10,13543:10,13544:10,13545:10,13546:10,14517:2,14518:2,14519:2,14520:2,13718:10,14536:2,12913:15,12914:15,12918:15,12916:20,12915:15,12215:2,12216:2,12220:2,12218:5,12217:2,12219:5,14074:15,12708:3,13804:8,13806:8,13807:8,14262:10,14263:10,14264:10,14265:10,14266:10,14267:10 aretnorp,253,245,4 script Hourlypoints Changer 899,{ mes "[^ff0000Devi^000000]"; mes "How's your day ^990099 "+strcharinfo(0)+"!^000000"; mes "I can sell you rare items using your Cash Points."; mes "You currently have: ^ff0000"+ #CASHPOINTS +".^000000"; close2; callshop "CashShop_HourPoints",0; end; OnInit: set .@delay, 1000; // in ms setarray .@m$[0], // message list "Exchange Your", "Hourly Points Here."; set .@s, getarraysize(.@m$); while(1) { for(set .@i,0; .@i<.@s; set .@i,.@i+1) { waitingroom .@m$[.@i],0; sleep .@delay; delwaitingroom; } } end; }
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.