RedM Natives

MUMBLE_DOES_CHANNEL_EXIST

Check whether specified channel exists on the Mumble server.

Hash0xCC8CA25
Runtime nameMumbleDoesChannelExist
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

BOOL MUMBLE_DOES_CHANNEL_EXIST(int channel);

Parameters

NameTypeDescription
channelint

A game voice channel ID.

Returns BOOL — True if the specific channel exists. False otherwise.

Description

Cfx.re native reference

Check whether specified channel exists on the Mumble server.

Usage

Lua
local retval = MumbleDoesChannelExist(channel)

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

// by hash
const retval = Citizen.invokeNative('0xcc8ca25', channel, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xcc8ca25, channel);

Sources

Cfx.re native reference

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