<?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=BroadcastRemoteEvent</id>
	<title>BroadcastRemoteEvent - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=BroadcastRemoteEvent"/>
	<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=BroadcastRemoteEvent&amp;action=history"/>
	<updated>2026-04-29T23:31:02Z</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=BroadcastRemoteEvent&amp;diff=4636&amp;oldid=prev</id>
		<title>BlueMountains at 17:12, 30 December 2020</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=BroadcastRemoteEvent&amp;diff=4636&amp;oldid=prev"/>
		<updated>2020-12-30T17:12:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:12, 30 December 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Info|Function|Server|1.0}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Info|Function|Server|1&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.4&lt;/ins&gt;.0}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{FuncDescription|This function has the same functionality as [[CallRemoteEvent]]. The difference is that this function can call a remote event on all connected players.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{FuncDescription|This function has the same functionality as [[CallRemoteEvent]]. The difference is that this function can call a remote event on all connected players.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BlueMountains</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=BroadcastRemoteEvent&amp;diff=4626&amp;oldid=prev</id>
		<title>BlueMountains: Created page with &quot;{{Info|Function|Server|1.0}}  {{FuncDescription|This function has the same functionality as CallRemoteEvent. The difference is that this function can call a remote event o...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=BroadcastRemoteEvent&amp;diff=4626&amp;oldid=prev"/>
		<updated>2020-12-30T17:05:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Info|Function|Server|1.0}}  {{FuncDescription|This function has the same functionality as &lt;a href=&quot;/wiki/CallRemoteEvent&quot; title=&quot;CallRemoteEvent&quot;&gt;CallRemoteEvent&lt;/a&gt;. The difference is that this function can call a remote event o...&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.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|This function has the same functionality as [[CallRemoteEvent]]. The difference is that this function can call a remote event on all connected players.&lt;br /&gt;
&lt;br /&gt;
See [[CallRemoteEvent]] for detailed explanations and limitations.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|BroadcastRemoteEvent(EventName [, LuaArgs...])}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|EventName|The name of the remote event as a string which was explicit defined by [[AddRemoteEvent]].}}&lt;br /&gt;
{{FuncParamOptional|UserArgs|Arguments to pass to the remote event.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039; on success or &amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039; on an error.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Script on the server:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
function OnPlayerJoin(player)&lt;br /&gt;
	-- Calls the remote event &amp;quot;ServerCallsMe&amp;quot; on all connected players.&lt;br /&gt;
	BroadcastRemoteEvent(&amp;quot;PlayerJoin&amp;quot;, player)&lt;br /&gt;
end&lt;br /&gt;
AddEvent(&amp;quot;OnPlayerJoin&amp;quot;, OnPlayerJoin)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Script on the client:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
function PlayerJoin(player)&lt;br /&gt;
	AddPlayerChat(&amp;quot;Server called PlayerJoin(&amp;quot;..player..&amp;quot;)&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
AddRemoteEvent(&amp;quot;PlayerJoin&amp;quot;, PlayerJoin)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[AddEvent]]&lt;br /&gt;
* [[CallEvent]]&lt;br /&gt;
* [[AddRemoteEvent]]&lt;br /&gt;
* [[CallRemoteEvent]]&lt;br /&gt;
* [[BroadcastRemoteEvent]]&lt;br /&gt;
* [[AddCommand]]&lt;br /&gt;
* [[GetAllPackages]]&lt;/div&gt;</summary>
		<author><name>BlueMountains</name></author>
	</entry>
</feed>