_NETWORK_IS_FRIEND_HANDLE_IN_SAME_TITLE
Hash
0x665161D250850A9FRuntime name
NetworkIsFriendHandleInSameTitleNamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _NETWORK_IS_FRIEND_HANDLE_IN_SAME_TITLE(Any* gamerHandle);Parameters
| Name | Type | Description |
|---|---|---|
gamerHandle | Any* | — |
Returns BOOL
Usage
local retval, gamerHandle = NetworkIsFriendHandleInSameTitle(gamerHandle)
-- always works, by hash
local retval, gamerHandle = Citizen.InvokeNative(0x665161D250850A9F, Citizen.PointerValueIntInitialized(gamerHandle), Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, gamerHandle] = NetworkIsFriendHandleInSameTitle(gamerHandle);
// by hash
const [retval, gamerHandle] = Citizen.invokeNative('0x665161D250850A9F', Citizen.pointerValueIntInitialized(gamerHandle), Citizen.returnResultAnyway());var gamerHandle = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x665161D250850A9F, gamerHandle);
// gamerHandle.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.- 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.