From Multi Theft Auto: Wiki
Revision as of 14:03, 4 October 2016 by AlexTMjugador (talk | contribs) (Partially undo revision 49396 by ThePiotrek (talk) - The template is appropiately used there, but made it hidden as it should be now)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function toggles furniture generation in interiors with the specified room ID.


bool setInteriorFurnitureEnabled ( int roomID, bool enabled )          

Required Arguments

  • roomID: The room type which you want disable or enable the furniture in:
    • 0: shop
    • 1: office
    • 2: lounge
    • 3: bedroom
    • 4: kitchen
  • enabled: A bool representing whether the interior furniture is enabled or disabled.


Returns true if successful, false otherwise.


Click to collapse [-]
-- Disable furnishing for all rooms
for i = 0, 4 do
    setInteriorFurnitureEnabled(i, false)

See Also