Base Resource
Vcore-dispatch
Vcore-dispatch is part of Vcore Framework.
Introduction
Vcore-dispatch is part of Vcore Framework.
2Client Lua
2Server Lua
6Exports
12Events
1SQL tables
UI page: html/index.html
Dependencies & References
| Resource | Type | Package status |
|---|---|---|
core | Manifest dependency | Included in Base |
logs | Manifest dependency | Included in Base |
oxmysql | Manifest dependency | External / prerequisite |
vehiclelocks | Referenced resource | Included in Base |
Cross-resource export calls
| Resource | Functions called |
|---|---|
core | getCoreObject |
logs | Log |
vehiclelocks | HasKey |
Installation / Start Order
Install the resource with its required dependencies, then enable it in your resource start order.
server.cfg
ensure dispatchConfiguration
Config files
config.lua
Top-level config keys
ActiveCallSecondsAlertDisplaySecondsAlertRecallKeyAllowedJobsBlacklistWeaponsCallBlipSecondsCallRetentionHoursClientReportCooldownMsClientReportsCrimeDetectionCooldownsDatabaseTableDefaultUrgencyJobAccessJobTypesManageGradeMaxCallsPersistCallsUnitStatusesUrgenciesEvents, Exports & Callbacks
Exports
Client exports1
GetGenderedName
Server exports5
AddCallAddCallZoneCreateCallGetActiveCallsGetCall
Callbacks
Server callbacks8
dispatch:server:addNotedispatch:server:assignCalldispatch:server:bootstrapdispatch:server:clearCalldispatch:server:createCalldispatch:server:setStatusdispatch:server:unassignCalldispatch:server:updateCall
Registered network events
Client registered events11
VCORE:Client:OnJobUpdateVCORE:Client:OnPlayerLoadedVCORE:Client:OnPlayerUnloaddispatch:client:callAddeddispatch:client:callRemoveddispatch:client:callUpdateddispatch:client:closedispatch:client:createCalldispatch:client:opendispatch:client:panicdispatch:client:unitUpdated
Server registered events1
dispatch:server:addCall
Commands
Client commands11
+dispatch_delete+dispatch_next+dispatch_previous+dispatch_recall+dispatch_waypoint-dispatch_delete-dispatch_next-dispatch_previous-dispatch_recall-dispatch_waypointdispatch
Server commands3
311911panic
Database / SQL
| File | Type |
|---|---|
sql/dispatch.sql | Resource SQL file |
dispatch_callsVcore also includes the consolidated VCORE_INSTALL.sql.
Source Layout
| Area | Files |
|---|---|
| Client Lua | 2 |
| Server Lua | 2 |
| Other/shared Lua | 2 |
| JavaScript | 1 |
| HTML | 1 |
| CSS | 1 |
| SQL | 1 |
Troubleshooting
- Confirm all manifest dependencies are started before
dispatch. - Confirm the resource is enabled in the correct start order.
- If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
- If the UI fails, verify the resource's NUI files and
ui_pagewhen one is declared.

