RedM Natives

MUMBLE_ADD_VOICE_TARGET_CHANNEL

Adds the specified channel to the target list for the specified Mumble voice target ID.

Hash0x4D386C9E
Runtime nameMumbleAddVoiceTargetChannel
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void MUMBLE_ADD_VOICE_TARGET_CHANNEL(int targetId, int channel);

Parameters

NameTypeDescription
targetIdint

A Mumble voice target ID, ranging from 1..30 (inclusive).

channelint

A game voice channel ID.

Returns void

Description

Cfx.re native reference

Adds the specified channel to the target list for the specified Mumble voice target ID.

Usage

Lua
MumbleAddVoiceTargetChannel(targetId, channel)

-- always works, by hash
Citizen.InvokeNative(0x4d386c9e, targetId, channel)
JavaScript and C#
JavaScript
MumbleAddVoiceTargetChannel(targetId, channel);

// by hash
Citizen.invokeNative('0x4d386c9e', targetId, channel);
C#
Function.Call((Hash)0x4d386c9e, targetId, channel);

Sources

Cfx.re native reference

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