AddStoredFurniture
lua
The piece goes into the property's stored furniture. Anyone who can furnish the property can then place it.
It fails for starter apartments when furniture is turned off for them.
Parameters
- propertyId:
numberThe property ID - furnitureName:
stringThe furniture model name, as in the furniture catalog - environment?:
'inside' | 'outside'Where the piece can be placed. Defaults to'inside'.
Return Value
booleanWhether the furniture was added.falseif the property or the furniture doesn't exist.
Example
lua