ObjectClient

placeObjectOnGroundProperly

PLACE_OBJECT_ON_GROUND_PROPERLY0x58A850EAEE20FAA3

The GTA V native PLACE_OBJECT_ON_GROUND_PROPERLY of the OBJECT namespace, as LS:MP client scripts call it: the global function placeObjectOnGroundProperly, in JavaScript and in Lua.

SignatureJavaScript
placeObjectOnGroundProperly(object: Object): boolean
SignatureLua
placeObjectOnGroundProperly(object: Object): boolean

Usage

JavaScript
const result = placeObjectOnGroundProperly(object);
Lua
local result = placeObjectOnGroundProperly(object)

Parameters

ParameterTypeJavaScriptLua
objectObjectnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Object OBJECT
In the game
BOOL PLACE_OBJECT_ON_GROUND_PROPERLY(Object object)
Hash
0x58A850EAEE20FAA3

Open in the interactive natives reference