SetVehicleDamage — FiveM Natives
0xA1DD317EA8FD4F29 · VEHICLE · all
Apply damage to vehicle at a location. Location is relative to vehicle model (not world). Radius of effect damage applied in a sphere at impact location When focusOnModel set to true, the damage sphere will travel towards the vehicle from the given point, thus guaranteeing an impact
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | |
| xOffset | float | |
| yOffset | float | |
| zOffset | float | |
| damage | float | |
| radius | float | the size of the damage sphere to apply |
| focusOnModel | BOOL | when set to `true`, the damage sphere will travel towards the vehicle from the given point, thus guaranteeing an impact |
Returns
void