doesCargobobHavePickUpRope
DOES_CARGOBOB_HAVE_PICK_UP_ROPE0x1821D91AD4B56108The GTA V native DOES_CARGOBOB_HAVE_PICK_UP_ROPE of the VEHICLE namespace, as LS:MP client scripts call it: the global function doesCargobobHavePickUpRope, in JavaScript and in Lua.
doesCargobobHavePickUpRope(cargobob: Vehicle): booleandoesCargobobHavePickUpRope(cargobob: Vehicle): booleanUsage
JavaScript
const result = doesCargobobHavePickUpRope(cargobob);Lua
local result = doesCargobobHavePickUpRope(cargobob)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cargobob | 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 when the hook is active, will return false if the magnet is active
Reference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL DOES_CARGOBOB_HAVE_PICK_UP_ROPE(Vehicle cargobob)- Hash
0x1821D91AD4B56108- Formerly
_IS_CARGOBOB_HOOK_ACTIVE