Available since Version 1.18.
Specify the name of a valid model for a destroycars condition or a hitpeds condition.
Scope
This command should be called between calls to AddCondition and CloseCondition in a mission's initialisation script.
Syntax
MFK
Lua
AddCondTargetModel( model_name );Game.AddCondTargetModel( model_name )- model_name: The name of the car or character model (depending on the condition type).
Examples
MFK
Lua
AddCondition("hitpeds");
AddCondTargetModel("marge");
CloseCondition();Game.AddCondition("hitpeds")
Game.AddCondTargetModel("marge")
Game.CloseCondition()