Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > MFK Commands > Levels > SetCarChangeHitAndRunChange

SetCarChangeHitAndRunChange

Set the amount the Hit & Run meter will change when swapping to a different vehicle.

Context

This command should be called in a level's initialisation script (leveli.mfk).

Syntax

SetCarChangeHitAndRunChange( change_amount );

Game.SetCarChangeHitAndRunChange( change_amount )

  • change_amount: The amount that will be subtracted from the Hit & Run meter when changing your car.
    • Defaults to 100.

Examples

SetCarChangeHitAndRunChange(100);

Game.SetCarChangeHitAndRunChange(100)

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2020 · v4.0