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 voidParameters
| Name | Type | Description |
|---|---|---|
| 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
