RAGE.Voice.Allowed: Difference between revisions
(Created page with "Checks if voice chat is allowed by the player and if got initialized successfully (e.g., it wont when there's no a microphone). ==Syntax== <pre>Bool RAGE.Voice.Allowed;</pre>...") |
|||
| Line 6: | Line 6: | ||
==Example== | ==Example== | ||
{{CSharpContainer| | {{CSharpContainer| | ||
<syntaxhighlight lang="C#"> | <syntaxhighlight lang="C#"> | ||
public bool getAllowedVoice() | public bool getAllowedVoice() | ||
Revision as of 12:22, 16 January 2019
Checks if voice chat is allowed by the player and if got initialized successfully (e.g., it wont when there's no a microphone).
Syntax
Bool RAGE.Voice.Allowed;
Example
C# Syntax
public bool getAllowedVoice()
{
return RAGE.Voice.Allowed;
}