RedM Natives

MUMBLE_REMOVE_VOICE_TARGET_CHANNEL

Removes the specified voice channel from the user's voice targets.

Hash0x268DB867
Runtime nameMumbleRemoveVoiceTargetChannel
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void MUMBLE_REMOVE_VOICE_TARGET_CHANNEL(int targetId, int channel);

Parameters

NameTypeDescription
targetIdint

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

channelint

The game voice channel ID to remove from the target.

Returns void

Description

Cfx.re native reference

Removes the specified voice channel from the user's voice targets.

Performs the opposite operation of MUMBLE_ADD_VOICE_TARGET_CHANNEL

Usage

Lua
MumbleRemoveVoiceTargetChannel(targetId, channel)

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

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

Sources

Cfx.re native reference

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