setVehicleInCarModShop
SET_VEHICLE_IN_CAR_MOD_SHOP0x9D44FCCE98450843The GTA V native SET_VEHICLE_IN_CAR_MOD_SHOP of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleInCarModShop, in JavaScript and in Lua.
setVehicleInCarModShop(vehicle: Vehicle, toggle: boolean): voidsetVehicleInCarModShop(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setVehicleInCarModShop(vehicle, toggle);Lua
setVehicleInCarModShop(vehicle, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | BOOL | boolean | boolean |
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.
If set to TRUE, it seems to suppress door noises and doesn't allow the horn to be continuous.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_IN_CAR_MOD_SHOP(Vehicle vehicle, BOOL toggle)- Hash
0x9D44FCCE98450843- Formerly
_SET_VEHICLE_SILENT