<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DE/GetVehiclesOfType?action=history&amp;feed=atom</id>
	<title>DE/GetVehiclesOfType - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DE/GetVehiclesOfType?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DE/GetVehiclesOfType&amp;action=history"/>
	<updated>2026-04-27T10:19:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DE/GetVehiclesOfType&amp;diff=32683&amp;oldid=prev</id>
		<title>Lars-marcel at 12:04, 24 August 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DE/GetVehiclesOfType&amp;diff=32683&amp;oldid=prev"/>
		<updated>2012-08-24T12:04:06Z</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 12:04, 24 August 2012&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;&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;{{Server function}}&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;{{Server function}}&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;div&gt;__NOTOC__&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;__NOTOC__&lt;/div&gt;&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;Diese Funktion &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;scannt &lt;/del&gt;alle Fahrzuge mit einer &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;vorgegebenen &lt;/del&gt;Vehicle-ID&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, und gibt die anzahl aller Fahrzeuge &lt;/del&gt;auf der Map &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mit der Vehicle-ID aus&lt;/del&gt;.&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;Diese Funktion &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sucht &lt;/ins&gt;alle Fahrzuge mit einer Vehicle-ID auf der Map.&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;==Syntax==&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;==Syntax==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-32682:rev-32683 --&gt;
&lt;/table&gt;</summary>
		<author><name>Lars-marcel</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DE/GetVehiclesOfType&amp;diff=32682&amp;oldid=prev</id>
		<title>Lars-marcel: Created page with &quot;{{Server function}} __NOTOC__ Diese Funktion scannt alle Fahrzuge mit einer vorgegebenen Vehicle-ID, und gibt die anzahl aller Fahrzeuge auf der Map mit der Vehicle-ID aus.  ==Sy...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DE/GetVehiclesOfType&amp;diff=32682&amp;oldid=prev"/>
		<updated>2012-08-24T12:02:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Server function}} __NOTOC__ Diese Funktion scannt alle Fahrzuge mit einer vorgegebenen Vehicle-ID, und gibt die anzahl aller Fahrzeuge auf der Map mit der Vehicle-ID aus.  ==Sy...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Diese Funktion scannt alle Fahrzuge mit einer vorgegebenen Vehicle-ID, und gibt die anzahl aller Fahrzeuge auf der Map mit der Vehicle-ID aus.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table getVehiclesOfType ( int model )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Erforderliche Argumente===&lt;br /&gt;
*'''model''': Die Vehicle-ID des Fahrzeugs, siehe [[Vehicle_IDs]].&lt;br /&gt;
&lt;br /&gt;
===Ausgabe===&lt;br /&gt;
Gibt eine Liste mit den gefundenen Fahrzeugen der angegebenen ID aus.&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
Dieses Beispiel findet alle &amp;quot;Landstalkers&amp;quot; auf der Map und bewegt sie 5 einheiten nach Links.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Alle Fahrzeuge mit der ID 400 finden (landstalker)&lt;br /&gt;
vehicles = getVehiclesOfType ( 400 )&lt;br /&gt;
-- Durschsuchen der Fahrzeugliste&lt;br /&gt;
for vehicleKey, vehicleValue in ipairs ( vehicles ) do&lt;br /&gt;
	-- Liest die Postion des Fahrzeugs aus&lt;br /&gt;
        x, y, z = getElementPosition ( vehicleValue )&lt;br /&gt;
        -- Bewegt dass Fahrzeug 5 einheiten nach Links&lt;br /&gt;
        setElementPosition ( vehicleValue, x - 5, y, z )&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Siehe Auch==&lt;br /&gt;
{{Vehicle functions}}&lt;br /&gt;
[[EN:GetVehiclesOfType]]&lt;/div&gt;</summary>
		<author><name>Lars-marcel</name></author>
	</entry>
</feed>