SetInteriorFurnitureEnabled

From Multi Theft Auto: Wiki
Revision as of 13:33, 30 January 2014 by Lopez (talk | contribs) (changed version)
Jump to navigation Jump to search

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

Shared