The Lab
ENTITY native

PLACE_ENTITY_ON_GROUND_PROPERLY

returns BOOL2 paramsbuild 1207

Snaps the entity onto the ground at its current position and returns true on success.

Signature

C
BOOL PLACE_ENTITY_ON_GROUND_PROPERLY(Entity entity, BOOL p1); // 0x9587913B9E772D29 b1207

Parameters

#NameType
1entityEntity
2p1BOOL

Facts

Facts about PLACE_ENTITY_ON_GROUND_PROPERLY
Name
PLACE_ENTITY_ON_GROUND_PROPERLY
Hash
0x9587913B9E772D29
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x9587913B9E772D29, -- PLACE_ENTITY_ON_GROUND_PROPERLY
  PlayerPedId(), -- Entity entity
  false -- BOOL p1
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x9587913B9E772D29", // PLACE_ENTITY_ON_GROUND_PROPERLY
  PlayerPedId(), // Entity entity
  false, // BOOL p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x9587913B9E772D29, // PLACE_ENTITY_ON_GROUND_PROPERLY
  API.PlayerPedId(), // Entity entity
  false // BOOL p1
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.