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

AddParkedCar

Adds a car to the parked cars list for the level. This can be used to add a parked car without also adding it to a traffic group using AddTrafficModel.

Context

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

Syntax

AddParkedCar( car_name );

Game.AddParkedCar( car_name )

  • car_name: The name of the car to add to the parked cars list.

Examples

AddParkedCar("famil_v");

Game.AddParkedCar("famil_v")

Notes

No additional notes.

History

1.22

Added this command.

Donut Team © 2024 · v4.0