Base Resource
dispatch
The supplied manifest describes this resource as “VCore - Dispatch”.
Introduction
The supplied manifest describes this resource as “VCore - Dispatch”.
2Client Lua
2Server Lua
6Exports
12Events
1SQL tables
UI page: html/index.html
Dependencies & References
| Resource | Detected as | Package status |
|---|---|---|
core | Manifest dependency | Included in Base |
logs | Manifest dependency | Included in Base |
oxmysql | Manifest dependency | External / prerequisite |
vehiclelocks | Referenced by source | Included in Base |
Cross-resource export calls
| Resource | Functions called |
|---|---|
core | getCoreObject |
logs | Log |
vehiclelocks | HasKey |
Installation / Start Order
The supplied server.cfg enables this resource in the Core systems stage at enabled-resource position 33. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.
server.cfg
ensure dispatchConfiguration
Config files
config.lua
Top-level config keys detected
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_callsThe root Base package also ships the consolidated VCORE_INSTALL.sql.
Source Layout
| Area | Detected 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. - Check the supplied start-order note above; resources absent from server.cfg need an explicit decision before enabling.
- 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.

