- Documentation
- Server functions
- setInteriorFurnitureEnabled
Function
setInteriorFurnitureEnabled
Stores whether interiors (houses, shops) should have furniture (yes by default). Useful when you place your own furnishings inside.
Syntax
bool setInteriorFurnitureEnabled(bool enabled)Arguments
enabledbooltrue= furniture on.Different type in MTA:SA: int roomID
Differences from MTA:SA
- Arguments in a different colour differ from MTA:SA.
- These MTA:SA arguments are not here:
bool enabled
In MTA:SA
setInteriorFurnitureEnabled(int roomID, bool enabled)Returns
true on success.
Example
setInteriorFurnitureEnabled(false)
Notes
State for scripts. The game does not remove furniture based on it yet.