FWB STUDIO
Visit Store
  • Fwb Studios
    • 👋Welcome to FWB STUDIOS
      • FWB STUDIOS
    • ❓Common Questions
    • ⬆️How to Get Updates On Scripts
  • FiveM Escrow Errors
    • 🛠️ERRORS
      • ⚠️Is my error caused by FiveM escrow system?
      • ❓Failed to verify protected resource
      • ❓What steps should be taken if there are still errors?
  • How To Do This
    • 🛠️Install FwB Scripts
      • 5️ESX/QB Installation
  • FS SCRIPTS
    • 🌉Bridge
      • 📋Installation
      • Logs Setup
      • Integration
        • 📖Client_Override
        • 📖Server_Override
      • ❗Common Issues
    • 💳Fraud System
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 👠Skitz
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ⚒️Functions/Exports
      • ❗Common Issues
    • 🦱Weave Wear
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ⚒️Functions/Exports
      • ❗Common Issues
    • ⌛Safezone Creator
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ❗Common Issues
    • 🍌Useable Foods
      • 📋Installation
      • ❗Common Issues
    • 🍕Pizza Shop
      • 📖[ESX/QB] Config
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🍔Burger Shop
      • 📖[ESX/QB] Config
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 📱Trap Phone
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🚗Carwipe
      • 📖[ESX/QB] Config Files
      • 📄Send Vehicle Garage
      • 📖Unlocked FIle
      • 📋Installation
      • 📖Exports
      • ❗Common Issues
    • 📦Placeables
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • Money As Item in Ox Inventory
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🚬Smoking
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🌱White Widow
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 👕Clothing As Item
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • 📖Item Whitelist
      • ❗Common Issues
    • 💎Ice Box
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🔫Switch
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🔫Gun Jamming
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 👀Lashes Saloon
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 💅Nails Saloon
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 🕐Duty System
      • 📖[ESX] Config Files
      • 📖[QB] Config Files
      • 📋Installation
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🦱Wigs Bundle
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📋Create New Wigs
    • 🚗Chop Shop
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📋Exports (Optional)
      • ❗Copy of Common Issues
Powered by GitBook
On this page
  1. FS SCRIPTS
  2. Safezone Creator

[ESX/QB] Config Files

Please read before purchase to under full functionality of our script

ESX/QB Config
config = {}

config.WhitelistedWeapons = {
    [`weapon_pistol`] = true,
    --[`weapon_combatpistol`] = true,
}

config.WhitelistedJobWeapons = {
    police = {
    --    [`weapon_stungun`] = true,
    },
    ambulance = {
    --    [`weapon_carbinerifle`] = true,
    },
}

config.AdminCommand = {
    command = 'safezonemenu', -- manage safezones
    permission = {
        admingroups = {
            ['admin'] = true
        },
        jobgroups = {
            ['police'] = 0
        },
        aces = {
            ['safezonemenu'] = true,
        },
        identifiers = {
            ['lic:asasasa'] = true,
            ['discord:asasas'] = true,
        },
        characters = {
            ['char1:asasasasas'] = true,
            ['char2:asasasasas'] = true,
        }
    }
}

config.SafeZoneAdminWhitelist = { -- any player with these permissions can enter safezone as admin
    admingroups = {
        ['admin'] = true
    },
    jobgroups = {
        ['police'] = 0
    },
    aces = {
        ['safezonemenu'] = true,
    },
    identifiers = {
        ['lic:asasasa'] = true,
        ['discord:asasas'] = true,
    },
    characters = {
        ['char1:asasasasas'] = true,
        ['char2:asasasasas'] = true,
    }
}

config.Creation = {
    CamSettings = {
        MoveSpeed = {
            default = 0.15,
            shift = 1.0
        },
        Zone_min_thickness = 50
    },
    Controls = {
        forward = {
            label = "Forward +/-",
            -- S, W
            codes = { 33, 32 },
        },
        right = {
            label = "Right +/-",
            -- D , A
            codes = { 35, 34 },
        },
        up = {
            label = "Up +/-",
            --- Q , E
            codes = { 52, 51 },
        },
        shift = {
            label = "Shift",
            -- LEFT SHIFT
            codes = { 21 },
        },
        add_point = {
            label = "Add Point",
            -- LEFT MOUSE BUTTON
            codes = { 69 },
        },
        undo_point = {
            label = "Undo Last",
            -- RIGHT MOUSE BUTTON
            codes = { 70 },
        },
        heigh_point = {
            label = "Height +/-",
            -- SCROLL UP, SCROLL DOWN
            codes = { 335, 334 },
        },
        save = {
            label = "Save",
            -- ENTER
            codes = { 191 },
        },
        cancel = {
            label = "Cancel",
            -- BACKSPACE
            codes = { 194 },
        }
    }
}


config.Notification = {
    title = 'SafeZone',
    duration = 5000,
    icon = 'fa-solid fa-hand',
    iconColor = 'blue'
}
PreviousSafezone CreatorNextUnlocked FIle

Last updated 3 months ago

⌛
📖