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

SetHitAndRunFine

Set the amount of coins the player will be fined if they are caught in a Hit & Run.

Context

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

Syntax

SetHitAndRunFine( fine_amount );

Game.SetHitAndRunFine( fine_amount )

  • fine_amount: The amount to fine the player if they get caught.
    • Defaults to 50.

Examples

SetHitAndRunFine(50);

Game.SetHitAndRunFine(50)

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2023 · v4.0