Skip to content

How To Add New House

This is a house template. Using this draft, we will watch a new one with you.

{ 
      name = "",
      price = 500000,
      coords = {      
        house_in = vector3(-974.3, 582.2, 102.7),
        house_out = Config.Aparts["house_mid"].out, -- vector3(-782.2, 319, 187.9)
        garage_in = vector3(-986.3, 584.6, 102.4),
        garage_out = Config.Aparts["house_mid"].garage, -- vector3(232.4, -1005.8, -99)
        manage = Config.Aparts["house_mid"].manage, -- vector3(-785.6, 327.3, 187.3)
        stash = Config.Aparts["house_mid"].stash,
        wardrobe = Config.Aparts["house_mid"].wardrobe,
        garage_out_heading = Config.Aparts["house_mid"].garage_out_heading, --  350.6
      },
      owner = "",
      friends = {},
      garage = {},
      stars = 2,
      theme = "kirmizi",
      garage_stock = 12,
      pool_or_garden = true,
      extends = {},
      props = {},
      alarm = false,
      info = Config.Aparts["house_mid"]
    }

Important Variables

config

Copy and paste new house data after "," and after paste dont miss ",".

  • name = You can set whatever you want
  • price = You can set whatever price you want
  • house_in = The coordinate of the front of the door of the house you want.
  • garage_in = The coordinate of the front of the garage door of the house you want.
  • Config.Aparts["HERE"] = Apartment themes (IPL's, Prop Based Houses)

Please do not omit commas. In case of comma errors, the script may become inoperable.

Example: adding a new home

All the newly added house table

Config.Aparts["PUT HERE YOUR THEME"] -- You have to replace all that are inside the table.

How do I find apartment types?

The codes you see below are examples of apartments.

apartment3 is a GTA 5 IPL Apartment house.

house_low is a house from the qua_adez_hotel map.

Simply select a home theme from the Config.Aparts' Table.

Config.Aparts = {

  ["apartment3"] = {
      out = vector3(-782.2, 319, 187.9),
      manage = vector3(-785.6, 327.3, 187.3),
      garage = vector3(-888.567017, -457.120880, -37.731812),
      stash = vector3(-796.5, 328.2, 187.3),
      wardrobe = vector3(-797.8, 328.3, 190.7),
      garage_out_heading = 350.6,
      Theme = {
        modern = {interiorId = 227841,  ipl = "apa_v_mp_h_01_c", img = "./interiors/modern.png" },
        moody = {interiorId = 228609, ipl = "apa_v_mp_h_02_c", img = "./interiors/moody.png" },
        vibrant = {interiorId = 229377, ipl = "apa_v_mp_h_03_c", img = "./interiors/vibrant.png" },
        sharp = {interiorId = 230145, ipl = "apa_v_mp_h_04_c", img = "./interiors/sharp.png" },
        monochrome = {interiorId = 230913, ipl = "apa_v_mp_h_05_c", img = "./interiors/monochrome.png" },
        seductive = {interiorId = 231681, ipl = "apa_v_mp_h_06_c", img = "./interiors/seductive.png" },
        regal = {interiorId = 232449, ipl = "apa_v_mp_h_07_c", img = "./interiors/regal.png" },
        aqua = {interiorId = 233217, ipl = "apa_v_mp_h_08_c", img = "./interiors/aqua.png" }
     },
     DefaultIPL = "apa_v_mp_h_01_c",
     UsingTheme = true,
     props = {}
  },

  ["house_low"] = { 
       out = vector3(-896.6, -446.8, -22.3),
       manage = vector3(-893.5, -445.6, -22.3),
       garage =  vector3(-888.567017, -457.120880, -37.731812),
       stash = vector3(-892.2, -440.8, -22.3),
       wardrobe = vector3(-894.8, -443.6, -22.3),
       garage_out_heading = 350.6,
       Theme = {},
       DefaultIPL = "qua_adez_k_milo",
       UsingTheme = false,
       props = {
          "esyali", "esyasiz", "kirmizi", "mavi", "mor", "turuncu"
       }
  },
}

What you need to do next is

theme = "PUT DEFAULT THEME OPTION",

If you want to fill in here for IPL, you must write exactly one of them here. This default home is the theme that will come available upon purchase. config

Example:

theme = "modern",

If you want to use one of the houses on the map we made, you must choose one of them.

config

Example:

theme = "kirmizi",

Setting the theme is that easy.

Coordinate setting

Setting the outer door coordinate. You can add the coordinate of the door of the house you want on the map. It will be enough to go to the doors of the houses and get the coordinate information.

house_in = vector3(X COORDS, Y COORDS, Z COORDS),

Setting the garage door coordinate. You can add the coordinate of the door of the house you want on the map. It will be enough to go to the garage doors of the houses and get the coordinate information.

garage_in = vector3(X COORDS, Y COORDS, Z COORDS),

Finishing

Paste the table you edited after ",", pay attention to the commas, otherwise the script may not work. config