SetVehicleInfluencesWantedLevel — FiveM Natives
0x0AD9E8F87FF7C16F · VEHICLE · all
This native sets whether a specific vehicle influences the player's wanted level when it is involved in an incident that typically triggers a wanted response, such as being marked as a "victim" vehicle. This is particularly useful when utilizing the wanted system from GTA, and you want to prevent a vehicle from affecting the wanted level when it is stolen. In the decompiled scripts this native is only used to disable the influence of the vehicle on the wanted level.
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | The specific vehicle to be set for influencing the wanted level. |
| influenceWantedLevel | BOOL | A boolean value. Set to `true` to make the vehicle influence the wanted level; `false` to prevent it from doing so. |
Returns
void