The Lab
VEHICLE native

DELETE_VEHICLE

returns void1 parambuild 1207

Deletes the vehicle pointed to by vehicle.

The script usually needs to own the entity; call SET_ENTITY_AS_MISSION_ENTITY first if needed.

Signature

C
void DELETE_VEHICLE(Vehicle* vehicle); // 0xE20A909D8C4A70F8 b1207

Parameters

#NameType
1vehicleVehicle* (out pointer)

Facts

Facts about DELETE_VEHICLE
Name
DELETE_VEHICLE
Hash
0xE20A909D8C4A70F8
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(0xE20A909D8C4A70F8, -- DELETE_VEHICLE
  Citizen.PointerValueInt() -- Vehicle* vehicle
)
print(vehicle)
JavaScript
const vehicle = Citizen.invokeNative("0xE20A909D8C4A70F8", // DELETE_VEHICLE
  Citizen.pointerValueInt() // Vehicle* vehicle
);
console.log(vehicle)
C#
var vehicleArg = new OutputArgument();
Function.Call((Hash)0xE20A909D8C4A70F8, // DELETE_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.