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

AddCondTargetModel

Specify the name of a valid model for a destroycars condition or a hitpeds condition.

Context

This command should be called between calls to AddCondition and CloseCondition.

Syntax

AddCondTargetModel( model_name );

Game.AddCondTargetModel( model_name )

  • model_name: The name of the car or character model (depending on the condition type).

Examples

AddCondition("hitpeds");
	AddCondTargetModel("marge");
CloseCondition();

Game.AddCondition("hitpeds")
	Game.AddCondTargetModel("marge")
Game.CloseCondition()

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2023 · v4.0