MUMBLE_SET_SERVER_ADDRESS
Changes the Mumble server address to connect to, and reconnects to the new address.
Signature
void MUMBLE_SET_SERVER_ADDRESS(char* address, int port);Parameters
| Name | Type | Description |
|---|---|---|
address | char* | The address of the mumble server. |
port | int | The port of the mumble server. |
Returns void
Description
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
MumbleSetServerAddress(address, port)
-- always works, by hash
Citizen.InvokeNative(0xe6eb2cd8, address, port)JavaScript and C#
MumbleSetServerAddress(address, port);
// by hash
Citizen.invokeNative('0xe6eb2cd8', address, port);Function.Call((Hash)0xe6eb2cd8, address, port);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.