removeItem
Removes item(s) from the player.
p.removeItem(item, amount)
Argument
Type
item
string
amount
number
Example
local p = FM.player.get(1)
p.removeItem('bread', 10)
Last updated
Was this helpful?
Removes item(s) from the player.
p.removeItem(item, amount)
item
string
amount
number
local p = FM.player.get(1)
p.removeItem('bread', 10)
Last updated
Was this helpful?