RedM Natives

GET_PLAYER_ENDPOINT

Hash0xFEE404F9
Runtime nameGetPlayerEndpoint
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

char* GET_PLAYER_ENDPOINT(char* playerSrc);

Parameters

NameTypeDescription
playerSrcchar*—

Returns char*

Usage

Lua
local retval = GetPlayerEndpoint(playerSrc)

-- always works, by hash
local retval = Citizen.InvokeNative(0xfee404f9, playerSrc, Citizen.ResultAsString())
JavaScript and C#
JavaScript
const retval = GetPlayerEndpoint(playerSrc);

// by hash
const retval = Citizen.invokeNative('0xfee404f9', playerSrc, Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0xfee404f9, playerSrc);

Sources

Cfx.re native reference

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