The Lab
VEHICLE native

SET_VEHICLE_INFLUENCES_WANTED_LEVEL

returns void2 paramsbuild 1207

Sets whether vehicle influences the wanted level.

Signature

C
void SET_VEHICLE_INFLUENCES_WANTED_LEVEL(Vehicle vehicle, BOOL toggle); // 0xC1842F40FD501DA2 b1207

Parameters

#NameType
1vehicleVehicle
2toggleBOOL

Facts

Facts about SET_VEHICLE_INFLUENCES_WANTED_LEVEL
Name
SET_VEHICLE_INFLUENCES_WANTED_LEVEL
Hash
0xC1842F40FD501DA2
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xC1842F40FD501DA2, -- SET_VEHICLE_INFLUENCES_WANTED_LEVEL
  0, -- Vehicle vehicle
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0xC1842F40FD501DA2", // SET_VEHICLE_INFLUENCES_WANTED_LEVEL
  0, // Vehicle vehicle
  false // BOOL toggle
);
C#
Function.Call((Hash)0xC1842F40FD501DA2, // SET_VEHICLE_INFLUENCES_WANTED_LEVEL
  0, // Vehicle vehicle
  false // BOOL toggle
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.