L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help erro
Author Message
Atrivido Offline
Goblin Grave Robber
*

Posts: 12
Joined: Dec 2011
Reputation: 0
Version: 1.4.1.97
Post: #1
Information Help erro

ShowToClient("SYS","AutoDel item: Enabled!");


function DeleteItems(ItemId)
local invList = GetInventory();
for item in invList.list do
if(item.displayId == ItemId) then
DeleteItem(item.objectId, item.ItemNum);
ShowToClient("SYS","Item found and delete!")
end;
end
end;


repeat
Sleep(500);
DeleteItems(34898); -- Proof of Survival item ID
Sleep(3000);
until false;


Attached File(s) Thumbnail(s)
   
05-24-2014 08:00 AM
Find all posts by this user Quote this message in a reply
eustach3 Offline
VIP Member
***

Posts: 324
Joined: Sep 2011
Reputation: 133
Version: 1.4.3.143
Post: #2
RE: Help erro

It`s pretty easyBig Grin DeleteItem - Function allow to remove item from inventory.
Only for premium users!
05-24-2014 10:50 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Help erro c++ atrivido1 6 3,445 08-24-2015 14:12 PM
Last Post: Szakalaka
  Got Erro benbt91 2 2,449 07-20-2015 05:40 AM
Last Post: Fox
  Someone know what is this erro ? benbt91 13 7,154 05-31-2014 01:34 AM
Last Post: benbt91
  L2 Tower v1.4.1.119 Erro = Assist , Follow.Party Buffs penetrafox 12 8,533 05-06-2014 05:31 AM
Last Post: UDP
  critical erro [ reason : violation acess ] metoomyself 0 1,855 10-25-2012 18:39 PM
Last Post: metoomyself



User(s) browsing this thread: 1 Guest(s)