RedM Natives

MUMBLE_SET_VOICE_TARGET

Sets the current Mumble voice target ID to broadcast voice to.

Hash0x960A4A95
Runtime nameMumbleSetVoiceTarget
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void MUMBLE_SET_VOICE_TARGET(int targetId);

Parameters

NameTypeDescription
targetIdint

A Mumble voice target ID, ranging from 1..30 (inclusive). 0 disables voice targets, and 31 is server loopback.

Returns void

Description

Cfx.re native reference

Sets the current Mumble voice target ID to broadcast voice to.

Usage

Lua
MumbleSetVoiceTarget(targetId)

-- always works, by hash
Citizen.InvokeNative(0x960a4a95, targetId)
JavaScript and C#
JavaScript
MumbleSetVoiceTarget(targetId);

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

Sources

Cfx.re native reference

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