isGarageEmpty
IS_GARAGE_EMPTY0x90E47239EA1980B8The GTA V native IS_GARAGE_EMPTY of the OBJECT namespace, as LS:MP client scripts call it: the global function isGarageEmpty, in JavaScript and in Lua.
isGarageEmpty(garageHash: Hash, p1: boolean, p2: number): booleanisGarageEmpty(garageHash: Hash, p1: boolean, p2: integer): booleanUsage
JavaScript
const result = isGarageEmpty(garageHash, p1, p2);Lua
local result = isGarageEmpty(garageHash, p1, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
garageHash | Hash | number | integer |
p1 | BOOL | boolean | boolean |
p2 | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Object OBJECT
- In the game
BOOL IS_GARAGE_EMPTY(Hash garageHash, BOOL p1, int p2)- Hash
0x90E47239EA1980B8