VehicleClient

setVehicleDeformationFixed

SET_VEHICLE_DEFORMATION_FIXED0x953DA1E1B12C0491

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

SignatureJavaScript
setVehicleDeformationFixed(vehicle: Vehicle): void
SignatureLua
setVehicleDeformationFixed(vehicle: Vehicle)

Usage

JavaScript
setVehicleDeformationFixed(vehicle);
Lua
setVehicleDeformationFixed(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

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.

This fixes the deformation of a vehicle but the vehicle health doesn't improve

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_VEHICLE_DEFORMATION_FIXED(Vehicle vehicle)
Hash
0x953DA1E1B12C0491

Open in the interactive natives reference