
Overview
A powerful ESX / QBCore script that lets you create and manage custom zones and names, with exports for use as a notification or in Car Radio.
Features
- Create unlimited custom zones with names
- Smart exports — use as notifications or CarPlay
- Multiple date & time formats
- Local or 24-hour timezone modes
- Easy to configure, developer friendly
01. Installation
Drop into your resources folder, import the SQL and start the resource. Takes under a minute.
terminal
cd resources/[oceanic]
git clone https://github.com/oceanicdevelopment/zone-display
ensure zone-display02. Configuration
Edit config.lua to match your framework and preferences.
config.lua
Config = {}
Config.Framework = "qb-core"
Config.DateFormat = "YYYY/MM/DD"
Config.TimeFormat = 24
Config.ExportForCarRadio = true
return Config03. Exports
Use these from any other resource to integrate Zone Display into your server.
exports['zone-display']:getZone()Returns the current zone nameexports['zone-display']:registerZone(coords, name)Register a custom named zone
