MUMBLE_GET_VOICE_CHANNEL_FROM_SERVER_ID
Returns the mumble voice channel from a player's server id.
Signature
int MUMBLE_GET_VOICE_CHANNEL_FROM_SERVER_ID(int serverId);Parameters
| Name | Type | Description |
|---|---|---|
serverId | int | The player's server id. |
Returns int — Int representing the identifier of the voice channel.
Description
Returns the mumble voice channel from a player's server id.
Usage
local retval = MumbleGetVoiceChannelFromServerId(serverId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x221c09f1, serverId, Citizen.ResultAsInteger())JavaScript and C#
const retval = MumbleGetVoiceChannelFromServerId(serverId);
// by hash
const retval = Citizen.invokeNative('0x221c09f1', serverId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x221c09f1, serverId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.