getDoesVehicleHaveTombstone
GET_DOES_VEHICLE_HAVE_TOMBSTONE0x71AFB258CCED3A27The GTA V native GET_DOES_VEHICLE_HAVE_TOMBSTONE of the VEHICLE namespace, as LS:MP client scripts call it: the global function getDoesVehicleHaveTombstone, in JavaScript and in Lua.
getDoesVehicleHaveTombstone(vehicle: Vehicle): booleangetDoesVehicleHaveTombstone(vehicle: Vehicle): booleanUsage
JavaScript
const result = getDoesVehicleHaveTombstone(vehicle);Lua
local result = getDoesVehicleHaveTombstone(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns true only if the "tombstone" bone is attached to the vehicle, irrespective of "FLAG_HAS_TOMBSTONE" being present or not. Detaching the tombstone will return false.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL GET_DOES_VEHICLE_HAVE_TOMBSTONE(Vehicle vehicle)- Hash
0x71AFB258CCED3A27- Introduced
- Game build 1604 legacy numbering
- Formerly
_GET_DOES_VEHICLE_HAVE_TOMBSTONE