🐿️
Sqrl Scripts
  • Scripts
    • 📦Self Storage
      • 🔨Install
      • 📃Config
    • 🎁Redeem Code
      • 🔨Install
      • 📃Config
Powered by GitBook
On this page
  1. Scripts
  2. Self Storage

Config

```lua
Config = {}
-- qb | qbx
Config.Core = 'qb'
-- qb | ox
Config.Inventory = 'qb'
-- qb | ox | okok
Config.Notify = 'qb'

Config.Time = 20000 -- 30 minutes -> 30 x 60 x 1000
-- Max amount of missed payments before unit items are deleted
Config.MissedPayments = 3

Config.RaidJobs = {
    'police',
}

Config.Blip = {
    sprite = 357,
    color = 1,
    scale = 0.8,
    label = 'Self Storage',
}

Config.LotSizes = {
    ['small'] = {
        label = 'Small', -- Label for the lot size
        slots = 15,      -- Amount of slots for the lot
        weight = 1000,   -- Max weight for the lot
        price = 1000     -- Price per set amount of time for the lot
    },
    ['medium'] = {
        label = 'Medium',
        slots = 25,
        weight = 5000,
        price = 2000
    },
    ['large'] = {
        label = 'Large',
        slots = 35,
        weight = 10000,
        price = 3000
    },
    ['xlarge'] = {
        label = 'X-Large',
        slots = 45,
        weight = 15000,
        price = 4000
    },
    ['xxlarge'] = {
        label = 'XX-Large',
        slots = 55,
        weight = 20000,
        price = 5000
    }
}

Config.Locations = {
    ['Strawbery'] = {
        label = 'Strawbery',
        blip = true,
        zone = {
            name = "sqrl_selfstorage:strawbery",
            coords = vec3(-74.95, -1242.34, 29.65),
            size = vec3(6.55, 4.0, 3.05),
            rotation = 0.0,
        },
        sizes = {
            'small', 'medium', 'large', 'xlarge'
        }
    },
    ['PTPS'] = {
        label = 'Palmer-Taylor Power Station',
        blip = true,
        zone = {
            name = "sqrl_selfstorage:PTPS",
            coords = vec3(2671.51, 1427.29, 25.0),
            size = vec3(9.0, 11, 3),
            rotation = 0.0,
        },
        sizes = {
            'small', 'medium', 'large', 'xlarge', 'xxlarge'
        }
    },
    ['DPB'] = {
        label = 'Del Perro Beach',
        blip = true,
        zone = {
            name = "sqrl_selfstorage:DPB",
            coords = vec3(-1623.07, -813.84, 11.0),
            size = vec3(11.5, 4.0, 4.0),
            rotation = 322.5,
        },
        sizes = {
            'small', 'medium', 'large', 'xlarge', 'xxlarge'
        }
    },
    ['Chumash'] = {
        label = 'Chumash',
        blip = true,
        zone = {
            name = "sqrl_selfstorage:chumash",
            coords = vec3(-3158.12, 1128.61, 21.0),
            size = vec3(6.5, 6.5, 5.5),
            rotation = 335.0,
        },
        sizes = {
            'small', 'medium', 'large', 'xlarge', 'xxlarge'
        }
    },
    ['GSD'] = {
        label = 'Grand Senora Desert',
        blip = true,
        zone = {
            name = "sqrl_selfstorage:gsd",
            coords = vec3(616.26, 2801.18, 42.0),
            size = vec3(7, 10, 4.0),
            rotation = 0.0,
        },
        sizes = {
            'small', 'medium', 'large', 'xlarge', 'xxlarge'
        }
    },
    ['Paleto'] = {
        label = 'Paleto Bay',
        blip = true,
        zone = {
            name = "sqrl_selfstorage:paleto",
            coords = vec3(-81.3, 6496.29, 31.0),
            size = vec3(6, 7, 5.0),
            rotation = 315.0,
        },
        sizes = {
            'small', 'medium', 'large', 'xlarge', 'xxlarge'
        }
    },
    ['LAM'] = {
        label = 'La Mesa',
        blip = true,
        zone = {
            name = "sqrl_selfstorage:lam",
            coords = vec3(917.45, -1263.45, 26.0),
            size = vec3(14, 13, 4.0),
            rotation = 35.0,
        },
        sizes = {
            'small', 'medium', 'large', 'xlarge', 'xxlarge'
        }
    }
}
```
PreviousInstallNextRedeem Code

Last updated 11 months ago

📦
📃