VehicleClient

setVehicleFixed

SET_VEHICLE_FIXED0x115722B1B9C14C1C

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

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

Usage

JavaScript
setVehicleFixed(vehicle);
Lua
setVehicleFixed(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 a vehicle.
If the vehicle's engine's broken then you cannot fix it with this native.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_VEHICLE_FIXED(Vehicle vehicle)
Hash
0x115722B1B9C14C1C

Open in the interactive natives reference