RedM Natives

MUMBLE_SET_SERVER_ADDRESS

Changes the Mumble server address to connect to, and reconnects to the new address.

Hash0xE6EB2CD8
Runtime nameMumbleSetServerAddress
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void MUMBLE_SET_SERVER_ADDRESS(char* address, int port);

Parameters

NameTypeDescription
addresschar*

The address of the mumble server.

portint

The port of the mumble server.

Returns void

Description

Cfx.re native reference

Changes the Mumble server address to connect to, and reconnects to the new address.

Setting the address to an empty string and the port to -1 will reset to the built in FXServer Mumble Implementation.

Usage

Lua
MumbleSetServerAddress(address, port)

-- always works, by hash
Citizen.InvokeNative(0xe6eb2cd8, address, port)
JavaScript and C#
JavaScript
MumbleSetServerAddress(address, port);

// by hash
Citizen.invokeNative('0xe6eb2cd8', address, port);
C#
Function.Call((Hash)0xe6eb2cd8, address, port);

Sources

Cfx.re native reference

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