Search found 4 matches

by sonicblazer
Mon Sep 07, 2015 5:37 pm
Forum: Scripting
Topic: Deleting Item from Inventory
Replies: 7
Views: 5809

Re: Deleting Item from Inventory

Scenario: A GM was giving items away and accidentally gave one to an incorrect person. Just want to remove the item using the same syntax as giveitem <player> <itemID> <quantity> - assuming the location is in the inventory bag.
by sonicblazer
Mon Sep 07, 2015 2:09 pm
Forum: Scripting
Topic: Deleting Item from Inventory
Replies: 7
Views: 5809

Re: Deleting Item from Inventory

Sorry another noob question. How do I call the UpdateItem function in a lua script?
by sonicblazer
Mon Aug 31, 2015 11:09 pm
Forum: Scripting
Topic: Deleting Item from Inventory
Replies: 7
Views: 5809

Deleting Item from Inventory

Need help in figuring out how to delete an item from inventory. Looking at the charutils.cpp, how do I modify the addItem (into delItem) so that the same parameters still apply and will remove an item with specified quantity? Appreciate the response! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
by sonicblazer
Wed Aug 26, 2015 4:31 am
Forum: Scripting
Topic: Custom PrintToPlayer/PrintToServer Stuff
Replies: 26
Views: 24917

Re: Custom PrintToPlayer/PrintToServer Stuff

Hey guys, is this script still working?