SetPlayerVoiceEnabled
From Onset Developer Wiki
Description
Enable a player's voice chat.
Syntax
SetPlayerVoiceEnabled(playerid, bEnable)
Parameters
- playerid
The player identifier. - bEnable
The boolean enable status.
Return Value
- Returns true if the change was succesfull, otherwise false.
Example
SetPlayerVoiceEnabled(player, false) -- mute