<?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=Varez</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=Varez"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Varez"/>
	<updated>2026-05-17T00:30:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CountPlayersInRange&amp;diff=24372</id>
		<title>CountPlayersInRange</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CountPlayersInRange&amp;diff=24372"/>
		<updated>2010-08-18T11:54:55Z</updated>

		<summary type="html">&lt;p&gt;Varez: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
This function allows you to set '''moving''' element speed in kph or mph units.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setElementSpeed (element theElement, [ int/string unit=&amp;quot;kph&amp;quot;, int speed=0 ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theElement''': Element you want to set speed of&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''unit''': Units in which speed should be set. This can be 1 or &amp;quot;mph&amp;quot; for mph, any other value for kph.&lt;br /&gt;
* '''speed''': Speed in selected unit&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
{{RequiredFunctions|getElementSpeed}}&lt;br /&gt;
&amp;lt;section name=&amp;quot;Function source&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function setElementSpeed(element, unit, speed) -- only work if element is moving!&lt;br /&gt;
	if (unit == nil) then unit = 0 end&lt;br /&gt;
	if (speed == nil) then speed = 0 end&lt;br /&gt;
	speed = tonumber(speed)&lt;br /&gt;
	local acSpeed = getElementSpeed(element, unit)&lt;br /&gt;
	if (acSpeed~=false) then -- if true - element is valid, no need to check again&lt;br /&gt;
		local diff = speed/acSpeed&lt;br /&gt;
		local x,y,z = getElementVelocity(element)&lt;br /&gt;
		setElementVelocity(element,x*diff,y*diff,z*diff)&lt;br /&gt;
		return true&lt;br /&gt;
	else&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-side example&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example adds command that set player vehicle speed to provided one (in predefined unit kph). Note: It doesn't care if player is driver or passenger.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;setmyspeed&amp;quot;,&lt;br /&gt;
function (player, cmd, arg1)&lt;br /&gt;
  local veh = getPedOccupiedVehicle(player)&lt;br /&gt;
  if (veh) then&lt;br /&gt;
    setElementSpeed(veh, &amp;quot;kph&amp;quot;, tonumber(arg1))&lt;br /&gt;
  else&lt;br /&gt;
    outputChatBox(&amp;quot;You have to sit in vehicle&amp;quot;, player)&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;
By '''varez'''.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Insert non-formatted text here&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnPedWasted&amp;diff=24367</id>
		<title>OnPedWasted</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnPedWasted&amp;diff=24367"/>
		<updated>2010-08-16T12:25:15Z</updated>

		<summary type="html">&lt;p&gt;Varez: /* 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 ped is killed or dies.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int totalAmmo, element killer, int killerWeapon, int bodypart [, bool stealth ]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*'''totalAmmo''': an integer representing the total ammo the victim had when he died.&lt;br /&gt;
*'''killer''': an [[element]] representing the player or vehicle who was the killer.  If there was no killer this is ''false''.&lt;br /&gt;
*'''killerWeapon''': an integer representing the [[weapon]] the killer used to kill the player.&lt;br /&gt;
*'''bodypart''': an integer representing the bodypart ID the victim was hit on when he died.&lt;br /&gt;
{{BodyParts}}&lt;br /&gt;
*'''stealth''': boolean value representing whether or not this was a stealth kill&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[ped]] that died or got killed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Ped_events}}&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnPedWasted&amp;diff=24366</id>
		<title>OnPedWasted</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnPedWasted&amp;diff=24366"/>
		<updated>2010-08-16T12:25:05Z</updated>

		<summary type="html">&lt;p&gt;Varez: /* 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 ped is killed or dies.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int totalAmmo, element killer, int killerWeapon, int bodypart [, bool stealth ]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*'''totalAmmo''': an integer representing the total ammo the victim had when he died.&lt;br /&gt;
*'''killer''': an [[element]] representing the player or vehicle who was the killer.  If there was no killer this is ''false''.&lt;br /&gt;
*'''killerWeapon''': an integer representing the [[weapon]] the killer used to kill the player.&lt;br /&gt;
*'''bodypart''': an integer representing the bodypart ID the victim was hit on when he died.&lt;br /&gt;
{{BodyParts}}&lt;br /&gt;
*'''stealth''': boolean value representing whether or not this was a stealth kill&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[ped]] that died or got killed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs a text to chatbox when somebody dies/get killed&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Ped_events}}&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnPedWasted&amp;diff=24365</id>
		<title>OnPedWasted</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnPedWasted&amp;diff=24365"/>
		<updated>2010-08-16T12:17:09Z</updated>

		<summary type="html">&lt;p&gt;Varez: /* 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 ped is killed or dies.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int totalAmmo, element killer, int killerWeapon, int bodypart [, bool stealth ]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*'''totalAmmo''': an integer representing the total ammo the victim had when he died.&lt;br /&gt;
*'''killer''': an [[element]] representing the player or vehicle who was the killer.  If there was no killer this is ''false''.&lt;br /&gt;
*'''killerWeapon''': an integer representing the [[weapon]] the killer used to kill the player.&lt;br /&gt;
*'''bodypart''': an integer representing the bodypart ID the victim was hit on when he died.&lt;br /&gt;
{{BodyParts}}&lt;br /&gt;
*'''stealth''': boolean value representing whether or not this was a stealth kill&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[ped]] that died or got killed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs a text to chatbox when somebody dies/get killed&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onPedWasted&amp;quot;, getRootElement(), function(totalAmmo,killer,killerWeapon,bodypart)&lt;br /&gt;
  if (getElementType(source)==&amp;quot;player&amp;quot;) then -- we are checking if player died (not ped [bot])&lt;br /&gt;
    if (isElement(killer)) then -- if killer is element that means somebody killed player&lt;br /&gt;
      if (killer==source) then -- if killer is same as player who died - he killed himself&lt;br /&gt;
        outputChatBox(getPlayerName(source)..&amp;quot; commited suicide&amp;quot;)&lt;br /&gt;
      else -- if killer is different than player who died -- somebody killed him&lt;br /&gt;
        outputChatBox(getPlayerName(source)..&amp;quot; got killed by &amp;quot;..getPlayerName(killer))&lt;br /&gt;
      end&lt;br /&gt;
    else -- if killer is not element - player just died, without a &amp;quot;killer&amp;quot;&lt;br /&gt;
      outputChatBox(getPlayerName(source)..&amp;quot; died&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Ped_events}}&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CountPlayersInRange&amp;diff=24362</id>
		<title>CountPlayersInRange</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CountPlayersInRange&amp;diff=24362"/>
		<updated>2010-08-15T16:08:17Z</updated>

		<summary type="html">&lt;p&gt;Varez: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
This function allows you to set '''moving''' element speed in kph or mph units.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setElementSpeed (element theElement, [ int/string unit=&amp;quot;kph&amp;quot;, int speed=0 ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theElement''': Element you want to set speed of&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''unit''': Units in which speed should be set. This can be 1 or &amp;quot;mph&amp;quot; for mph, any other value for kph.&lt;br /&gt;
* '''speed''': Speed in selected unit&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
{{RequiredFunctions|getElementSpeed}}&lt;br /&gt;
&amp;lt;section name=&amp;quot;Function source&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function setElementSpeed(element, unit, speed) -- only work if element is moving!&lt;br /&gt;
	if (unit == nil) then unit = 0 end&lt;br /&gt;
	if (speed == nil) then speed = 0 end&lt;br /&gt;
	speed = tonumber(speed)&lt;br /&gt;
	local acSpeed = getElementSpeed(element, unit)&lt;br /&gt;
	if (acSpeed~=false) then -- if true - element is valid, no need to check again&lt;br /&gt;
		local diff = speed/acSpeed&lt;br /&gt;
		local x,y,z = getElementVelocity(element)&lt;br /&gt;
		setElementVelocity(element,x*diff,y*diff,z*diff)&lt;br /&gt;
		return true&lt;br /&gt;
	else&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-side example&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example adds command that set player vehicle speed to provided one (in predefined unit kph). Note: It doesn't care if player is driver or passenger.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;getmyspeed&amp;quot;,&lt;br /&gt;
function (player, cmd, arg1)&lt;br /&gt;
  local veh = getPedOccupiedVehicle(player)&lt;br /&gt;
  if (veh) then&lt;br /&gt;
    setElementSpeed(veh, &amp;quot;kph&amp;quot;, tonumber(arg1))&lt;br /&gt;
  else&lt;br /&gt;
    outputChatBox(&amp;quot;You have to sit in vehicle&amp;quot;, player)&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;
By '''varez'''.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Insert non-formatted text here&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ResetTimer&amp;diff=24353</id>
		<title>ResetTimer</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ResetTimer&amp;diff=24353"/>
		<updated>2010-08-12T15:45:21Z</updated>

		<summary type="html">&lt;p&gt;Varez: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Needs_Checking|Is this really only server side?}} &lt;br /&gt;
{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows you to reset the elapsed time in existing timers to zero. The function does not reset the 'times to execute' count on timers which have a limited amout of repetitions.&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 resetTimer ( timer theTimer )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theTimer:''' The [[timer]] whose elapsed time you wish to reset.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the timer was successfully reset, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetCameraViewMode&amp;diff=24352</id>
		<title>SetCameraViewMode</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetCameraViewMode&amp;diff=24352"/>
		<updated>2010-08-12T15:43:21Z</updated>

		<summary type="html">&lt;p&gt;Varez: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function allows you to set the camera's view mode. This indicates at what distance the camera will follow the player.&lt;br /&gt;
*'''Note:''' It can currently only set vehicle view modes&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 setCameraView ( int viewMode )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''viewMode''': The view mode you wish to use&lt;br /&gt;
{{Camera view modes}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the view was set correctly, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example sets camera to bumper view when local player enter any vehicle&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerVehicleEnter&amp;quot;, getLocalPlayer(), function()&lt;br /&gt;
  setCameraView(0)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Camera functions}}&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetCameraViewMode&amp;diff=24351</id>
		<title>SetCameraViewMode</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetCameraViewMode&amp;diff=24351"/>
		<updated>2010-08-12T15:43:07Z</updated>

		<summary type="html">&lt;p&gt;Varez: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function allows you to set the camera's view mode. This indicates at what distance the camera will follow the player.&lt;br /&gt;
*'''Note:''' It can currently only set vehicle view modes&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 setCameraView ( int viewMode )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''viewMode''': The view mode you wish to use&lt;br /&gt;
{{Camera view modes}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the view was set correctly, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example sets camera to bumper view when local player enter any vehicle&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerVehicleEnter&amp;quot;, getLocalPlayer(), function()&lt;br /&gt;
  setCameraView(0)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Camera functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientVehicleExplode&amp;diff=24350</id>
		<title>OnClientVehicleExplode</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientVehicleExplode&amp;diff=24350"/>
		<updated>2010-08-12T15:31:43Z</updated>

		<summary type="html">&lt;p&gt;Varez: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is triggered when a vehicle explodes.&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
This event has no parameters.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the vehicle that exploded.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example will output some text to chat on vehicle explosion&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientVehicleExplode&amp;quot;, getRootElement(), function()&lt;br /&gt;
  local modelname = getVehicleName(source)&lt;br /&gt;
  outputChatBox(modelname..&amp;quot; just exploded!&amp;quot;)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client vehicle events===&lt;br /&gt;
{{Client_vehicle_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientVehicleExplode&amp;diff=24349</id>
		<title>OnClientVehicleExplode</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientVehicleExplode&amp;diff=24349"/>
		<updated>2010-08-12T15:31:08Z</updated>

		<summary type="html">&lt;p&gt;Varez: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is triggered when a vehicle explodes.&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
This event has no parameters.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the vehicle that exploded.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example will output some text to chat on vehicle explosion&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientVehicleExplode&amp;quot;, getRootElement(), function()&lt;br /&gt;
  local modelname = getVehicleName(source)&lt;br /&gt;
  outputChatBox(modelname..&amp;quot; just exploded!&amp;quot;)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client vehicle events===&lt;br /&gt;
{{Client_vehicle_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CountPlayersInRange&amp;diff=24260</id>
		<title>CountPlayersInRange</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CountPlayersInRange&amp;diff=24260"/>
		<updated>2010-08-08T20:20:57Z</updated>

		<summary type="html">&lt;p&gt;Varez: Created page with '{{Useful Function}} This function allows you to set '''moving''' element speed in kph or mph units. ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool setElementSpeed (element theElement, [ int/strin…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
This function allows you to set '''moving''' element speed in kph or mph units.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setElementSpeed (element theElement, [ int/string unit=&amp;quot;kph&amp;quot;, int speed=0 ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theElement''': Element you want to set speed of&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''unit''': Units in which speed should be set. This can be 1 or &amp;quot;mph&amp;quot; for mph, any other value for kph.&lt;br /&gt;
* '''speed''': Speed in selected unit&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
{{RequiredFunctions|getElementSpeed}}&lt;br /&gt;
&amp;lt;section name=&amp;quot;Function source&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function setElementSpeed(element, unit, speed) -- only work if element is moving!&lt;br /&gt;
	if (unit == nil) then unit = 0 end&lt;br /&gt;
	if (speed == nil) then speed = 0 end&lt;br /&gt;
	speed = tonumber(speed)&lt;br /&gt;
	local acSpeed = getElementSpeed(element, unit)&lt;br /&gt;
	if (acSpeed~=false) then -- if true - element is valid, no need to check again&lt;br /&gt;
		local diff = speed/acSpeed&lt;br /&gt;
		local x,y,z = getElementVelocity(element)&lt;br /&gt;
		outputChatBox(x..&amp;quot;x&amp;quot;..y..&amp;quot;y&amp;quot;..z)&lt;br /&gt;
		outputChatBox(x*diff..&amp;quot;x&amp;quot;..y*diff..&amp;quot;y&amp;quot;..z*diff)&lt;br /&gt;
		setElementVelocity(element,x*diff,y*diff,z*diff)&lt;br /&gt;
		return true&lt;br /&gt;
	else&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-side example&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example adds command that set player vehicle speed to provided one (in predefined unit kph). Note: It doesn't care if player is driver or passenger.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;getmyspeed&amp;quot;,&lt;br /&gt;
function (player, cmd, arg1)&lt;br /&gt;
  local veh = getPedOccupiedVehicle(player)&lt;br /&gt;
  if (veh) then&lt;br /&gt;
    setElementSpeed(veh, &amp;quot;kph&amp;quot;, tonumber(arg1))&lt;br /&gt;
  else&lt;br /&gt;
    outputChatBox(&amp;quot;You have to sit in vehicle&amp;quot;, player)&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;
By '''varez'''.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Insert non-formatted text here&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetElementSpeed&amp;diff=24256</id>
		<title>GetElementSpeed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetElementSpeed&amp;diff=24256"/>
		<updated>2010-08-08T16:48:46Z</updated>

		<summary type="html">&lt;p&gt;Varez: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
This function allows you to get element speed in kph or mph units.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int/bool getElementSpeed (element theElement, [ int/string unit=&amp;quot;kph&amp;quot; ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theElement''': Element you want to get speed of&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''unit''': Units in which speed should be returned. This can be 1 or &amp;quot;mph&amp;quot; for mph, any other value for kph.&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Function source&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function getElementSpeed(element,unit)&lt;br /&gt;
	if (unit == nil) then unit = 0 end&lt;br /&gt;
	if (isElement(element)) then&lt;br /&gt;
		local x,y,z = getElementVelocity(element)&lt;br /&gt;
		if (unit==&amp;quot;mph&amp;quot; or unit==1 or unit =='1') then&lt;br /&gt;
			return (x^2 + y^2 + z^2) ^ 0.5 * 100&lt;br /&gt;
		else&lt;br /&gt;
			return (x^2 + y^2 + z^2) ^ 0.5 * 1.61 * 100&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		outputDebugString(&amp;quot;Not an element. Can't get speed&amp;quot;)&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server-side example&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example adds command that outputs to chat current player speed in both mph and kph. Notice: When player is in car his ped is having same velocity as car, so it isn't needed to get his car element.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;getmyspeed&amp;quot;,&lt;br /&gt;
function (player, cmd)&lt;br /&gt;
  outputChatBox (&amp;quot;Your speed in mph: &amp;quot;..getElementSpeed(player, &amp;quot;mph&amp;quot;),player)&lt;br /&gt;
  outputChatBox (&amp;quot;Your speed in kph: &amp;quot;..getElementSpeed(player, &amp;quot;kph&amp;quot;),player)&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;
Original function by author of '''speedx''' resource. Modified, wiki-fied etc by '''varez'''.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Insert non-formatted text here&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetElementSpeed&amp;diff=24231</id>
		<title>GetElementSpeed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetElementSpeed&amp;diff=24231"/>
		<updated>2010-08-08T13:25:52Z</updated>

		<summary type="html">&lt;p&gt;Varez: Created page with '{{Useful Function}} test :)'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
test :)&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ToggleControl&amp;diff=24168</id>
		<title>ToggleControl</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ToggleControl&amp;diff=24168"/>
		<updated>2010-08-03T14:58:05Z</updated>

		<summary type="html">&lt;p&gt;Varez: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{Needs Checking|By enabling a control all bindings belonging to it seem to be deleted. (tested clientside) --[[User:NeonBlack|NeonBlack]] 16:48, 28 August 2009 (UTC)}}&lt;br /&gt;
Enables or disables the use of a GTA control for a specific player.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool toggleControl ( player thePlayer, string control, bool enabled ) &amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player you wish to toggle the control ability of.&lt;br /&gt;
*'''control:''' The control that you want to toggle the ability of. See [[control names]] for a list of possible controls.&lt;br /&gt;
*'''enable:''' A boolean value representing whether or not the key will be usable or not.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool toggleControl ( string control, bool enabled ) &amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''control:''' The control that you want to toggle the ability of. See [[control names]] for a list of possible controls.&lt;br /&gt;
*'''enable:''' A boolean value representing whether or not the key will be usable or not.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
This function ''true'' if the control was set successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==  &lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This function will disable the use of the vehicle secondary-fire key for anyone in a Hydra, consequently removing the ability to fire rockets.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function disableFireForHydra ( theVehicle, seat, jacked )&lt;br /&gt;
    if ( getElementModel ( theVehicle ) == 520 ) then -- if they entered a hydra&lt;br /&gt;
        toggleControl ( source, &amp;quot;vehicle_secondary_fire&amp;quot;, false ) -- disable their fire key&lt;br /&gt;
    else -- if they entered another vehicle&lt;br /&gt;
        toggleControl ( source, &amp;quot;vehicle_secondary_fire&amp;quot;, true ) -- enable their fire key&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerVehicleEnter&amp;quot;, getRootElement(), disableFireForHydra )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
''Note: The same can be achieved by using [[setVehicleGunsEnabled]]''.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 2&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This function will disable the use of the vehicle secondary-fire key for anyone in a Hydra, consequently removing the ability to fire rockets.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function disableFireForHydra ( theVehicle, seat )&lt;br /&gt;
    if ( getElementModel ( theVehicle ) == 520 ) then -- if they entered a hydra&lt;br /&gt;
        toggleControl ( &amp;quot;vehicle_secondary_fire&amp;quot;, false ) -- disable their fire key&lt;br /&gt;
    else -- if they entered another vehicle&lt;br /&gt;
        toggleControl ( &amp;quot;vehicle_secondary_fire&amp;quot;, true ) -- enable their fire key&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientPlayerVehicleEnter&amp;quot;, getLocalPlayer(), disableFireForHydra )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
''Note: The same can be achieved by using [[setVehicleGunsEnabled]]''.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Input functions}}&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnElementDataChange&amp;diff=23533</id>
		<title>OnElementDataChange</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnElementDataChange&amp;diff=23533"/>
		<updated>2010-05-23T21:45:38Z</updated>

		<summary type="html">&lt;p&gt;Varez: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when an elementdata entry for an element changes. A client can perform this change on the element or it can be done using [[setElementData]].&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string theName, var theOldValue&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''theName''': The name of the element data entry that changed&lt;br /&gt;
*'''theOldValue''': The old value of this entry before it changed. The new value can be accessed using [[getElementData]] ( source, theName ).&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[element]] whose elementdata changed.&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;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
This example outputs a message to players when any of their element data values is changed.&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputChange(dataName,oldValue)&lt;br /&gt;
	if getElementType(source) == &amp;quot;player&amp;quot; then -- check if the element is a player&lt;br /&gt;
		local newValue = getElementData(source,dataName) -- find the new value&lt;br /&gt;
		outputChatBox(&amp;quot;Your element data '&amp;quot;..tostring(dataName)..&amp;quot;' has changed from '&amp;quot;..tostring(oldValue)..&amp;quot;' to '&amp;quot;..tostring(newValue)..&amp;quot;'&amp;quot;,source) -- output the change for the affected player&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onElementDataChange&amp;quot;,getRootElement(),outputChange)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Element events}}&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsMTAWindowActive&amp;diff=22426</id>
		<title>IsMTAWindowActive</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsMTAWindowActive&amp;diff=22426"/>
		<updated>2010-02-18T11:50:59Z</updated>

		<summary type="html">&lt;p&gt;Varez: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function returns whether the any system windows that take focus are active. This includes the chatbox input, console window, main menu and transferbox.&lt;br /&gt;
To get the status of the debug view, see [[isDebugViewActive]].&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 isMTAWindowActive ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the focus is on the MTA window, ''false'' if isn't.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;br /&gt;
[[Category:Needs Example]]&lt;/div&gt;</summary>
		<author><name>Varez</name></author>
	</entry>
</feed>