getItem

Returns the info about an item the player has.

p.getItem(item)
Argument
Type

item

string

Example

local p = FM.player.get(1)

local pItem = p.getItem('bread')

Last updated

Was this helpful?