📝Configurables

--[[
BY RX Scripts Š rxscripts.xyz
--]]

Config = {}

Config.Locale = 'en'
Config.SaveInterval = 10 -- In Minutes
Config.DefaultRoutingBucket = 0
Config.UseMoney = 'bank' -- Money account used for payments
Config.PostMessageCooldown = 300 -- In Seconds, cooldown on sending post messages to a house
Config.MaxHouses = 5 -- Amount of houses a player can own
Config.SellReturn = 0.5 -- Percentage of the house price you get back when selling (0 - 1)
Config.LaptopProp = 'prop_laptop_01a' -- Prop used for the laptop

Config.AllowedToCreate = {
    jobs = {
        -- 'real_estate_agent',
    },
    groups = {
        'admin',
        'superadmin',
    }
}

Config.Commands = {
    create = 'housing:create',
    delete = 'housing:delete',
}

Config.Ringing = {
    refreshCooldown = 3000, -- In MS
    canOpenStash = true, -- Can the player open the stash whilst being let in by ringing the doorbell?
    canOpenWardrobe = true, -- Can the player open the wardrobe whilst being let in by ringing the doorbell?
}

Config.Keyholders = {
    maxKeyholders = 5, -- false to make unlimited
    canOpenStash = true, -- Can the player open the stash as a keyholder?
    canOpenWardrobe = true, -- Can the player open the wardrobe as a keyholder?
}

Config.BreakIn = {
    enabled = true,
    canOpenStash = true,
    canOpenWardrobe = true,
    minimumCops = 0,
    copsJob = 'police',
    requiredItem = 'lockpick',
}

Config.Raid = {
    enabled = true,
    canOpenStash = true,
    canOpenWardrobe = true,
    requiredItem = 'phone',
    allowedJobs = { -- Minimum grade required
        { job = "police", grade = 0 },
    }
}

Config.Blips = {
    ownedPropertyOwner = { -- When you have the key to the property
        enabled = true,
        color = 26,
        sprite = 40,
        scale = 0.8,
        display = 4,
    },
    ownedPropertyStranger = { -- When you don't own the property
        enabled = true,
        color = 62,
        sprite = 40,
        scale = 0.8,
        display = 4,
    },
    unownedProperty = { -- When the property is unowned
        enabled = true,
        color = 0,
        sprite = 40,
        scale = 0.8,
        display = 4,
    },
}

Config.StashGrades = {
    { -- DEFAULT GRADE
        price = 0,
        weight = 150000,
        slots = 10,
    },
    {
        price = 1000,
        weight = 300000,
        slots = 20,
    },
    {
        price = 2000,
        weight = 500000,
        slots = 30,
    }
}

Config.Shells = {
    -- K4MB1 STARTERPACK FURNITURED SHELLS
    ["standardmotel_shell"] = {
        offsets = {
            door = vector3(-0.397827, -2.530762, -1.556461),
            doorHeading = 274.00531005859,
            laptop = vector3(1.451294, -3.258057, 0.216225),
            laptopHeading = -5.9250378608704,
            stash = vector3(-0.530762, 1.204346, -0.555267),
            clothing = vector3(1.264404, 2.504395, -0.556389),
        },
    },
    ["modernhotel_shell"] = {
        offsets = {
            door = vector3(4.920410, 4.077881, -1.817928),
            doorHeading = 178.88801574707,
            laptop = vector3(0.147583, 1.938477, -0.349930),
            laptopHeading = 13.525725364685,
            stash = vector3(-4.238403, 3.557617, -0.817917),
            clothing = vector3(3.026489, -3.417236, -0.817917),
        },
    },
    ["furnitured_midapart"] = {
        offsets = {
            door = vector3(1.511230, -9.875488, -0.521904),
            doorHeading = 14.050617218018,
            laptop = vector3(-5.873413, 1.514404, 0.247147),
            laptopHeading = 340.99652099609,
            stash = vector3(0.181519, 6.426270, -0.521912),
            clothing = vector3(6.112793, 9.284424, -0.521912),
        },
    },
}

--[[
    ONLY UNCOMMENT/CHANGE THIS IF YOU HAVE RENAMED SCRIPTS SUCH AS FRAMEWORK, TARGET, INVENTORY ETC
    RENAME THE SCRIPT NAME TO THE NEW NAME
--]]
-- ESX = 'es_extended'
-- QB = 'qb-core'
-- OXInv = 'ox_inventory'
-- QBInv = 'qb-inventory'
-- QSInv = 'qs-inventory'
-- PSInv = 'ps-inventory'
-- OKOKG = 'okokGarage'
-- FMAPP = 'fivem-appearance'
IgnoreResourceNotFoundErrors = false

Last updated