RedM Natives

MUMBLE_ADD_VOICE_TARGET_PLAYER_BY_SERVER_ID

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

Hash0x25F2B65F
Runtime nameMumbleAddVoiceTargetPlayerByServerId
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void MUMBLE_ADD_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.

Returns void

Description

Cfx.re native reference

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

Usage

Lua
MumbleAddVoiceTargetPlayerByServerId(targetId, serverId)

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

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

Sources

Cfx.re native reference

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