<?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=YoungScripter</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=YoungScripter"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/YoungScripter"/>
	<updated>2026-05-02T15:59:40Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User_talk:YoungScripter&amp;diff=17560</id>
		<title>User talk:YoungScripter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User_talk:YoungScripter&amp;diff=17560"/>
		<updated>2008-07-03T21:01:54Z</updated>

		<summary type="html">&lt;p&gt;YoungScripter: New page: ==YoungScripter==&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==YoungScripter==&lt;/div&gt;</summary>
		<author><name>YoungScripter</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:YoungScripter&amp;diff=17559</id>
		<title>User:YoungScripter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:YoungScripter&amp;diff=17559"/>
		<updated>2008-07-03T21:01:35Z</updated>

		<summary type="html">&lt;p&gt;YoungScripter: New page: ==YoungScripter==&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==YoungScripter==&lt;/div&gt;</summary>
		<author><name>YoungScripter</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsElementOnScreen&amp;diff=17557</id>
		<title>IsElementOnScreen</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsElementOnScreen&amp;diff=17557"/>
		<updated>2008-07-03T21:00:26Z</updated>

		<summary type="html">&lt;p&gt;YoungScripter: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isElementOnScreen ( element theElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theElement:''' The element of which you wish to check wether it's being rendered on screen.&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if element is on screen, ''false'' if not.&lt;br /&gt;
==Example==&lt;br /&gt;
This function will check if you can see your kill when you die.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function player_Wasted ( killer, weapon, bodypart )&lt;br /&gt;
    -- if there even was an attacker&lt;br /&gt;
    if ( attacker ) then&lt;br /&gt;
        -- there was an attacker&lt;br /&gt;
        if ( isElementOnScreen ( attacker ) ) then&lt;br /&gt;
            -- the player killed can see his killer&lt;br /&gt;
            outputChatBox ( &amp;quot;You can still see your killer!&amp;quot;, source, 255, 0, 0 )&lt;br /&gt;
        else&lt;br /&gt;
            -- the player killed can not see his killer&lt;br /&gt;
            outputChatBox ( &amp;quot;You can not see your killer!&amp;quot;, source, 255, 0, 0 )&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientPlayerWasted&amp;quot;, getRootElement(), player_Wasted )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
[[Category:Incomplete]]&lt;/div&gt;</summary>
		<author><name>YoungScripter</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsElementOnScreen&amp;diff=17556</id>
		<title>IsElementOnScreen</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsElementOnScreen&amp;diff=17556"/>
		<updated>2008-07-03T20:58:37Z</updated>

		<summary type="html">&lt;p&gt;YoungScripter: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isElementOnScreen ( element theElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theElement:''' The element of which you wish to check wether it's being rendered on screen.&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if element is on screen, ''false'' if not.&lt;br /&gt;
==Example==&lt;br /&gt;
This function will check if you can see your kill when you die.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function player_Wasted ( ammo, attacker, weapon, bodypart )&lt;br /&gt;
    -- if there even was an attacker&lt;br /&gt;
    if ( attacker ) then&lt;br /&gt;
        -- there was an attacker&lt;br /&gt;
        if ( isElementOnScreen ( attacker ) ) then&lt;br /&gt;
            -- the player killed can see his killer&lt;br /&gt;
            outputChatBox ( &amp;quot;You can still see your killer!&amp;quot;, source, 255, 0, 0 )&lt;br /&gt;
        else&lt;br /&gt;
            -- the player killed can not see his killer&lt;br /&gt;
            outputChatBox ( &amp;quot;You can not see your killer!&amp;quot;, source, 255, 0, 0 )&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), player_Wasted )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
[[Category:Incomplete]]&lt;/div&gt;</summary>
		<author><name>YoungScripter</name></author>
	</entry>
</feed>