IsPlayerVoiceEnabled: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|IsPlayerVoiceEnabled(player)}} {{FuncParameters}} {{FuncParam|player|__EDIT_ME__}} {{FuncReturnVa...")
 
No edit summary
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Check if the specified player has voice chat enabled or not.}}


{{FuncSyntax|IsPlayerVoiceEnabled(player)}}
{{FuncSyntax|IsPlayerVoiceEnabled(playerid)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player|__EDIT_ME__}}
{{FuncParam|playerid|The player identifier.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' on success.}}


== Example ==
== Example ==
<syntaxhighlight lang="Lua>
__EDIT_ME__
__EDIT_ME__
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:ServerFunctions}}

Revision as of 13:05, 20 November 2019

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

__EDIT_ME__

See also

index.lua

Game

Colors

Miscellaneous

Time

Server

Explosion

Door

Network

NPC

Object

Package

Event

Pickup

Player

Text3D

Timer

Vehicles

HTTP