Vehicle::fixBumper
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 given front or back bumper of a vehicle.
Required Params
- front: Boolean
Return Value
- void void
Syntax
vehicle.fixBumper(front);
Example
Client-Side
const vehicle = mp.vehicles.atRemoteId(0);
if (!vehicle || !mp.vehicles.exists(vehicle)) return;
vehicle.fixBumper(true); //fixes vehicle's front bumper.