RedM Natives

MUMBLE_REMOVE_VOICE_TARGET_PLAYER

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

Hash0x88CD646F
Runtime nameMumbleRemoveVoiceTargetPlayer
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void MUMBLE_REMOVE_VOICE_TARGET_PLAYER(int targetId, Player player);

Parameters

NameTypeDescription
targetIdint

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

playerPlayer

The player index 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

Usage

Lua
MumbleRemoveVoiceTargetPlayer(targetId, player)

-- always works, by hash
Citizen.InvokeNative(0x88cd646f, targetId, player)
JavaScript and C#
JavaScript
MumbleRemoveVoiceTargetPlayer(targetId, player);

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

Sources

Cfx.re native reference

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