The Lab
MISC native

_ADD_POP_MULTIPLIER_VOLUME

returns int5 paramsbuild 1207

Creates a population multiplier area covering volume, scaling ped and vehicle density by pedDensity and vehicleDensity. Returns the area id.

Signature

C
int _ADD_POP_MULTIPLIER_VOLUME(Volume volume, float pedDensity, float vehicleDensity, BOOL p3, BOOL p4); // 0x3233C4EC0514C7EC b1207

Parameters

#NameType
1volumeVolume
2pedDensityfloat
3vehicleDensityfloat
4p3BOOL
5p4BOOL

Facts

Facts about _ADD_POP_MULTIPLIER_VOLUME
Name
_ADD_POP_MULTIPLIER_VOLUME
Hash
0x3233C4EC0514C7EC
Namespace
Returns
int
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x3233C4EC0514C7EC, -- _ADD_POP_MULTIPLIER_VOLUME
  0, -- Volume volume
  0.0, -- float pedDensity
  0.0, -- float vehicleDensity
  false, -- BOOL p3
  false, -- BOOL p4
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0x3233C4EC0514C7EC", // _ADD_POP_MULTIPLIER_VOLUME
  0, // Volume volume
  0.0, // float pedDensity
  0.0, // float vehicleDensity
  false, // BOOL p3
  false, // BOOL p4
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x3233C4EC0514C7EC, // _ADD_POP_MULTIPLIER_VOLUME
  0, // Volume volume
  0.0f, // float pedDensity
  0.0f, // float vehicleDensity
  false, // BOOL p3
  false // BOOL p4
);
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.