isObjectPartiallyInsideGarage
IS_OBJECT_PARTIALLY_INSIDE_GARAGE0xF0EED5A6BC7B237AThe 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.
isObjectPartiallyInsideGarage(
garageHash: Hash,
entity: Entity,
p2: number
): booleanisObjectPartiallyInsideGarage(
garageHash: Hash,
entity: Entity,
p2: integer
): booleanUsage
JavaScript
const result = isObjectPartiallyInsideGarage(garageHash, entity, p2);Lua
local result = isObjectPartiallyInsideGarage(garageHash, entity, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
garageHash | Hash | number | integer |
entity | Entity | number | integer |
p2 | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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