ObjectClient

isGarageEmpty

IS_GARAGE_EMPTY0x90E47239EA1980B8

The 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.

SignatureJavaScript
isGarageEmpty(garageHash: Hash, p1: boolean, p2: number): boolean
SignatureLua
isGarageEmpty(garageHash: Hash, p1: boolean, p2: integer): boolean

Usage

JavaScript
const result = isGarageEmpty(garageHash, p1, p2);
Lua
local result = isGarageEmpty(garageHash, p1, p2)

Parameters

ParameterTypeJavaScriptLua
garageHashHashnumberinteger
p1BOOLbooleanboolean
p2intnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Object OBJECT
In the game
BOOL IS_GARAGE_EMPTY(Hash garageHash, BOOL p1, int p2)
Hash
0x90E47239EA1980B8

Open in the interactive natives reference