Morning Rathena !!
I need some help with Emistry Vendor Script.
The main problem is, after using the box, the box are not appear again .....
OnSetup:
getmapxy( .@map$,.@x,.@y,UNITTYPE_NPC,"vend_slot"+.@i );
set .@npcname$,strnpcinfo(0);
while( .@map$ != "" ){
if( getareausers( .@map$,.@x,.@y,.@x,.@y ) ){
hideonnpc .@npcname$;
}else{
hideoffnpc .@npcname$;
//specialeffect 313;
}
// sleep 100;
}
end;
}
Here's the full script :
Thanks in advance