<?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=S%C3%B6ren+Weissmann</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=S%C3%B6ren+Weissmann"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/S%C3%B6ren_Weissmann"/>
	<updated>2026-04-27T23:41:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CJ_Clothes%5CHats_(16)&amp;diff=38928</id>
		<title>CJ Clothes\Hats (16)</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CJ_Clothes%5CHats_(16)&amp;diff=38928"/>
		<updated>2014-02-22T16:06:24Z</updated>

		<summary type="html">&lt;p&gt;Sören Weissmann: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| {{Clothes|index=0|type=16|model=bandana|texture=bandred}}&lt;br /&gt;
| {{Clothes|index=1|type=16|model=bandana|texture=bandblue}}&lt;br /&gt;
| {{Clothes|index=2|type=16|model=bandana|texture=bandgang}}&lt;br /&gt;
| {{Clothes|index=3|type=16|model=bandana|texture=bandblack}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=4|type=16|model=bandknots|texture=bandred2}}&lt;br /&gt;
| {{Clothes|index=5|type=16|model=bandknots|texture=bandblue2}}&lt;br /&gt;
| {{Clothes|index=6|type=16|model=bandknots|texture=bandblack2}}&lt;br /&gt;
| {{Clothes|index=7|type=16|model=bandknots|texture=bandgang2}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=8|type=16|model=capknit|texture=capknitgrn}}&lt;br /&gt;
| {{Clothes|index=9|type=16|model=captruck|texture=captruck}}&lt;br /&gt;
| {{Clothes|index=10|type=16|model=cowboy|texture=cowboy}}&lt;br /&gt;
| {{Clothes|index=11|type=16|model=cowboy|texture=hattiger}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=12|type=16|model=helmet|texture=helmet}}&lt;br /&gt;
| {{Clothes|index=13|type=16|model=moto|texture=moto}}&lt;br /&gt;
| {{Clothes|index=14|type=16|model=boxingcap|texture=boxingcap}}&lt;br /&gt;
| {{Clothes|index=15|type=16|model=hockeymask|texture=hockey}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=16|type=16|model=cap|texture=capgang}}&lt;br /&gt;
| {{Clothes|index=17|type=16|model=capblack|texture=capgangback}}&lt;br /&gt;
| {{Clothes|index=18|type=16|model=capside|texture=capgangside}}&lt;br /&gt;
| {{Clothes|index=19|type=16|model=capovereye|texture=capgangover}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=20|type=16|model=caprimup|texture=capgangup}}&lt;br /&gt;
| {{Clothes|index=21|type=16|model=bikerhelmet|texture=bikerhelmet}}&lt;br /&gt;
| {{Clothes|index=22|type=16|model=cap|texture=capred}}&lt;br /&gt;
| {{Clothes|index=23|type=16|model=capback|texture=capredback}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=24|type=16|model=capside|texture=capredside}}&lt;br /&gt;
| {{Clothes|index=25|type=16|model=capovereye|texture=capredover}}&lt;br /&gt;
| {{Clothes|index=26|type=16|model=caprimup|texture=capredup}}&lt;br /&gt;
| {{Clothes|index=27|type=16|model=cap|texture=capblue}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=28|type=16|model=capback|texture=capblueback}}&lt;br /&gt;
| {{Clothes|index=29|type=16|model=capside|texture=capblueside}}&lt;br /&gt;
| {{Clothes|index=30|type=16|model=capovereye|texture=capblueover}}&lt;br /&gt;
| {{Clothes|index=31|type=16|model=caprimup|texture=capblueup}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=32|type=16|model=skullycap|texture=skullyblk}}&lt;br /&gt;
| {{Clothes|index=33|type=16|model=skullycap|texture=skullygrn}}&lt;br /&gt;
| {{Clothes|index=34|type=16|model=hatmanc|texture=hatmancblk}}&lt;br /&gt;
| {{Clothes|index=35|type=16|model=hatmanc|texture=hatmancplaid}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=36|type=16|model=cap|texture=capzip}}&lt;br /&gt;
| {{Clothes|index=37|type=16|model=capback|texture=capzipback}}&lt;br /&gt;
| {{Clothes|index=38|type=16|model=capside|texture=capzipside}}&lt;br /&gt;
| {{Clothes|index=39|type=16|model=capovereye|texture=capzipover}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=40|type=16|model=caprimup|texture=capzipup}}&lt;br /&gt;
| {{Clothes|index=41|type=16|model=beret|texture=beretred}}&lt;br /&gt;
| {{Clothes|index=42|type=16|model=beret|texture=beretblk}}&lt;br /&gt;
| {{Clothes|index=43|type=16|model=cap|texture=capblk}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=44|type=16|model=capback|texture=capblkback}}&lt;br /&gt;
| {{Clothes|index=45|type=16|model=capside|texture=capblkside}}&lt;br /&gt;
| {{Clothes|index=46|type=16|model=capovereye|texture=capblkover}}&lt;br /&gt;
| {{Clothes|index=47|type=16|model=caprimup|texture=capblkup}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=48|type=16|model=trilby|texture=trilbydrk}}&lt;br /&gt;
| {{Clothes|index=49|type=16|model=trilby|texture=trilbylght}}&lt;br /&gt;
| {{Clothes|index=50|type=16|model=bowler|texture=bowler}}&lt;br /&gt;
| {{Clothes|index=51|type=16|model=bowler|texture=bowlerred}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=52|type=16|model=bowler|texture=bowlerblue}}&lt;br /&gt;
| {{Clothes|index=53|type=16|model=bowler|texture=bowleryellow}}&lt;br /&gt;
| {{Clothes|index=54|type=16|model=boater|texture=boater}}&lt;br /&gt;
| {{Clothes|index=55|type=16|model=bowler|texture=bowlergang}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Clothes|index=56|type=16|model=boater|texture=boaterblk}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sören Weissmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientObjectDamage&amp;diff=36708</id>
		<title>OnClientObjectDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientObjectDamage&amp;diff=36708"/>
		<updated>2013-07-19T10:44:13Z</updated>

		<summary type="html">&lt;p&gt;Sören Weissmann: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
This event is fired before an object gets damaged. Also note that this event is only triggered for players nearby the local player's camera. This is due to elements far away being streamed out.&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float loss, element attacker&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''loss:''' the health loss caused by the damage. This parameter contains the theoretical loss, which could be less than 0, if you substract it of the current health. If you want to get the real loss, you have to substract the new health of the old health (use a timer for this).&lt;br /&gt;
*'''attacker:''' the vehicle/ped/player who is damaging the object&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the object which was damaged&lt;br /&gt;
&lt;br /&gt;
==Cancel effect==&lt;br /&gt;
If this event is [[Event system#Canceling|canceled]], the object will not be damaged.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section class=&amp;quot;client&amp;quot; name=&amp;quot;Client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example outputs the theoretical and real loss.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputLoss(loss)&lt;br /&gt;
    local oldHealth = getElementHealth(source)&lt;br /&gt;
    setTimer(function()&lt;br /&gt;
        local newHealth = getElementHealth(source)&lt;br /&gt;
        outputChatBox(&amp;quot;Real loss: &amp;quot;..(newHealth-oldHealth))&lt;br /&gt;
        outputChatBox(&amp;quot;Theoretical loss: &amp;quot;..loss)&lt;br /&gt;
    end,100,1)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientObjectDamage&amp;quot;, root, outputLoss)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3-9.05086|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client object events===&lt;br /&gt;
{{Client_object_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Sören Weissmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientPedWeaponFire&amp;diff=35290</id>
		<title>OnClientPedWeaponFire</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientPedWeaponFire&amp;diff=35290"/>
		<updated>2013-04-05T15:05:50Z</updated>

		<summary type="html">&lt;p&gt;Sören Weissmann: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is called when ped shoots a weapon.  This does not trigger for projectiles based, or melee weapons. Also note that this event is only triggered for peds nearby the local player's camera. This is due to elements far away being streamed out.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
 int weapon, int ammo, int ammoInClip, float hitX, float hitY, float hitZ, element hitElement&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
*'''weapon''':  an [[int]] representing [[weapons|weapon]] used for making a shot.&lt;br /&gt;
*'''ammo''': an [[int]] ammount of ammo left for this weapon type.&lt;br /&gt;
*'''ammoInClip''': an [[int]] ammount of ammo left for this weapon type in clip.&lt;br /&gt;
*'''hitX''', '''hitY''', '''hitZ''': [[float]] world coordinates representing a hit point.&lt;br /&gt;
*'''hitElement''': an [[element]] which was hit by a shot.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[ped]] who fired the weapon.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientPedWeaponFire&amp;quot;,getRootElement(),&lt;br /&gt;
     function(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement)&lt;br /&gt;
          if not isElement(hitElement) and getElementType(hitElement) == &amp;quot;player&amp;quot; then&lt;br /&gt;
               outputChatBox(&amp;quot;You hit &amp;quot;..getPlayerName(hitElement),0,255,0)&lt;br /&gt;
          end&lt;br /&gt;
     end&lt;br /&gt;
)&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;
===Client ped events===&lt;br /&gt;
{{Client_ped_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Sören Weissmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnColShapeLeave&amp;diff=35260</id>
		<title>OnColShapeLeave</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnColShapeLeave&amp;diff=35260"/>
		<updated>2013-03-31T12:10:11Z</updated>

		<summary type="html">&lt;p&gt;Sören Weissmann: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when a player or a vehicle leaves a collision shape.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element leaveElement, bool matchingDimension&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''leaveElement''': The [[element]] that who exited the col shape. This can be a player or a vehicle.&lt;br /&gt;
*'''matchingDimension''': a boolean referring to whether the collision shape was in the same dimension as the element.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[colshape]] that the element no longer is in contact with.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example kills the player whenever they leave a certain collision shape:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local jailZone = createColCircle ( 1024, 1024, 15 ) -- create a collision shape&lt;br /&gt;
&lt;br /&gt;
-- call 'jailZoneLeave' whenever a player leaves the collision shape:&lt;br /&gt;
function jailZoneLeave ( thePlayer )&lt;br /&gt;
   if getElementType ( thePlayer ) == &amp;quot;player&amp;quot; then -- if the element that left was player&lt;br /&gt;
      killPlayer ( thePlayer ) -- kill the player&lt;br /&gt;
      outputChatBox ( &amp;quot;You are not allowed to leave the jail!&amp;quot;, thePlayer )&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onColShapeLeave&amp;quot;, jailZone, jailZoneLeave )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Colshape events}}&lt;/div&gt;</summary>
		<author><name>Sören Weissmann</name></author>
	</entry>
</feed>