SET_VEHICLE_ALARM
SET_VEHICLE_ALARM This is the server-side RPC native equivalent of the client native SET_VEHICLE_ALARM.
Signature
void SET_VEHICLE_ALARM(Vehicle vehicle, BOOL state);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
state | BOOL | — |
Returns void
Description
This is the server-side RPC native equivalent of the client native SET_VEHICLE_ALARM.
Usage
SetVehicleAlarm(vehicle, state)
-- always works, by hash
Citizen.InvokeNative(0x24877d84, vehicle, state)JavaScript and C#
SetVehicleAlarm(vehicle, state);
// by hash
Citizen.invokeNative('0x24877d84', vehicle, state);Function.Call((Hash)0x24877d84, vehicle, state);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.