isObjectEntirelyInsideGarage
IS_OBJECT_ENTIRELY_INSIDE_GARAGE0x372EF6699146A1E4The GTA V native IS_OBJECT_ENTIRELY_INSIDE_GARAGE of the OBJECT namespace, as LS:MP client scripts call it: the global function isObjectEntirelyInsideGarage, in JavaScript and in Lua.
isObjectEntirelyInsideGarage(
garageHash: Hash,
entity: Entity,
p2: number,
p3: number
): booleanisObjectEntirelyInsideGarage(
garageHash: Hash,
entity: Entity,
p2: number,
p3: integer
): booleanUsage
JavaScript
const result = isObjectEntirelyInsideGarage(garageHash, entity, p2, p3);Lua
local result = isObjectEntirelyInsideGarage(garageHash, entity, p2, p3)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
garageHash | Hash | number | integer |
entity | Entity | number | integer |
p2 | float | number | number |
p3 | 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_ENTIRELY_INSIDE_GARAGE(Hash garageHash, Entity entity, float p2, int p3)- Hash
0x372EF6699146A1E4