ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. 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

enabledbool
true = 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.

See also