HeroInventory

From Multi Theft Auto: Wiki
Revision as of 20:43, 13 January 2013 by Malicious Hero (talk | contribs)
Jump to navigation Jump to search

Description

HeroInventory is a new way to expand a roleplay server's features. This resource allows a server to not only archive items; but organize them appropriately! Adding items, and groups are very simple.

Functions

addPlayerItem

bool addPlayerItem ( element playerElement, int itemID, int amount )
@title
        addPlayerItem
@author
	Malicious Hero.
@parameters
	playerElement - The element you wish to add an item to.
	itemID - The item ID; This can be found in g_items.lua.
	amount - The amount of the item you want.
@description
	This will add an item to a client.