The Lab
PED native

SPAWNPOINTS_GET_NUM_SEARCH_RESULTS

returns int0 paramsbuild 1207

Returns how many spawn points the last search found.

Signature

C
int SPAWNPOINTS_GET_NUM_SEARCH_RESULTS(); // 0xA635C11B8C44AFC2 b1207

Parameters

This native takes no parameters.

Facts

Facts about SPAWNPOINTS_GET_NUM_SEARCH_RESULTS
Name
SPAWNPOINTS_GET_NUM_SEARCH_RESULTS
Hash
0xA635C11B8C44AFC2
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(0xA635C11B8C44AFC2, -- SPAWNPOINTS_GET_NUM_SEARCH_RESULTS
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xA635C11B8C44AFC2", // SPAWNPOINTS_GET_NUM_SEARCH_RESULTS
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xA635C11B8C44AFC2); // SPAWNPOINTS_GET_NUM_SEARCH_RESULTS
All PED natives

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