MFK Command: SetPedsEnabled
Sets whether or not pedestrians are enabled for a mission.
SetPedsEnabled( <peds_enabled> );
peds_enabled: Whether or not peds are enabled. Defaults to 1 (true) unless
StreetRacePropsLoadis called in the mission.
SelectMission("m1"); ... StreetRacePropsLoad("l4_m1p.p3d;") StreetRacePropsUnload("l4_m1p.p3d:") // Enable Peds even though Street Race Props are in use. SetPedsEnabled(1); AddStage(); ... CloseStage(); CloseMission();
- This command can be helpful for enabling peds in a mission where the "Street Race Props" would not interfere with the ped paths (the original game's L1M7 could've used something like this).
- Added this command.