The Lab
PLAYER native

GET_WANTED_LEVEL_RADIUS

returns float1 parambuild 1207

Returns the search radius used at wantedLevel.

Signature

C
float GET_WANTED_LEVEL_RADIUS(int wantedLevel); // 0x80B00EB26D9521C7 b1207

Parameters

#NameType
1wantedLevelint

Facts

Facts about GET_WANTED_LEVEL_RADIUS
Name
GET_WANTED_LEVEL_RADIUS
Hash
0x80B00EB26D9521C7
Namespace
Returns
float
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(0x80B00EB26D9521C7, -- GET_WANTED_LEVEL_RADIUS
  0, -- int wantedLevel
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x80B00EB26D9521C7", // GET_WANTED_LEVEL_RADIUS
  0, // int wantedLevel
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x80B00EB26D9521C7, // GET_WANTED_LEVEL_RADIUS
  0 // int wantedLevel
);
All PLAYER natives

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