HaveItem
Check if the player have that item
Argument | Data Type | Needed | Default | Description |
---|---|---|---|---|
id | number | - | ||
Item | string | - | The item name |
Dont need to be called every frame
Returns
Data Type | Description |
---|---|
boolean | If have or no the item |
Example
local have_item = HaveItem(source, "bread")
Last update: October 31, 2022
Created: June 27, 2021
Created: June 27, 2021