RedM Natives

_SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME

Hash0x424FFCB9F0D2D4B5
Runtime nameSetAllVehicleGeneratorsDisabledForVolume
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME(Volume volume, BOOL toggle);

Parameters

NameTypeDescription
volumeVolume—
toggleBOOL—

Returns void

Usage

Lua
SetAllVehicleGeneratorsDisabledForVolume(volume, toggle)

-- always works, by hash
Citizen.InvokeNative(0x424FFCB9F0D2D4B5, volume, toggle)
JavaScript and C#
JavaScript
SetAllVehicleGeneratorsDisabledForVolume(volume, toggle);

// by hash
Citizen.invokeNative('0x424FFCB9F0D2D4B5', volume, toggle);
C#
Function.Call((Hash)0x424FFCB9F0D2D4B5, volume, toggle);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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