Documentation
  • 📄TeamsGG Documentation
    • Common Errors
  • Paid Scripts
    • 📱Phone
      • 🧠Installation
      • 🦄Unique phones
      • 💿Configure
      • ⏭️Exports
        • Client side
        • Server side
      • 🪛Commands
      • 🍎Custom apps
    • ☎️Boomer Phone
      • 🧠Installation
      • 🦄Unique phones
      • ⏯️Exports
        • Client side
    • 🏠Properties
      • 🧠Installation
      • 💿Configure
      • 🐚Add More Shells
      • ⏭️Exports
        • Client side
          • GetCurrentPropertyId
          • GetCurrentProperty
          • IsPointInsideProperty
          • OpenPropertyMenu
          • AddKey
          • RemoveKey
          • SetWaypointToProperty
          • GetAllProperties
          • GetKeyHolders
          • PoliceRaidDoor
        • Server side
          • GetAllProperties
          • AddKey
          • RemoveKey
          • ToggleDoorlock
          • GetPlayersInProperty
          • GetKeyHolders
          • DeleteProperty
          • AddStarterApartment
      • 👜State bags
    • 🏦Banking
      • 🧠Installation
      • ⏯️Exports
        • Client side
        • Server side
    • 💸Billing
      • 🧠Installation
      • ⏭️Exports
        • Client side
        • Server side
    • 📊Hud
      • 🧠Installation
      • ⏭️Exports
        • Client side
    • 📦Storage Units
      • 🧠Installation
Powered by GitBook
On this page
  1. Paid Scripts
  2. Properties

Add More Shells

This package does not include shells by default and you need to get them yourself.

Our system includes a complex map config, where you must create or edit the shells using their offsets. Follow this guide to learn how to add more shells.

Can I add new shell or ipl?

Of course, you can edit the ipls.lua or custom/shells/AllShellsBundle.lua at your own risk to add or remove shells or ipl.

Can I restrict shell or ipl to job?

Yes, you can restrict both to a certian job or a certian job grade.

StarterShells.lua
CreateThread(function()
    local StarterShells = {
        ["Standard Motel"] = {
            label = "Standard Motel",
            hash = `standardmotel_shell`,
            jobs = {
                ["realestate"] = 1,
            },
            ...
        },
        ...
    }
    ...
    InsertInteriors(StarterShells, "K4MB1 Starter")
end)
ipls.lua
IPLsData = {
    ["FinanceOffice1"] = {
        label = "Arcadius Business Centre",
        inventory = {
            slots = 50,
            weight = 10000,
        },
        jobs = {
            ["realestate"] = 1,
        }
        ...
    },
    ...
}

How to add new shells?

Add more shells at your own risk or by contacting the creator of those shells.

Don't forget to add a list of images for the realtor!

There's an integrated offset finder in the resource that you can enable in the config.lua -> EnableOffsetFinder and use to find the shell's offset /testshell shellname

After you have the shell's offset, you can create a new file, for example newshells.lua and add it to nolag_properties/custom/shells/ using the following format:

CreateThread(function()
    local shells = {
        ["Modern Hotel"] = {
            label = "Modern Hotel",
            hash = `modernhotel_shell`,
            doorOffset = { x = 4.983124, y = 4.242126, z = -0.817879, h = 175.733047, width = 2.0 },
            stash = {
                maxweight = 80000000,
                slots = 120,
            },
            imgs = {
                {
                    url = "https://r2.fivemanage.com/R97q1rVBsp92SWyV2UCJi/angle_1.png",
                },
            }
        },
    },

    -- the second argument is the name of the category they'll be inserted into
    InsertInteriors(shells, "Custom Shells")
end)
PreviousConfigureNextExports

Last updated 6 months ago

🏠
🐚