VehicleClient

setVehicleStrong

SET_VEHICLE_STRONG0x3E8C8727991A8A0B

The GTA V native SET_VEHICLE_STRONG of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleStrong, in JavaScript and in Lua.

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

Usage

JavaScript
setVehicleStrong(vehicle, toggle);
Lua
setVehicleStrong(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, vehicle will not take crash damage, but is still susceptible to damage from bullets and explosives

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_VEHICLE_STRONG(Vehicle vehicle, BOOL toggle)
Hash
0x3E8C8727991A8A0B

Open in the interactive natives reference