SetVehicleDoorShut — FiveM Natives
0x93D9BD300D7789E5 · VEHICLE · all
Sets the specified door index shut on the passed vehicle. ``cpp enum eDoorId { VEH_EXT_DOOR_DSIDE_F = 0, VEH_EXT_DOOR_DSIDE_R = 1, VEH_EXT_DOOR_PSIDE_F = 2, VEH_EXT_DOOR_PSIDE_R = 3, VEH_EXT_BONNET = 4, VEH_EXT_BOOT = 5, // 0x872E72B8 = 0xFFFFFFFF, } ``
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | Vehicle. |
| doorIndex | int | Index of the door you want to close. |
| closeInstantly | BOOL | Whether the doors close instantly. |
Returns
void