_NETWORK_GET_PLAYER_FAST_INSTANCE_ID
Hash
0xD9267375834C5EABRuntime name
NetworkGetPlayerFastInstanceIdNamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _NETWORK_GET_PLAYER_FAST_INSTANCE_ID(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns int
Usage
local retval = NetworkGetPlayerFastInstanceId(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0xD9267375834C5EAB, player, Citizen.ResultAsInteger())JavaScript and C#
const retval = NetworkGetPlayerFastInstanceId(player);
// by hash
const retval = Citizen.invokeNative('0xD9267375834C5EAB', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xD9267375834C5EAB, player);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.