RedM Natives

MUMBLE_ADD_VOICE_TARGET_PLAYER

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

Hash0x32C5355A
Runtime nameMumbleAddVoiceTargetPlayer
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void MUMBLE_ADD_VOICE_TARGET_PLAYER(int targetId, Player player);

Parameters

NameTypeDescription
targetIdint

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

playerPlayer

A game player index.

Returns void

Description

Cfx.re native reference

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

Usage

Lua
MumbleAddVoiceTargetPlayer(targetId, player)

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

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

Sources

Cfx.re native reference

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