IsPlayerVoiceEnabled

From Onset Developer Wiki
IsPlayerVoiceEnabled

Type: Function
Context: Server
Introduced: v1.0

Description

Check if the specified player has voice chat enabled or not.

Syntax

IsPlayerVoiceEnabled(playerid)

Parameters

  • playerid
    The player identifier.

Return Value

  • Returns true on success.

Example

if IsPlayerVoiceEnabled(playerid) then
    AddPlayerChat(playerid, "You have voice chat enabled.")
end

See also