Can someone help me out on putting a 3 time usage limit per char on a Reset NPC.
set .@resetnpcname$,"[ Reset NPC ]";
// ---- Cost for First usage
set .@Cost1,1000000;
set .@Cost11,2000000;
// ---- Cost for Second usage
set .@Cost2,5000000;
set .@Cost22,10000000;
// ---- Cost for Third usage
set .@Cost3,5000000;
set .@Cost33,10000000;
// ------------ If the Player already used the reset npc
// ------------ for the 3rd time the npc will stop him
// ------------ to use this again as requested
if (#resets >= 3) {
mes "Você já usou o meu serviço três vezes. Vaza";
close;
}else{
That's the starting lines, but it gives account bound 3 time usage, not char. I know I'm missing something, I just can't remember what. Sorry, I'm rusty. Haven't touched scripts in months.
Thanks in advance.