Available since Version 1.25.
This command sets the current ped group when resuming a stage from a checkpoint.
Scope
This command should be called between calls to AddStage and CloseStage in a mission's initialisation script.
Additionally, this should be called alongside CHECKPOINT_HERE.
Syntax
MFK
Lua
SetCheckpointPedGroup( ped_group );Game.SetCheckpointPedGroup( ped_group )- ped_group: The index of the ped group to use.
Examples
MFK
Lua
AddStage();
CHECKPOINT_HERE();
SetCheckpointPedGroup(7);
AddObjective("dummy");
CloseObjective();
CloseStage();Game.AddStage()
Game.CHECKPOINT_HERE()
Game.SetCheckpointPedGroup(7)
Game.AddObjective("dummy")
Game.CloseObjective()
Game.CloseStage()