Inventory:findEmptySlot

Inventory:findEmptySlot(w, h, onlyMain) This function returns the free of certain size. If inventory is fit with the size, it will return the appropriate location of the inventory.

Arguments

 * Integer width
 * Integer height
 * Boolean OnlySearchMain

Return Values

 * Integer slotX
 * Integer slotY

Examples
none