VehicleClient

setCargobobPickupMagnetPullStrength

SET_CARGOBOB_PICKUP_MAGNET_PULL_STRENGTH0xED8286F71A819BAA

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

SignatureJavaScript
setCargobobPickupMagnetPullStrength(cargobob: Vehicle, p1: number): void
SignatureLua
setCargobobPickupMagnetPullStrength(cargobob: Vehicle, p1: number)

Usage

JavaScript
setCargobobPickupMagnetPullStrength(cargobob, p1);
Lua
setCargobobPickupMagnetPullStrength(cargobob, p1)

Parameters

ParameterTypeJavaScriptLua
cargobobVehiclenumberinteger
p1floatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_CARGOBOB_PICKUP_MAGNET_PULL_STRENGTH(Vehicle cargobob, float p1)
Hash
0xED8286F71A819BAA

Open in the interactive natives reference