- script Sample-1,{OnInit:set.amount,40;// amount of item to showerset.item_id,7227;// item id to showerset.item_id2,1234;// next item id to showerset.map$,"prontera";// map to shower
bindatcmd "itemshower",strnpcinfo(3)+"::OnShower";end;OnShower:while(.count <.amount ){do{.@x= rand(1,500);.@y= rand(1,500);}while(!checkcell(.map$,.@x,.@y,cell_chkpass));.@var= rand(2);
makeitem .@var?.item_id:.item_id2,1,.map$,.@x,.@y;set.count,.count +1;}set.count,0;end;}
can anyone change this to area only where i use @itemshower instead of random area thanks.
Question
behemothcze
can anyone change this to area only where i use @itemshower instead of random area thanks.
Link to comment
Share on other sites
16 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.