<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=IsPlayerVoiceChannel</id>
	<title>IsPlayerVoiceChannel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=IsPlayerVoiceChannel"/>
	<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsPlayerVoiceChannel&amp;action=history"/>
	<updated>2026-04-21T13:33:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsPlayerVoiceChannel&amp;diff=3881&amp;oldid=prev</id>
		<title>BlueMountains: Created page with &quot;{{Info|Function|Server|1.1.0}}  {{FuncDescription|Tests if a player is in a voice channel. Use SetPlayerVoiceChannel to set them.}}  {{FuncSyntax|IsPlayerVoiceChannel(play...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsPlayerVoiceChannel&amp;diff=3881&amp;oldid=prev"/>
		<updated>2020-03-10T22:44:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Info|Function|Server|1.1.0}}  {{FuncDescription|Tests if a player is in a voice channel. Use &lt;a href=&quot;/wiki/SetPlayerVoiceChannel&quot; title=&quot;SetPlayerVoiceChannel&quot;&gt;SetPlayerVoiceChannel&lt;/a&gt; to set them.}}  {{FuncSyntax|IsPlayerVoiceChannel(play...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Info|Function|Server|1.1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Tests if a player is in a voice channel. Use [[SetPlayerVoiceChannel]] to set them.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsPlayerVoiceChannel(player, channel)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
{{FuncParam|channel|The channel id as an integer.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|This function returns &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039; if a player is in the voice channel.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
function cmd_isvc(player, channel)&lt;br /&gt;
    local IsInChannel = IsPlayerVoiceChannel(player, channel)&lt;br /&gt;
    AddPlayerChat(player, &amp;quot;You are in the channel &amp;quot;..channel..&amp;quot;: &amp;quot;..tostring(IsInChannel))&lt;br /&gt;
end&lt;br /&gt;
AddCommand(&amp;quot;isvc&amp;quot;, cmd_isvc)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[SetPlayerVoiceChannel]]&lt;/div&gt;</summary>
		<author><name>BlueMountains</name></author>
	</entry>
</feed>