Skip to content

HaveItemQuantity

Check if the player have that item quantity

Argument Data Type Needed Default Description
id number -
Item string - The item name
Quantity number - The item quantity

Dont need to be called every frame

Returns
Data Type Description
boolean If have or no the item quantity

Example
local have_item = HaveItemQuantity(source, "bread", 3)

Last update: October 31, 2022
Created: January 6, 2022