Vehicle::setGearRatios: 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.

24 December 2024

  • curprev 22:5822:58, 24 December 2024Shr0x talk contribs 706 bytes +706 Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Sets custom gear ratios for the specified vehicle. === Syntax === <syntaxhighlight lang="javascript"> vehicle.setGearRatios(ratios); </syntaxhighlight> === Required Parameters === * '''ratios:''' {{RageType|Array<number>}} - An array of gear ratios. === Return Value === * '''undefined''' === Example === <syntaxhighlight lang="javascript"> // Set custom gear ratios for a vehicle const myVehicle = mp.players.loca..."