Installation and Config
Here you will get your installation guide for the script and how to configure it as per your server.
Installation Guide
Download the script from your Keymaster
Unzip the file
a5-policehub.zipand place it in your resource folderIn your
server.cfgdo ensurea5-policehubRestart your server
Configure Your Resource
QBCore
To use this resource with QBCore Framework. Go to a5-policehub/Shared/sh_config.lua and set the framework to qb
Shared.Framework = 'qb' -- 'qb' 'esx'If you are using Old QBCore without the export. You can enable the option in a5-policehub/Shared/sh_config.lua
Shared.UseOldQB = false -- if you want to use old method of calling core and not the export
Shared.OldQbTrigger = "QBCore:GetObject"You can also edit the getcoreobject function if you renamed your core by going to a5-policehub/server/sv_hub.lua and a5-policehub/client/cl_hub.lua and editing the function
ESX
To use this resource with QBCore Framework. Go to a5-policehub/Shared/sh_config.lua and set the framework to esx
If you are using Old ESX without the export. You can enable the option in a5-policehub/Shared/sh_config.lua
You can also edit the getcoreobject function if you renamed your core by going to a5-policehub/server/sv_hub.lua and a5-policehub/client/cl_hub.lua and editing the function
UI Customisation
You can customise certain elements of the UI through a5-policehub/Shared/sh_config.js
Locale
You can change some certain Script locales by heading to a5-policehub/Shared/sh_lang.lua Additionally you can edit UI locale through the HTML file
Extra Information
You can click and drag the phub to change the position of it
You can drag and use mousewheel to change the opacity
You can scale the phub by clicking the bottom right corner
You can trigger phub from things like Radial Menu by using the following Client trigger
"a5-policehub:client:openHub"but make sure you put a police check as it only exists in the command
Last updated
