Vehicle::createDriveForceCurve: 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:5122:51, 24 December 2024Shr0x talk contribs 889 bytes +889 Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Creates a custom drive force curve for vehicles, defining how input RPM maps to output drive force. === Syntax === <syntaxhighlight lang="javascript"> mp.game.vehicle.createDriveForceCurve(curveNameHash, curveData); </syntaxhighlight> === Required Parameters === * '''curveNameHash:''' {{RageType|number}} - The hash identifier for the curve. * '''curveData:''' {{RageType|Array<number>}} - Array of alternating X (i..."