RedM Natives

SET_VEHICLE_INFLUENCES_WANTED_LEVEL

Hash0xC1842F40FD501DA2
Runtime nameSetVehicleInfluencesWantedLevel
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x0AD9E8F87FF7C16F

Signature

void SET_VEHICLE_INFLUENCES_WANTED_LEVEL(Vehicle vehicle, BOOL toggle);

Parameters

NameTypeDescription
vehicleVehicle—
toggleBOOL—

Returns void

Usage

Lua
SetVehicleInfluencesWantedLevel(vehicle, toggle)

-- always works, by hash
Citizen.InvokeNative(0xC1842F40FD501DA2, vehicle, toggle)
JavaScript and C#
JavaScript
SetVehicleInfluencesWantedLevel(vehicle, toggle);

// by hash
Citizen.invokeNative('0xC1842F40FD501DA2', vehicle, toggle);
C#
Function.Call((Hash)0xC1842F40FD501DA2, vehicle, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.