RedM Natives

SPAWNPOINTS_GET_SEARCH_RESULT_FLAGS

Hash0xB782F8238512BAD5
Runtime nameSpawnpointsGetSearchResultFlags
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB782F8238512BAD5

Signature

void SPAWNPOINTS_GET_SEARCH_RESULT_FLAGS(Any p0, Any* p1);

Parameters

NameTypeDescription
p0Any—
p1Any*—

Returns void

Usage

Lua
local p1 = SpawnpointsGetSearchResultFlags(p0, p1)

-- always works, by hash
local p1 = Citizen.InvokeNative(0xB782F8238512BAD5, p0, Citizen.PointerValueIntInitialized(p1))
JavaScript and C#
JavaScript
const p1 = SpawnpointsGetSearchResultFlags(p0, p1);

// by hash
const p1 = Citizen.invokeNative('0xB782F8238512BAD5', p0, Citizen.pointerValueIntInitialized(p1));
C#
var p1 = new OutputArgument();
Function.Call((Hash)0xB782F8238512BAD5, p0, p1);
// p1.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.

Sources

alloc8or RDR3 NativeDB

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