ObjectClient

isObjectPartiallyInsideGarage

IS_OBJECT_PARTIALLY_INSIDE_GARAGE0xF0EED5A6BC7B237A

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

SignatureJavaScript
isObjectPartiallyInsideGarage(
  garageHash: Hash,
  entity: Entity,
  p2: number
): boolean
SignatureLua
isObjectPartiallyInsideGarage(
  garageHash: Hash,
  entity: Entity,
  p2: integer
): boolean

Usage

JavaScript
const result = isObjectPartiallyInsideGarage(garageHash, entity, p2);
Lua
local result = isObjectPartiallyInsideGarage(garageHash, entity, p2)

Parameters

ParameterTypeJavaScriptLua
garageHashHashnumberinteger
entityEntitynumberinteger
p2intnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Despite the name, it does work for any entity type.

Reference

Namespace
Object OBJECT
In the game
BOOL IS_OBJECT_PARTIALLY_INSIDE_GARAGE(Hash garageHash, Entity entity, int p2)
Hash
0xF0EED5A6BC7B237A

Open in the interactive natives reference