ObjectClient

disableTidyingUpInGarage

DISABLE_TIDYING_UP_IN_GARAGE0x659F9D71F52843F8

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

SignatureJavaScript
disableTidyingUpInGarage(id: number, toggle: boolean): void
SignatureLua
disableTidyingUpInGarage(id: integer, toggle: boolean)

Usage

JavaScript
disableTidyingUpInGarage(id, toggle);
Lua
disableTidyingUpInGarage(id, toggle)

Parameters

ParameterTypeJavaScriptLua
idintnumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

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

Sets a flag. A valid id is 0x157DC10D

Reference

Namespace
Object OBJECT
In the game
void DISABLE_TIDYING_UP_IN_GARAGE(int id, BOOL toggle)
Hash
0x659F9D71F52843F8
Introduced
Game build 1290 legacy numbering

Open in the interactive natives reference