setIncidentRequestedUnits
SET_INCIDENT_REQUESTED_UNITS0xB08B85D860E7BA3CThe GTA V native SET_INCIDENT_REQUESTED_UNITS of the MISC namespace, as LS:MP client scripts call it: the global function setIncidentRequestedUnits, in JavaScript and in Lua.
setIncidentRequestedUnits(
incidentId: number,
dispatchService: number,
numUnits: number
): voidsetIncidentRequestedUnits(
incidentId: integer,
dispatchService: integer,
numUnits: integer
)Usage
JavaScript
setIncidentRequestedUnits(incidentId, dispatchService, numUnits);Lua
setIncidentRequestedUnits(incidentId, dispatchService, numUnits)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
incidentId | int | number | integer |
dispatchService | int | number | integer |
numUnits | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Misc MISC
- In the game
void SET_INCIDENT_REQUESTED_UNITS(int incidentId, int dispatchService, int numUnits)- Hash
0xB08B85D860E7BA3C