detachVehicleFromAnyCargobob
DETACH_VEHICLE_FROM_ANY_CARGOBOB0xADF7BE450512C12FThe GTA V native DETACH_VEHICLE_FROM_ANY_CARGOBOB of the VEHICLE namespace, as LS:MP client scripts call it: the global function detachVehicleFromAnyCargobob, in JavaScript and in Lua.
detachVehicleFromAnyCargobob(vehicle: Vehicle): booleandetachVehicleFromAnyCargobob(vehicle: Vehicle): booleanUsage
JavaScript
const result = detachVehicleFromAnyCargobob(vehicle);Lua
local result = detachVehicleFromAnyCargobob(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL DETACH_VEHICLE_FROM_ANY_CARGOBOB(Vehicle vehicle)- Hash
0xADF7BE450512C12F