ENABLE_DISPATCH_SERVICE
DT_Invalid, DT_PoliceAutomobile, DT_PoliceHelicopter, DT_FireDepartment, DT_SwatAutomobile, DT_AmbulanceDepartment, DT_PoliceRiders, DT_PoliceVehicleRequest, DT_PoliceRoadBlock, DT_PoliceAutomobileWaitPulledOver, DT_PoliceAutomobileWaitC…
Hash
0x50E52637EF70EF77Runtime name
EnableDispatchServiceNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xDC0F817884CDD856Signature
void ENABLE_DISPATCH_SERVICE(int dispatchService, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
dispatchService | int | — |
toggle | BOOL | — |
Returns void
Description
enum DispatchType
{
DT_Invalid,
DT_PoliceAutomobile,
DT_PoliceHelicopter,
DT_FireDepartment,
DT_SwatAutomobile,
DT_AmbulanceDepartment,
DT_PoliceRiders,
DT_PoliceVehicleRequest,
DT_PoliceRoadBlock,
DT_PoliceAutomobileWaitPulledOver,
DT_PoliceAutomobileWaitCruising,
DT_Gangs,
DT_SwatHelicopter,
DT_PoliceBoat,
DT_ArmyVehicle,
DT_OnFoot,
DT_PoliceDogs
};Usage
EnableDispatchService(dispatchService, toggle)
-- always works, by hash
Citizen.InvokeNative(0x50E52637EF70EF77, dispatchService, toggle)JavaScript and C#
EnableDispatchService(dispatchService, toggle);
// by hash
Citizen.invokeNative('0x50E52637EF70EF77', dispatchService, toggle);Function.Call((Hash)0x50E52637EF70EF77, dispatchService, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.