GET_PLAYER_ENDPOINT
Signature
char* GET_PLAYER_ENDPOINT(char* playerSrc);Parameters
| Name | Type | Description |
|---|---|---|
playerSrc | char* | — |
Returns char*
Usage
local retval = GetPlayerEndpoint(playerSrc)
-- always works, by hash
local retval = Citizen.InvokeNative(0xfee404f9, playerSrc, Citizen.ResultAsString())JavaScript and C#
const retval = GetPlayerEndpoint(playerSrc);
// by hash
const retval = Citizen.invokeNative('0xfee404f9', playerSrc, Citizen.returnResultAnyway(), Citizen.resultAsString());string retval = Function.Call<string>((Hash)0xfee404f9, playerSrc);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.