Inventory:add
Inventory:add(uniqueID, quantity, data, x, y, noReplication)
This function adds specific item to the inventory. This is most used function to give certain item to the client.
Arguments[edit]
Return Values[edit]
OnSuccess
- Integer slotX
- Integer slotY
- Integer ItemID
OnFailed
- Boolean
false
- String
Reason of the failure of function.
Examples[edit]
none