Vehicle::fixBumper: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 April 2024

  • curprev 18:0618:06, 23 April 2024Shr0x talk contribs 650 bytes +650 Created page with "{{ClientsideJsFunction}} {{JSContainer| Fixes given front or back bumper of a vehicle. === Required Params === *'''front:''' {{RageType|Boolean}} === Return Value === *'''void''' {{RageType|void}} ==Syntax== <pre> vehicle.fixBumper(front); </pre> ==Example== {{ClientsideCode| <syntaxhighlight lang="javascript"> const vehicle = mp.vehicles.atRemoteId(0); if (!vehicle || !mp.vehicles.exists(vehicle)) return; vehicle.fixBumper(true); //fixes vehicle's front bumper. </syn..."