ObjectClient

placeObjectOnGroundOrObjectProperly

PLACE_OBJECT_ON_GROUND_OR_OBJECT_PROPERLY0xD76EEEF746057FD6

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
objectObjectnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Object OBJECT
In the game
BOOL PLACE_OBJECT_ON_GROUND_OR_OBJECT_PROPERLY(Object object)
Hash
0xD76EEEF746057FD6
Introduced
Game build 505 legacy numbering
Formerly
_PLACE_OBJECT_ON_GROUND_PROPERLY_2

Open in the interactive natives reference