SetPlayerVoiceEnabled: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetPlayerVoiceEnabled(player, enable)}} {{FuncParameters}} {{FuncParam|player|__EDIT_ME__}} {{Func..."
 
28days (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Enable a player's voice chat.}}


{{FuncSyntax|SetPlayerVoiceEnabled(player, enable)}}
{{FuncSyntax|SetPlayerVoiceEnabled(playerid, bEnable)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player|__EDIT_ME__}}
{{FuncParam|playerid|The player identifier.}}
{{FuncParam|enable|__EDIT_ME__}}
{{FuncParam|bEnable|The boolean enable status.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|__EDIT_ME__}}
Line 15: Line 15:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:VoiceFunctions}}

Revision as of 06:04, 23 November 2019

SetPlayerVoiceEnabled

Type: Function
Context: Server
Introduced: v1.0

Description

Enable a player's voice chat.

Syntax

SetPlayerVoiceEnabled(playerid, bEnable)

Parameters

  • playerid
    The player identifier.
  • bEnable
    The boolean enable status.

Return Value

  • __EDIT_ME__

Example

__EDIT_ME__

See also