Marks2 Posted September 29, 2024 Posted September 29, 2024 Hello everyone SET_PED_POPULATION_BUDGET doesn't work "mp.game.streaming.setPedPopulationBudget(3);" No matter what number you set, pedestrians don't appear.
Kopra Posted September 29, 2024 Posted September 29, 2024 Keep in mind it's client side and not synced so each player will see different peds. mp.game.ped.removeScenarioBlockingAreas(); mp.game.ped.setCreateRandomCops(true); mp.game.ped.setCreateRandomCopsNotOnScenarios(true); mp.game.ped.setCreateRandomCopsOnScenarios(true); mp.game.vehicle.setRandomTrains(true); mp.game.vehicle.setRandomBoats(true); mp.game.vehicle.setGarbageTrucks(true); mp.game.streaming.setPedPopulationBudget(3); mp.game.streaming.setVehiclePopulationBudget(3); mp.game.streaming.setReducePedModelBudget(false); mp.game.streaming.setReduceVehicleModelBudget(false); mp.game.vehicle.setAllGeneratorsActive(); mp.game.vehicle.setAllLowPriorityGeneratorsActive(true); mp.game.vehicle.setNumberOfParkedVehicles(-1); mp.game.vehicle.setDistantCarsEnabled(true); mp.game.vehicle.displayDistantVehicles(true); mp.game.graphics.disableVehicleDistantlights(false); mp.game.ped.instantlyFillPopulation(); 1
Marks2 Posted September 30, 2024 Author Posted September 30, 2024 (edited) 16 часов назад, Kopra сказал: Keep in mind it's client side and not synced so each player will see different peds. mp.game.ped.removeScenarioBlockingAreas(); mp.game.ped.setCreateRandomCops(true); mp.game.ped.setCreateRandomCopsNotOnScenarios(true); mp.game.ped.setCreateRandomCopsOnScenarios(true); mp.game.vehicle.setRandomTrains(true); mp.game.vehicle.setRandomBoats(true); mp.game.vehicle.setGarbageTrucks(true); mp.game.streaming.setPedPopulationBudget(3); mp.game.streaming.setVehiclePopulationBudget(3); mp.game.streaming.setReducePedModelBudget(false); mp.game.streaming.setReduceVehicleModelBudget(false); mp.game.vehicle.setAllGeneratorsActive(); mp.game.vehicle.setAllLowPriorityGeneratorsActive(true); mp.game.vehicle.setNumberOfParkedVehicles(-1); mp.game.vehicle.setDistantCarsEnabled(true); mp.game.vehicle.displayDistantVehicles(true); mp.game.graphics.disableVehicleDistantlights(false); mp.game.ped.instantlyFillPopulation(); Hi. I inserted this code, but there are no pedestrians except cars ;( Please help me figure this out, I'm even ready to pay so that these pedestrians will appear...... mp.events.add('guiReady', () => { mp.game.ped.removeScenarioBlockingAreas(); mp.game.ped.setCreateRandomCops(true); mp.game.ped.setCreateRandomCopsNotOnScenarios(true); mp.game.ped.setCreateRandomCopsOnScenarios(true); mp.game.vehicle.setRandomTrains(true); mp.game.vehicle.setRandomBoats(true); mp.game.vehicle.setGarbageTrucks(true); mp.game.streaming.setPedPopulationBudget(3); mp.game.streaming.setVehiclePopulationBudget(3); mp.game.streaming.setReducePedModelBudget(false); mp.game.streaming.setReduceVehicleModelBudget(false); mp.game.vehicle.setAllGeneratorsActive(); mp.game.vehicle.setAllLowPriorityGeneratorsActive(true); mp.game.vehicle.setNumberOfParkedVehicles(-1); mp.game.vehicle.setDistantCarsEnabled(true); mp.game.vehicle.displayDistantVehicles(true); mp.game.graphics.disableVehicleDistantlights(false); mp.game.ped.instantlyFillPopulation(); }); Edited September 30, 2024 by Marks2 1
UBERScholes Posted November 19, 2025 Posted November 19, 2025 I also found out that only vehicles spawn and pedestrians does not. Any solution for this?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now