setHeliCanPickupEntityThatHasPickUpDisabled
SET_HELI_CAN_PICKUP_ENTITY_THAT_HAS_PICK_UP_DISABLED0x94A68DA412C4007DThe GTA V native SET_HELI_CAN_PICKUP_ENTITY_THAT_HAS_PICK_UP_DISABLED of the VEHICLE namespace, as LS:MP client scripts call it: the global function setHeliCanPickupEntityThatHasPickUpDisabled, in JavaScript and in Lua.
setHeliCanPickupEntityThatHasPickUpDisabled(
vehicle: Vehicle,
toggle: boolean
): voidsetHeliCanPickupEntityThatHasPickUpDisabled(
vehicle: Vehicle,
toggle: boolean
)Usage
JavaScript
setHeliCanPickupEntityThatHasPickUpDisabled(vehicle, toggle);Lua
setHeliCanPickupEntityThatHasPickUpDisabled(vehicle, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | BOOL | boolean | boolean |
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.
Stops the cargobob from being able to attach any vehicle
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_HELI_CAN_PICKUP_ENTITY_THAT_HAS_PICK_UP_DISABLED(Vehicle vehicle, BOOL toggle)- Hash
0x94A68DA412C4007D- Introduced
- Game build 1180 legacy numbering
- Formerly
_SET_CARGOBOB_HOOK_CAN_ATTACH