RedM Natives

_GET_SOCIAL_MATCHMAKING_ALLOWED

Hash0xD0541EF28E9C4783
Runtime nameGetSocialMatchmakingAllowed
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _GET_SOCIAL_MATCHMAKING_ALLOWED();

Returns BOOL

Usage

Lua
local retval = GetSocialMatchmakingAllowed()

-- always works, by hash
local retval = Citizen.InvokeNative(0xD0541EF28E9C4783, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetSocialMatchmakingAllowed();

// by hash
const retval = Citizen.invokeNative('0xD0541EF28E9C4783', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xD0541EF28E9C4783);
  • 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.