This script shows how to work with an array. To activate, press the "H" key. Now you can create as many peds as you like, specify their number in the array(120) function argument -- number of peds. Video demonstration
Installation: file add to GTA San Andreasmoonloader