RedM Natives

SPAWNPOINTS_GET_NUM_SEARCH_RESULTS

Hash0xA635C11B8C44AFC2
Runtime nameSpawnpointsGetNumSearchResults
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xA635C11B8C44AFC2

Signature

int SPAWNPOINTS_GET_NUM_SEARCH_RESULTS();

Returns int

Usage

Lua
local retval = SpawnpointsGetNumSearchResults()

-- always works, by hash
local retval = Citizen.InvokeNative(0xA635C11B8C44AFC2, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = SpawnpointsGetNumSearchResults();

// by hash
const retval = Citizen.invokeNative('0xA635C11B8C44AFC2', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xA635C11B8C44AFC2);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.