Vehicle::fixWheel: 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:0018:00, 23 April 2024Shr0x talk contribs 613 bytes +613 Created page with "{{ClientsideJsFunction}} {{JSContainer| Fixes broken given wheel id of the vehicle. === Required Params === *'''wheelId:''' {{RageType|Number}} === Return Value === *'''void''' {{RageType|void}} ==Syntax== <pre> vehicle.fixWheel(wheelId); </pre> ==Example== {{ClientsideCode| <syntaxhighlight lang="javascript"> const vehicle = mp.vehicles.atRemoteId(0); if (!vehicle || !mp.vehicles.exists(vehicle)) return; vehicle.fixWheel(1); </syntaxhighlight> }} }} ==See also== {{V..."