This command closes a ped group.
Context
This command should be called in a level's initialisation script (leveli.mfk).
Additionally, this should only be called after a call to CreatePedGroup and at least one call to AddPed.
Syntax
ClosePedGroup();
Game.ClosePedGroup()
Examples
// Example from missions/level01/leveli.mfk
CreatePedGroup(0);
AddPed("male6", 2);
AddPed("girl4", 1);
AddPed("fem4", 2);
AddPed("boy3", 2);
ClosePedGroup();
-- Example from missions/level01/leveli.mfk
Game.CreatePedGroup(0)
Game.AddPed("male6", 2)
Game.AddPed("girl4", 1)
Game.AddPed("fem4", 2)
Game.AddPed("boy3", 2)
Game.ClosePedGroup()
Notes
No additional notes.