Skip to content

Commit

Permalink
Update SetPedPopulationBudget.md (#985)
Browse files Browse the repository at this point in the history
* Update SetPedPopulationBudget.md

* Update SetPedPopulationBudget.md

Correct erroneous information within the provided native.

---------

Co-authored-by: ammonia-cfx <[email protected]>
  • Loading branch information
smoke1974 and 4mmonium authored Feb 20, 2024
1 parent a0acdbd commit 535599d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions STREAMING/SetPedPopulationBudget.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ ns: STREAMING

```c
// 0x8C95333CFC3340F3 0xD2D026CD
void SET_PED_POPULATION_BUDGET(int p0);
void SET_PED_POPULATION_BUDGET(int budgetLevel);
```
Control how many new (ambient?) peds will spawn in the game world.
Range for p0 seems to be 0-3, where 0 is none and 3 is the normal level.
Sets the memory budget level for ped population.
## Parameters
* **p0**:
* **budgetLevel**: Ranges from `0` to `3`, where `0` is lowest (no peds) and `3` is the full budget level.

0 comments on commit 535599d

Please sign in to comment.