SetInteriorFurnitureEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0140|1.4|6097| This function can disable or enable generating furniture in some interiors. }} ==Syntax== <syntaxhighlight lang="lua"> bool s...")
 
(changed version)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client function}}
{{Client function}}
{{New feature/item|3.0140|1.4|6097|
{{New feature/item|3.0140|1.3.5|6100|
This function can disable or enable generating furniture in some interiors.
This function can disable or enable generating furniture in some interiors.
}}
}}

Revision as of 13:33, 30 January 2014

This function can disable or enable generating furniture in some interiors.

Syntax

bool setInteriorFurnitureEnabled ( int roomID, bool enabled )          

Required Arguments

  • roomID: The room type which you want disable or enable furniture
    • 0: shop
    • 1: office
    • 2: lounge
    • 3: bedroom
    • 4: kitchen
  • enabled: enable or not

Returns

Returns true if successful, false otherwise.

See Also