MUMBLE_IS_PLAYER_MUTED
Checks if the player is currently muted
Signature
BOOL MUMBLE_IS_PLAYER_MUTED(int playerSrc);Parameters
| Name | Type | Description |
|---|---|---|
playerSrc | int | The player to get the mute state for |
Returns BOOL — Whether or not the player is muted
Description
Checks if the player is currently muted
Usage
local retval = MumbleIsPlayerMuted(playerSrc)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1d5d50c2, playerSrc, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = MumbleIsPlayerMuted(playerSrc);
// by hash
const retval = Citizen.invokeNative('0x1d5d50c2', playerSrc, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x1d5d50c2, playerSrc);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.