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>...") |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
==Example== | ==Example== | ||
{{CSharpContainer| | {{CSharpContainer| | ||
<syntaxhighlight lang="C#"> | <syntaxhighlight lang="C#"> | ||
public bool getAllowedVoice() | public bool getAllowedVoice() | ||
| Line 14: | Line 13: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
[[Category:Clientside API]] | |||
Latest revision as of 12:48, 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;
}