MUMBLE_SET_PLAYER_MUTED
Mutes or unmutes the specified player
Signature
void MUMBLE_SET_PLAYER_MUTED(int playerSrc, bool toggle);Parameters
| Name | Type | Description |
|---|---|---|
playerSrc | int | The player to set the mute state of |
toggle | bool | Whether to mute or unmute the player |
Returns void
Description
Mutes or unmutes the specified player
Usage
MumbleSetPlayerMuted(playerSrc, toggle)
-- always works, by hash
Citizen.InvokeNative(0xcc6c2eb1, playerSrc, toggle)JavaScript and C#
MumbleSetPlayerMuted(playerSrc, toggle);
// by hash
Citizen.invokeNative('0xcc6c2eb1', playerSrc, toggle);Function.Call((Hash)0xcc6c2eb1, playerSrc, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.