Adding Furniture

Head to sn_properties > shared furniture.lua

Inside of the category you want inside of objects = { add the following

{
    model = 'model Name', -- The model name
    price = 10, -- Price
    max = 1, -- (optional) sets a max the property can have
    heading = 180, -- (optional) sets the heading the prop spawns at
    options = { -- (optional)
         { model = 'model Name', price = 0}, --other object tables
    },
    inventory = true or {label: string, slots: slots: number, maxweight: number}, --(option) makes the furniture inventory storage
    wardrobe = true,  --(optional) makes the furniture have option to change clothes
},

Generating Images

Ingame do /scfurniture [model name]

  1. Go in game

  2. In chat type /scfurniture [model name]

Simply hit enter and the image will be auto generated then just restart sn_properties and your images will be updated!

Last updated