Method Player:AddItem [-] [+]

Adds the given amount of the specified item entry to the player.

Synopsis

item = Player:AddItem( entry )

item = Player:AddItem( entry, itemCount )

Arguments

number entry

Entry of the item to add.

Valid numbers: integers from 0 to 4,294,967,295.

number itemCount (1)

Amount of the item to add.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

Item item

The item that was added or nil.

Generated on 11/04/2018
©2016 - Eluna Lua Engine