VehicleClientNot in this build

setAttachedVehicleToTowTruckArm

_SET_ATTACHED_VEHICLE_TO_TOW_TRUCK_ARM0x48BD57D0DD17786A

The GTA V native _SET_ATTACHED_VEHICLE_TO_TOW_TRUCK_ARM of the VEHICLE namespace, as LS:MP client scripts call it: the global function setAttachedVehicleToTowTruckArm, in JavaScript and in Lua.

SignatureJavaScript
setAttachedVehicleToTowTruckArm(towTruck: Vehicle, vehicle: Vehicle): void
SignatureLua
setAttachedVehicleToTowTruckArm(towTruck: Vehicle, vehicle: Vehicle)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
setAttachedVehicleToTowTruckArm(towTruck, vehicle);
Lua
setAttachedVehicleToTowTruckArm(towTruck, vehicle)

Parameters

ParameterTypeJavaScriptLua
towTruckVehiclenumberinteger
vehicleVehiclenumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void _SET_ATTACHED_VEHICLE_TO_TOW_TRUCK_ARM(Vehicle towTruck, Vehicle vehicle)
Hash
0x48BD57D0DD17786A
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference