Hello, Guest

By registering with us, you'll be able to discuss, share and private message with other members of our community.
What's new

Spawning a living world in GTA 5, on the client side for Rage:mp

Alexalsaud

Administrative
Staff member
Admin
Joined
Aug 5, 2024
Messages
337
ICoins
1,501

Spawning a living world in GTA 5, on the client side for Rage:mp


Spawning a living world in GTA, on the client side - JS

JavaScript:
mp.game.ped.removeScenarioBlockingArea(0,true);
mp.game.streaming.setPedPopulationBudget(3);
mp.game.ped.setCreateRandomCops(true);
mp.game.vehicle.setRandomBoats(true);
mp.game.vehicle.setRandomTrains(true);
mp.game.vehicle.setGarbageTrucks(true);
mp.game.streaming.setVehiclePopulationBudget(3);
mp.game.invoke('0x34AD89078831A4BC'); // SET_ALL_VEHICLE_GENERATORS_ACTIVE
mp.game.vehicle.setAllLowPriorityVehicleGeneratorsActive(true);
mp.game.vehicle.setNumberOfParkedVehicles(-1);
mp.game.vehicle.displayDistantVehicles(true);
mp.game.graphics.disableVehicleDistantlights(false);

1725038417635.png
Setting for example: redage\server\client_packages\main.js or index.js - at the very beginning.
 
Back
Top