Native referenceRedMclient

ENABLE_DISPATCH_SERVICE

0x50E52637EF70EF77 MISC
FUNCTION SIGNATURE
void ENABLE_DISPATCH_SERVICE(int dispatchService, BOOL toggle);
Property Value
Native Name ENABLE_DISPATCH_SERVICE
Hash 0x50E52637EF70EF77
Return Type void
Build 1207
API Set client
Parameters dispatchService (int), toggle (BOOL)

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

Lua (Direct):

EnableDispatchService(dispatchService, toggle)

Lua (Hash):

Citizen.InvokeNative(0x50E52637EF70EF77, dispatchService, toggle)
Back to MISC