SET_VEHICLE_DOOR_BROKEN
This is the server-side RPC native equivalent of the client native SET_VEHICLE_DOOR_BROKEN.
Signature
void SET_VEHICLE_DOOR_BROKEN(Vehicle vehicle, int doorIndex, BOOL deleteDoor);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
doorIndex | int | — |
deleteDoor | BOOL | — |
Returns void
Description
See eDoorId declared in SET_VEHICLE_DOOR_SHUT
This is the server-side RPC native equivalent of the client native SET_VEHICLE_DOOR_BROKEN.
Usage
SetVehicleDoorBroken(vehicle, doorIndex, deleteDoor)
-- always works, by hash
Citizen.InvokeNative(0x8147fea7, vehicle, doorIndex, deleteDoor)JavaScript and C#
SetVehicleDoorBroken(vehicle, doorIndex, deleteDoor);
// by hash
Citizen.invokeNative('0x8147fea7', vehicle, doorIndex, deleteDoor);Function.Call((Hash)0x8147fea7, vehicle, doorIndex, deleteDoor);Enums and flags
- eDoorId 13 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.