SET_VEHICLE_ALARM
SET_VEHICLE_ALARM **This is the server-side RPC native equivalent of the client native [SET_VEHICLE_ALARM](?\_0xCDE5E70C1DDB954C).**
CFX
Signature
lua
SetVehicleAlarm(GetVehiclePedIsIn(PlayerPedId(), false), true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | — | |
| BOOL | — |
Usage
lua
SetVehicleAlarm(GetVehiclePedIsIn(PlayerPedId(), false), true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
