setVehicleStrong
SET_VEHICLE_STRONG0x3E8C8727991A8A0BThe 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.
setVehicleStrong(vehicle: Vehicle, toggle: boolean): voidsetVehicleStrong(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setVehicleStrong(vehicle, toggle);Lua
setVehicleStrong(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, 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