RedM Natives

_SET_SOCIAL_MATCHMAKING_ALLOWED

Hash0x777D0571A466B520
Runtime nameSetSocialMatchmakingAllowed
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_SOCIAL_MATCHMAKING_ALLOWED(BOOL toggle);

Parameters

NameTypeDescription
toggleBOOL—

Returns void

Usage

Lua
SetSocialMatchmakingAllowed(toggle)

-- always works, by hash
Citizen.InvokeNative(0x777D0571A466B520, toggle)
JavaScript and C#
JavaScript
SetSocialMatchmakingAllowed(toggle);

// by hash
Citizen.invokeNative('0x777D0571A466B520', toggle);
C#
Function.Call((Hash)0x777D0571A466B520, toggle);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

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