The Lab
POPULATION native

_IS_POPZONE_VALID

returns BOOL1 parambuild 1207

Returns true if the population zone handle is valid.

Signature

C
BOOL _IS_POPZONE_VALID(PopZone popZone); // 0xA5BD585005EFCAD4 b1207

Parameters

#NameType
1popZonePopZone

Facts

Facts about _IS_POPZONE_VALID
Name
_IS_POPZONE_VALID
Hash
0xA5BD585005EFCAD4
Namespace
Returns
BOOL
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(0xA5BD585005EFCAD4, -- _IS_POPZONE_VALID
  0 -- PopZone popZone
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xA5BD585005EFCAD4", // _IS_POPZONE_VALID
  0, // PopZone popZone
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xA5BD585005EFCAD4, // _IS_POPZONE_VALID
  0 // PopZone popZone
);
All POPULATION natives

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