IsPlayerVoiceEnabled

From Onset Developer Wiki
Revision as of 06:04, 23 November 2019 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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