MUMBLE_DOES_CHANNEL_EXIST
Check whether specified channel exists on the Mumble server.
Signature
BOOL MUMBLE_DOES_CHANNEL_EXIST(int channel);Parameters
| Name | Type | Description |
|---|---|---|
channel | int | A game voice channel ID. |
Returns BOOL — True if the specific channel exists. False otherwise.
Description
Check whether specified channel exists on the Mumble server.
Usage
local retval = MumbleDoesChannelExist(channel)
-- always works, by hash
local retval = Citizen.InvokeNative(0xcc8ca25, channel, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = MumbleDoesChannelExist(channel);
// by hash
const retval = Citizen.invokeNative('0xcc8ca25', channel, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xcc8ca25, channel);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.