VehicleClient

createPickUpRopeForCargobob

CREATE_PICK_UP_ROPE_FOR_CARGOBOB0x7BEB0C7A235F6F3B

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

SignatureJavaScript
createPickUpRopeForCargobob(cargobob: Vehicle, state: number): void
SignatureLua
createPickUpRopeForCargobob(cargobob: Vehicle, state: integer)

Usage

JavaScript
createPickUpRopeForCargobob(cargobob, state);
Lua
createPickUpRopeForCargobob(cargobob, state)

Parameters

ParameterTypeJavaScriptLua
cargobobVehiclenumberinteger
stateintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Drops the Hook/Magnet on a cargobob

Reference

Namespace
Vehicle VEHICLE
In the game
void CREATE_PICK_UP_ROPE_FOR_CARGOBOB(Vehicle cargobob, int state)
Hash
0x7BEB0C7A235F6F3B
Formerly
_ENABLE_CARGOBOB_HOOK

Open in the interactive natives reference