<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Braunson</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Braunson"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Braunson"/>
	<updated>2026-05-15T13:01:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientElementStreamIn&amp;diff=41649</id>
		<title>OnClientElementStreamIn</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientElementStreamIn&amp;diff=41649"/>
		<updated>2014-08-27T05:05:14Z</updated>

		<summary type="html">&lt;p&gt;Braunson: /* Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is triggered whenever a physical element is streamed in. This is triggered for all elements that are streamable, such as players, peds, vehicles, objects and markers. When this event is triggered, that element is guaranteed to be physically created as a GTA object.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[element]] that streamed in&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example shows you how to tell player that a marker was streamed in and the distance between player and the marker.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler( &amp;quot;onClientElementStreamIn&amp;quot;, getRootElement( ),&lt;br /&gt;
    function ( )&lt;br /&gt;
        if getElementType( source ) == &amp;quot;marker&amp;quot; then&lt;br /&gt;
            local myPosTab = { getElementPosition( getLocalPlayer( ) ) };&lt;br /&gt;
            local markerPosTab = { getElementPosition( source ) };&lt;br /&gt;
            local distance = getDistanceBetweenPoints3D( unpack( myPosTab ), unpack( markerPosTab ) );&lt;br /&gt;
            outputChatBox( &amp;quot;A marker has just streamed in. Distance to the marker: &amp;quot; .. tostring( distance ) ..&amp;quot;.&amp;quot; );&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client element events===&lt;br /&gt;
{{Client_element_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Braunson</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Scripting_Tips&amp;diff=41112</id>
		<title>Talk:Scripting Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Scripting_Tips&amp;diff=41112"/>
		<updated>2014-08-01T18:00:22Z</updated>

		<summary type="html">&lt;p&gt;Braunson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I've added more explanations that are in great detail. --[[User:Arran Fortuna|Arran Fortuna]] ([[User talk:Arran Fortuna|talk]]) 12:14, 1 August 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
Awesome job :) --[[User:bmazoka|bmazoka]] ([[User talk:bmazoka|talk]])&lt;/div&gt;</summary>
		<author><name>Braunson</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Scripting_Tips&amp;diff=41111</id>
		<title>Talk:Scripting Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Scripting_Tips&amp;diff=41111"/>
		<updated>2014-08-01T17:59:56Z</updated>

		<summary type="html">&lt;p&gt;Braunson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I've added more explanations that are in great detail. --[[User:Arran Fortuna|Arran Fortuna]] ([[User talk:Arran Fortuna|talk]]) 12:14, 1 August 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
Awesome job :) --[[User:bmazoka|bmazoka]] ([[User talk:bmazoka|talk])&lt;/div&gt;</summary>
		<author><name>Braunson</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Help:Main_Page&amp;diff=41098</id>
		<title>Help:Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Help:Main_Page&amp;diff=41098"/>
		<updated>2014-08-01T07:14:14Z</updated>

		<summary type="html">&lt;p&gt;Braunson: /* Request */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;background: #FFCFCF; padding: 5px; font-weight:bold; border: 1px dotted #AAAAAA;padding:10px;margin:10px;&amp;quot;&amp;gt;Bu sayfa yer tutucu olarak konulmuştur. &amp;gt;&amp;gt;&amp;gt;&amp;gt; [http://www.cogmta.net cogmta]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Can you please add a link to the Italian main page(&amp;lt;nowiki&amp;gt;[[it:Pagina principale]]&amp;lt;/nowiki&amp;gt;)? Thanks.&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-family:Courier New, Courier, monospace&amp;quot;&amp;gt;[[User:Shadd|Shadd]]&amp;lt;/span&amp;gt;&amp;lt;sub&amp;gt;([[User_talk:Shadd|Сто?]])&amp;lt;/sub&amp;gt; 11:49, 25 January 2008 (CST)&lt;br /&gt;
:Done :) Keep up the good work! [[User:EAi|eAi]] 20:06, 25 January 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
The Dutch one too please (&amp;lt;nowiki&amp;gt;[[nl:Main Page]]&amp;lt;/nowiki&amp;gt;)? :P&lt;br /&gt;
:Done :) [[User:EAi|eAi]] 11:24, 26 January 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
Please add link to Spanish main page (&amp;lt;nowiki&amp;gt;[[es:Pagina Principal]]&amp;lt;/nowiki&amp;gt;) :B, Bye&lt;br /&gt;
&amp;lt;br/&amp;gt;[[User:Zorrigas|zorrigas]] 04:17, 12 July 2009 (GMT-4)&lt;br /&gt;
:Done :) [[User:EAi|eAi]] 13:50, 12 July 2009 (CEST)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
http://development.mtasa.com/index.php?title=Vehicle_Upgrades&lt;br /&gt;
There is no link in 'Vehicle Upgrades' in the 'ID list'. I already knew that there is this page, but unfortunately we can't modify this page... :( &amp;lt;br/&amp;gt; [[User:Atti|Atti]] 03:29, 27 January 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
Please add a Link to the German Translation. (DE/Hauptseite)&lt;br /&gt;
&lt;br /&gt;
Same [[Introduction to Scripting the GUI|page]] is linked twice in the 'Getting started' section ('Introduction to Scripting the GUI' and 'Scripted GUI'). [[User:Awwu|Awwu]] 05:03, 25 May 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
Can you update the bottom section of the homepage to say &amp;quot;Multi Theft Auto 1.4&amp;quot;. Also replace &amp;quot;Known Issues&amp;quot; with changelog:&lt;br /&gt;
https://wiki.multitheftauto.com/wiki/Changes_in_1.4&lt;/div&gt;</summary>
		<author><name>Braunson</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Scripting_Tips&amp;diff=41097</id>
		<title>Talk:Scripting Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Scripting_Tips&amp;diff=41097"/>
		<updated>2014-08-01T05:07:01Z</updated>

		<summary type="html">&lt;p&gt;Braunson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Unclear information. Recently asked on MTA:SA forums.&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
If your script is covered in isTimer and isElement checks to hide debug warnings from deleted elements not being dereferenced (making the variable nil) you will regret it when that element ID or timer pointer has to be re-used by MTA in a weeks time and your script starts acting strangely and you won't have a clue why. Dereference destroyed elements and disconnected players! &lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://forum.mtasa.com/viewtopic.php?f=91&amp;amp;t=78536 Forum Thread]&lt;br /&gt;
&lt;br /&gt;
'''Text:'''&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
I saw this tip on this page on the wiki today:&lt;br /&gt;
&lt;br /&gt;
    If your script is covered in isTimer and isElement checks to hide debug warnings from deleted elements not being dereferenced (making the variable nil) you will regret it when that element ID or timer pointer has to be re-used by MTA in a weeks time and your script starts acting strangely and you won't have a clue why. Dereference destroyed elements and disconnected players! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://wiki.multitheftauto.com/wiki/Scripting_Tips&lt;br /&gt;
&lt;br /&gt;
I'm just confused by what it means when it says the element has to be re-used by MTA in a a weeks time.. I'm not sure what it means to be 100% honest. Can anyone explain to mean what that means? I would appreciate it. Thanks!&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Information should be revised to be easy to read by new players.&lt;/div&gt;</summary>
		<author><name>Braunson</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Scripting_Tips&amp;diff=41096</id>
		<title>Talk:Scripting Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Scripting_Tips&amp;diff=41096"/>
		<updated>2014-08-01T05:06:11Z</updated>

		<summary type="html">&lt;p&gt;Braunson: Information about confusion with scripting tips. This should be easy for new users to read and understand.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Unclear information. Recently asked on MTA:SA forums.&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
If your script is covered in isTimer and isElement checks to hide debug warnings from deleted elements not being dereferenced (making the variable nil) you will regret it when that element ID or timer pointer has to be re-used by MTA in a weeks time and your script starts acting strangely and you won't have a clue why. Dereference destroyed elements and disconnected players! &lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://forum.mtasa.com/viewtopic.php?f=91&amp;amp;t=78536 Forum Thread]&lt;br /&gt;
&lt;br /&gt;
'''Text:'''&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
I saw this tip on this page on the wiki today:&lt;br /&gt;
&lt;br /&gt;
    If your script is covered in isTimer and isElement checks to hide debug warnings from deleted elements not being dereferenced (making the variable nil) you will regret it when that element ID or timer pointer has to be re-used by MTA in a weeks time and your script starts acting strangely and you won't have a clue why. Dereference destroyed elements and disconnected players! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://wiki.multitheftauto.com/wiki/Scripting_Tips&lt;br /&gt;
&lt;br /&gt;
I'm just confused by what it means when it says the element has to be re-used by MTA in a a weeks time.. I'm not sure what it means to be 100% honest. Can anyone explain to mean what that means? I would appreciate it. Thanks!&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;/div&gt;</summary>
		<author><name>Braunson</name></author>
	</entry>
</feed>