SetVehicleHeadlightShadows — FiveM Natives
0x1FD09E7390A74D54 · VEHICLE · all
Sets the vehicle headlight shadow flags. `` NativeDB Introduced: v323 ` `cpp enum eVehicleHeadlightShadowFlags { // Default (Lights can be toggled between off, normal and high beams) NO_HEADLIGHT_SHADOWS = 0, // Lights Disabled (Lights are fully disabled, cannot be toggled) HEADLIGHTS_CAST_DYNAMIC_SHADOWS = 1, // Always On (Lights can be toggled between normal and high beams) HEADLIGHTS_CAST_STATIC_SHADOWS = 2, HEADLIGHTS_CAST_FULL_SHADOWS = 3 }; ``
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | The target vehicle. |
| flag | int | A value from `eVehicleHeadlightShadowFlags` representing the desired headlight shadow flag. |
Returns
void