RedM Natives

MUMBLE_REMOVE_VOICE_TARGET_PLAYER_BY_SERVER_ID

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

Hash0x930BD34B
Runtime nameMumbleRemoveVoiceTargetPlayerByServerId
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void MUMBLE_REMOVE_VOICE_TARGET_PLAYER_BY_SERVER_ID(int targetId, int serverId);

Parameters

NameTypeDescription
targetIdint

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

serverIdint

The player's server id to remove from the target.

Returns void

Description

Cfx.re native reference

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

Performs the opposite operation of MUMBLE_ADD_VOICE_TARGET_PLAYER_BY_SERVER_ID

Usage

Lua
MumbleRemoveVoiceTargetPlayerByServerId(targetId, serverId)

-- always works, by hash
Citizen.InvokeNative(0x930bd34b, targetId, serverId)
JavaScript and C#
JavaScript
MumbleRemoveVoiceTargetPlayerByServerId(targetId, serverId);

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

Sources

Cfx.re native reference

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