Vehicle::fixWheel
Not available on SYNC MP yet
This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.
JavaScript
Fixes broken given wheel id of the vehicle.
Required Params
- wheelId: Number
Return Value
- void void
Syntax
vehicle.fixWheel(wheelId);
Example
Client-Side
const vehicle = mp.vehicles.atRemoteId(0);
if (!vehicle || !mp.vehicles.exists(vehicle)) return;
vehicle.fixWheel(1);