VehicleClient

setVehicleInCarModShop

SET_VEHICLE_IN_CAR_MOD_SHOP0x9D44FCCE98450843

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

SignatureJavaScript
setVehicleInCarModShop(vehicle: Vehicle, toggle: boolean): void
SignatureLua
setVehicleInCarModShop(vehicle: Vehicle, toggle: boolean)

Usage

JavaScript
setVehicleInCarModShop(vehicle, toggle);
Lua
setVehicleInCarModShop(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
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.

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

Open in the interactive natives reference