SetPlayerVoiceTone

From Onset Developer Wiki
Revision as of 22:08, 7 March 2020 by 28days (talk | contribs) (Created page with "{{Info|Function|Client|1.1.0}} {{FuncDescription|Switches the player voice tone.}} {{FuncSyntax|SetPlayerVoiceTone(playerId, bEnable)}} {{FuncParameters}} {{FuncParam|gende...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetPlayerVoiceTone

Type: Function
Context: Client
Introduced: v1.1.0

Description

Switches the player voice tone.

Syntax

SetPlayerVoiceTone(playerId, bEnable)

Parameters

  • gender
    male or female.

Return Value

  • Returns true on success.

Example

-- If male
SetPlayerVoiceTone(GetPlayerId(), "male")

-- If female
SetPlayerVoiceTone(GetPlayerId(), "female")

See also

_EDIT_ME_