clearObjectsInsideGarage
CLEAR_OBJECTS_INSIDE_GARAGE0x190428512B240692The GTA V native CLEAR_OBJECTS_INSIDE_GARAGE of the OBJECT namespace, as LS:MP client scripts call it: the global function clearObjectsInsideGarage, in JavaScript and in Lua.
clearObjectsInsideGarage(
garageHash: Hash,
vehicles: boolean,
peds: boolean,
objects: boolean,
isNetwork: boolean
): voidclearObjectsInsideGarage(
garageHash: Hash,
vehicles: boolean,
peds: boolean,
objects: boolean,
isNetwork: boolean
)Usage
JavaScript
clearObjectsInsideGarage(garageHash, vehicles, peds, objects, isNetwork);Lua
clearObjectsInsideGarage(garageHash, vehicles, peds, objects, isNetwork)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
garageHash | Hash | number | integer |
vehicles | BOOL | boolean | boolean |
peds | BOOL | boolean | boolean |
objects | BOOL | boolean | boolean |
isNetwork | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Object OBJECT
- In the game
void CLEAR_OBJECTS_INSIDE_GARAGE(Hash garageHash, BOOL vehicles, BOOL peds, BOOL objects, BOOL isNetwork)- Hash
0x190428512B240692