The Lab
VEHICLE native

_FADE_AND_DESTROY_VEHICLE

returns void1 parambuild 1207

Fades out and deletes the vehicle pointed to by vehicle.

Signature

C
void _FADE_AND_DESTROY_VEHICLE(Vehicle* vehicle); // 0x35DC1877312FBA0F b1207

Parameters

#NameType
1vehicleVehicle* (out pointer)

Facts

Facts about _FADE_AND_DESTROY_VEHICLE
Name
_FADE_AND_DESTROY_VEHICLE
Hash
0x35DC1877312FBA0F
Namespace
Returns
void
Game build
1207

Examples

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

Lua
local vehicle = Citizen.InvokeNative(0x35DC1877312FBA0F, -- _FADE_AND_DESTROY_VEHICLE
  Citizen.PointerValueInt() -- Vehicle* vehicle
)
print(vehicle)
JavaScript
const vehicle = Citizen.invokeNative("0x35DC1877312FBA0F", // _FADE_AND_DESTROY_VEHICLE
  Citizen.pointerValueInt() // Vehicle* vehicle
);
console.log(vehicle)
C#
var vehicleArg = new OutputArgument();
Function.Call((Hash)0x35DC1877312FBA0F, // _FADE_AND_DESTROY_VEHICLE
  vehicleArg // Vehicle* vehicle
);
int vehicle = vehicleArg.GetResult<int>();
All VEHICLE natives

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