<?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=Freedome97</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=Freedome97"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Freedome97"/>
	<updated>2026-04-26T06:40:39Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DoesPedHaveJetPack&amp;diff=37005</id>
		<title>DoesPedHaveJetPack</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DoesPedHaveJetPack&amp;diff=37005"/>
		<updated>2013-08-30T22:50:54Z</updated>

		<summary type="html">&lt;p&gt;Freedome97: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Checks whether or not a ped currently has a jetpack.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool doesPedHaveJetPack ( ped thePed )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the ped you want to check&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the ped is carrying a jetpack, ''false'' if he is not or an invalid element was passed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 1:''' This examples adds a &amp;quot;jetpack&amp;quot; console command, which gives or removes a jetpack from the player.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Checks whether or not the player has a jetpack, and gives or removes it from the player&lt;br /&gt;
function consoleJetPack ( thePlayer, commandName )&lt;br /&gt;
   if ( not doesPedHaveJetPack ( thePlayer ) ) then            -- if the player doesn't have a jetpack&lt;br /&gt;
      local status = givePedJetPack ( thePlayer )              -- give him one&lt;br /&gt;
      if ( not status ) then&lt;br /&gt;
         outputConsole ( &amp;quot;Failed to give jetpack.&amp;quot;, thePlayer )   -- tell him if it failed&lt;br /&gt;
      end&lt;br /&gt;
   else&lt;br /&gt;
      local status = removePedJetPack ( thePlayer )            -- remove his jetpack&lt;br /&gt;
      if ( not status ) then&lt;br /&gt;
         outputConsole ( &amp;quot;Failed to remove jetpack.&amp;quot;, thePlayer ) -- tell him if it failed&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- add the function above to handle the &amp;quot;jetpack&amp;quot; command&lt;br /&gt;
addCommandHandler ( &amp;quot;jetpack&amp;quot;, consoleJetPack )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 2:''' This example provides a check to see if players have a jetpack when they enter a particular marker.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function onWarpMarkerHit ( thePlayer, matchingDimension )&lt;br /&gt;
   -- check whether the player has a jetpack and store it in the hasJetPack flag&lt;br /&gt;
   local hasJetPack = doesPedHaveJetPack ( thePlayer )&lt;br /&gt;
   if ( not hasJetPack ) then&lt;br /&gt;
      -- warp the player to their destination&lt;br /&gt;
      setElementPosition ( thePlayer, 1337, 1337, 50 )&lt;br /&gt;
   else&lt;br /&gt;
      -- tell the player to remove their jetpack&lt;br /&gt;
      outputChatBox ( &amp;quot;You must remove your jetpack to use this marker!&amp;quot;, thePlayer )&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- create a marker and add the function above to its onMarkerHit event&lt;br /&gt;
addEventHandler ( &amp;quot;onMarkerHit&amp;quot;, createMarker(3180, 200, 27), onWarpMarkerHit )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Ped functions}}&lt;/div&gt;</summary>
		<author><name>Freedome97</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Freedome97&amp;diff=37004</id>
		<title>User:Freedome97</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Freedome97&amp;diff=37004"/>
		<updated>2013-08-30T22:39:37Z</updated>

		<summary type="html">&lt;p&gt;Freedome97: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hey Guys,&lt;br /&gt;
Im Freedome97 and come from Germany.&lt;br /&gt;
&lt;br /&gt;
Im known from mta-sa.org&lt;br /&gt;
&lt;br /&gt;
Greets&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hey Leute,&lt;br /&gt;
Ich bin Freedome97 und komme aus Deutschland.&lt;br /&gt;
&lt;br /&gt;
Vielleicht kennt mich der ein oder andere von: mta-sa.org // wiki.mtasa.de&lt;br /&gt;
&lt;br /&gt;
Mfg&lt;/div&gt;</summary>
		<author><name>Freedome97</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User_talk:Freedome97&amp;diff=37003</id>
		<title>User talk:Freedome97</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User_talk:Freedome97&amp;diff=37003"/>
		<updated>2013-08-30T22:38:14Z</updated>

		<summary type="html">&lt;p&gt;Freedome97: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hier kann diskutoert werden ^^&lt;/div&gt;</summary>
		<author><name>Freedome97</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Freedome97&amp;diff=37002</id>
		<title>User:Freedome97</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Freedome97&amp;diff=37002"/>
		<updated>2013-08-30T22:33:01Z</updated>

		<summary type="html">&lt;p&gt;Freedome97: Created page with &amp;quot;Hey Guys, Im Freedome97 and come from Germany.  Im known from mta-sa.org  Greets&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hey Guys,&lt;br /&gt;
Im Freedome97 and come from Germany.&lt;br /&gt;
&lt;br /&gt;
Im known from mta-sa.org&lt;br /&gt;
&lt;br /&gt;
Greets&lt;/div&gt;</summary>
		<author><name>Freedome97</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User_talk:Freedome97&amp;diff=37001</id>
		<title>User talk:Freedome97</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User_talk:Freedome97&amp;diff=37001"/>
		<updated>2013-08-30T22:31:36Z</updated>

		<summary type="html">&lt;p&gt;Freedome97: &amp;gt; Over me &amp;lt;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, im Freedome97.&lt;br /&gt;
I am coming from Germany and im knowen on mta-sa.org.&lt;br /&gt;
&lt;br /&gt;
Greets&lt;/div&gt;</summary>
		<author><name>Freedome97</name></author>
	</entry>
</feed>