Syntax: Inventory.AddItem( ScriptHandle id )
Adds item with parameters passed from parameter table: item = { sItemClassId = "0", -- GUID of item class in database sOwnerId = "0", -- GUID of the item owner fHealth = 1, -- 1 is 100% health
Copyright (c) 2012. All rights reserved.
|