This page lists all of the MFK file script commands added by this hack.
Level Commands
AddParkedCar
Added in Version 1.22.
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.
SetCarChangeHitAndRunChange
Added in Version 1.18.
Set the amount the Hit & Run meter will change when swapping to a different vehicle.
SetHitAndRunDecayHitAndRun
Added in Version 1.18.
Set the amount the Hit & Run meter will decay each second while the player is in a Hit & Run.
SetHitAndRunFine
Added in Version 1.18.
Set the amount of coins the player will be fined if they are caught in a Hit & Run.
Mission Commands
SetHUDMapDrawable
Added in Version 1.18.
Set the current drawable for the HUD map when a mission starts.
SetParkedCarsEnabled
Added in Version 1.20.
Set whether or not parked cars are enabled for the mission.
SetPedsEnabled
Added in Version 1.20.
Sets whether or not pedestrians are enabled for a mission.
UseTrafficGroup
Added in Version 1.22.
Set what traffic group will be used when the mission is selected or restarted.
Stage Commands
DisableTrigger
Added in Version 1.18.
Disable a locator's trigger(s) for a stage. Repeat for each locator's triggers you'd like to disable.
SetStageAllowMissionCancel
Added in Version 1.18.1.
Set whether or not the player is allowed to restart or cancel the mission during the stage.
SetStageCarChangeHitAndRunChange
Added in Version 1.18.
Set the amount the Hit & Run meter will change when swapping to a different vehicle for the stage.
SetStageCharacterModel
Added in Version 1.18.
Set the player character's model for the stage.
SetStagePayout
Added in Version 1.18.
Set an amount of coins to give the player when they complete the stage.
Checkpoints
CHECKPOINT_HERE
Added in Version 1.25.
Adds a checkpoint to a stage.
IfCurrentCheckpoint
Added in Version 1.25.
Returns whether or not the current stage is being resumed from a checkpoint.
SetCheckpointResetPlayerInCar
Added in Version 1.25.
Makes the player reset in their car when resuming a stage from a checkpoint.
SetCheckpointResetPlayerOutCar
Added in Version 1.25.
Makes the player reset on foot when resuming a stage from a checkpoint.
SetCheckpointDynaLoadData
Added in Version 1.25.
Sets the dyna load data string to use when resuming a stage from a checkpoint.
SetCheckpointPedGroup
Added in Version 1.25.
Sets the current ped group when resuming a stage from a checkpoint.
SetCheckpointTrafficGroup
Added in Version 1.25.
Sets the current traffic group when resuming a stage from a checkpoint.
Hit & Runs
ResetStageHitAndRun
Added in Version 1.18.
Resets the Hit & Run meter when reaching a stage, erasing all existing chase cars.
SetNoHitAndRunMusicForStage
Added in Version 1.18.
Disables the game switching to the Hit & Run music during a Hit & Run for the stage. Instead, the mission's music will continue.
SetStageHitAndRun
Added in Version 1.18.
Set the value of the Hit & Run meter when starting the stage.
SetStageHitAndRunDecay
Added in Version 1.18.
Set the Hit & Run meter decay rate for a stage.
SetStageHitAndRunDecayHitAndRun
Added in Version 1.18.
Set the Hit & Run meter decay rate while in a Hit & Run for a stage.
SetStageHitAndRunDecayInterior
Added in Version 1.18.
Set the Hit & Run decay rate while in an interior for a stage.
SetStageHitAndRunFine
Added in Version 1.18.
Set the Hit & Run fine for a stage.
SetStageNumChaseCars
Added in Version 1.18.
Set the amount of chase cars that will spawn during a Hit & Run this stage.
Vehicles
ResetStageVehicleAbductable
Added in Version 1.25.
Resets the abductable status of a vehicle set with SetStageVehicleAbductable back to the default for the given vehicle.
SetStageVehicleAbductable
Added in Version 1.25.
Sets the abductable status of a vehicle.
SetStageVehicleAllowSeatSlide
Added in Version 1.19.
Sets whether or not the stage vehicle allows seat slide.
SetStageVehicleNoDestroyedJumpOut
Added in Version 1.18.1.
Sets whether or not the driver of the vehicle will jump out when it's destroyed.
SetStageVehicleReset
Added in Version 1.18.
Sets whether or not an AI car will automatically reset onto the road if it's off for too long in certain objective types.
Vehicle Characters
AddStageVehicleCharacter
Added in Version 1.19.
Add a character to a stage vehicle or the player's car for a stage.
RemoveStageVehicleCharacter
Added in Version 1.19.
Remove a character from a stage vehicle or the player's car upon reaching the stage.
SetStageVehicleCharacterAnimation
Added in Version 1.19.
Set the animation that a vehicle character will use.
SetStageVehicleCharacterJumpOut
Added in Version 1.19.
Set the character to jump out of the vehicle when it's destroyed.
SetStageVehicleCharacterScale
Added in Version 1.19.
Set the scale of the character in the stage vehicle.
SetStageVehicleCharacterVisible
Added in Version 1.19.
Set if the character is visible in the vehicle. This allows you to make characters visible in vehicles where the driver is not.
Condition Commands
AddCondTargetModel
Added in Version 1.18.
Specify the name of a valid model for a destroycars condition or a hitpeds condition.
SetCondDecay
Added in Version 1.18.
Set the decay delay and decay rate for the insidetrigger / outsidetrigger conditions.
SetCondDelay
Added in Version 1.18.
Specify a delay for the mission failed screen when failing various types of ASF conditions.
SetCondDisplay
Added in Version 1.18.
Set how any ASF condition displays to the user.
SetCondMessageIndex
Added in Version 1.18.
Set a message index for the insidetrigger / outsidetrigger conditions.
SetCondSound
Added in Version 1.18.
Set a sound to use for a hitpeds condition or the insidetrigger / outsidetrigger conditions.
SetCondSpeedRangeKMH
Added in Version 1.18.
Set a speed range for maintainspeed conditions.
SetCondThreshold
Added in Version 1.18.
Set a threshold for the insidetrigger / outsidetrigger conditions.
SetCondTotal
Added in Version 1.18.
Set the total amount required to fail various ASF conditions.
SetCondTrigger
Added in Version 1.18.
Specify the locator whose triggers will be used for the insidetrigger/outsidetrigger conditions.