RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. DELETE_VEHICLE

DELETE_VEHICLE

Deletes a vehicle. The vehicle must be a mission entity to delete, so call this before deleting: SET_ENTITY_AS_MISSION_ENTITY(vehicle, true, true); eg how to use: SET_ENTITY_AS_MISSION_ENTITY(vehicle, true, true); DELETE_VEHICLE(&vehicle); Deletes the specified vehicle, then sets the handle pointed to by the pointer to NULL.

VEHICLEBuild 1207

Signature

lua
DeleteVehicle(vehicle)
-- returns void

Parameters

NameTypeDescription
Vehicle*—

Usage

lua
DeleteVehicle(vehicle)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Joaat hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details