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