NETWORK_DISPLAYNAMES_FROM_HANDLES_START
Hardcoded to return -1.
Hash
0xD66C9E72B3CC4982Runtime name
NetworkDisplaynamesFromHandlesStartNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xD66C9E72B3CC4982Signature
int NETWORK_DISPLAYNAMES_FROM_HANDLES_START(Any* p0, Any p1);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Any* | — |
p1 | Any | — |
Returns int
Description
Hardcoded to return -1.
Usage
local retval, p0 = NetworkDisplaynamesFromHandlesStart(p1)
-- always works, by hash
local retval, p0 = Citizen.InvokeNative(0xD66C9E72B3CC4982, Citizen.PointerValueInt(), p1, Citizen.ResultAsInteger())JavaScript and C#
const [retval, p0] = NetworkDisplaynamesFromHandlesStart(p1);
// by hash
const [retval, p0] = Citizen.invokeNative('0xD66C9E72B3CC4982', Citizen.pointerValueInt(), p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());var p0 = new OutputArgument();
int retval = Function.Call<int>((Hash)0xD66C9E72B3CC4982, p0, p1);
// p0.GetResult<int>()- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
Any*arguments are often structs. Build them with a DataView buffer and pass it with:Buffer()— see the examples and notes below.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.