setObjectAllowLowLodBuoyancy
SET_OBJECT_ALLOW_LOW_LOD_BUOYANCY0x4D89D607CB3DD1D2The GTA V native SET_OBJECT_ALLOW_LOW_LOD_BUOYANCY of the OBJECT namespace, as LS:MP client scripts call it: the global function setObjectAllowLowLodBuoyancy, in JavaScript and in Lua.
setObjectAllowLowLodBuoyancy(object: Object, toggle: boolean): voidsetObjectAllowLowLodBuoyancy(object: Object, toggle: boolean)Usage
JavaScript
setObjectAllowLowLodBuoyancy(object, toggle);Lua
setObjectAllowLowLodBuoyancy(object, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | 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.
Overrides the climbing/blocking flags of the object, used in the native scripts mostly for "prop_dock_bouy_*"
Reference
- Namespace
- Object OBJECT
- In the game
void SET_OBJECT_ALLOW_LOW_LOD_BUOYANCY(Object object, BOOL toggle)- Hash
0x4D89D607CB3DD1D2- Formerly
_SET_OBJECT_CAN_CLIMB_ON