Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //============================================================//
- // This script is made by Plug and Play //
- // Contact us on Facebook http://facebook.com/plugandplayPH //
- // Website : http://plugandplay.cf //
- //============================================================//
- - script UseItemPick -1,{
- //--Start of the Script
- OnPCLoginEvent:
- attachnpctimer ""+strcharinfo(0)+"";
- initnpctimer;
- end;
- OnTimer10: //Check for 10 Miliseconds
- for (set @i,0; @i < getarraysize(.PickUPList); set @i,@i+1){
- if( countitem(.PickUPList[@i]) >= 1 ){
- //consumeitem .PickUPList[@i]; // use the item ( only fo Usable/Healing Items ( Potions or HP/SP Pots )
- delitem .PickUPList[@i],1; // delete the item
- // NOTE : add comment line // before consumeitem, if the item is not a consumable items ( by default its disabled )
- }
- }
- stopnpctimer;
- initnpctimer;
- end;
- OnInit:
- setarray .PickUPList,501,502,503,504,505; // put the item you want to removed once they pick up or once they have it in there inventory
- end;
- }
- //--End of the Script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement