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 2 months ago

โŒ›
๐Ÿ“–