
- ESX
- QBCore
Origen Police (QBCore & ESX)
Origen Network
$23.00$16.10
10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 110% off every shop order, applied automatically at checkoutBlack Friday: 30% off everything until December 1, applied automatically at checkoutServer templatesServer templatesNew account: a welcome credit on your first order

Hamz CAD is a web-based computer-aided dispatch system for FiveM roleplay servers. It runs on your own web server and connects to the game through the included FiveM resources and a Discord bot.
WEB FILES/hamzcad: the PHP web applicationSQL FILES/hamzcad.sql: the databaseFIVEM FILES: the hamz-cad resource, faxbase for notifications, hamz-wraith (Wraith radar) and hamzbot, a Node.js Discord bot with CAD name and plate commandsSQL FILES/hamzcad.sql into it. The file creates the tables only; config.php expects a database named hamzcad by default.WEB FILES/hamzcad to your web server and edit config.php: BASE_URL, the database connection, the Discord settings (TOKEN, GUILD_ID, OAuth2 client ID and secret), the log channel IDs and $ADMINROLES, the Discord roles whose members can log in as admin and set the CAD permissions. The download ships two role IDs there; replace them with yours.faxbase, hamz-cad and hamz-wraith from FIVEM FILES into your resources folder. Keep the name faxbase: its README warns that another name can break it.hamz-cad/server.lua: cadurl in the first line is the base address without a trailing slash, to which the script appends /api/namecheck and /api/platecheck. In hamz-wraith/svr_radar.lua, replace the full address in the two bolocheck requests (https://localhost/hamzcad/api/bolocheck/ in the download) with your CAD's /api/bolocheck/ address. The download ships other addresses in both files.ensure faxbase, ensure hamz-cad and ensure hamz-wraith to your server.cfg. In game, /namecheck (/nc) and /platecheck (/pc) query your CAD.FIVEM FILES/hamzbot on the machine that runs it and run npm i (the included install.bat does this on Windows and writes a start.bat). Set token, prefix and CadURL in config.js and start it with node index.js. CadURL takes the address without a trailing slash. By default it answers !cadname and !cadplate. Its package.json depends on discord.js ^12.5.3.Step-by-step guide: how to install a FiveM script
Checked: all 3 resources of this download.
Hamz CAD

Origen Network

Codesign


ScriptsM

Wasabi Scripts

rcore

Mads

3.7 MB · 1 file · 3 resources in the download