<?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=Sheva</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=Sheva"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Sheva"/>
	<updated>2026-04-24T17:22:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiSetEnabled&amp;diff=62651</id>
		<title>GuiSetEnabled</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiSetEnabled&amp;diff=62651"/>
		<updated>2019-05-12T21:04:08Z</updated>

		<summary type="html">&lt;p&gt;Sheva: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function enables/disables a GUI element. A disabled GUI element can't be used, gets a gray aspect and doesn't receive any events.&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 guiSetEnabled ( element guiElement, bool enabled )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[GUI widgets|GuiElement]]:setEnabled|enabled|guiGetEnabled}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiElement:''' the GUI element you wish to enable or disable&lt;br /&gt;
*'''enabled:''' the new state&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If the function succeeds it returns ''true'', if it fails it returns ''false''.&lt;br /&gt;
&lt;br /&gt;
==Example==&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;function ChangeMyButtonEnabled ( )        &lt;br /&gt;
    guiSetEnabled ( MyButton, not guiGetEnabled ( MyButton ) ) -- enable button if disabled. Disable if enabled&lt;br /&gt;
end&lt;br /&gt;
MyGuiWindow = guiCreateWindow(254,206,478,306,&amp;quot;Awesome Gui Window&amp;quot;,false) -- Your gui window&lt;br /&gt;
MyButton = guiCreateButton(0.477,0.8268,0.1946,0.0784,&amp;quot;Hello World!&amp;quot;,true,MyGuiWindow) -- Creates a button in your gui window&lt;br /&gt;
ChangeMyButtonEnabled ( ) -- Execute function &amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI functions}}&lt;br /&gt;
{{GUI_events}}&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlNodeSetValue&amp;diff=62650</id>
		<title>XmlNodeSetValue</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlNodeSetValue&amp;diff=62650"/>
		<updated>2019-05-12T20:52:54Z</updated>

		<summary type="html">&lt;p&gt;Sheva: Do not forget xmlUnloadFile.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function is made to be able to assign values to tags in XML files (eg. &amp;lt;something&amp;gt;anything&amp;lt;/something&amp;gt;).&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 xmlNodeSetValue ( xmlnode theXMLNode, string value [, bool setCDATA = false] )            &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[xmlnode]]:setValue|value|xmlNodeGetValue}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theXMLNode:''' The [[xml node]] you want to set the value of.&lt;br /&gt;
*'''value:''' The [[string]] value you want the node to have.&lt;br /&gt;
{{New feature/item|4.0140|1.4.0|6782|&lt;br /&gt;
*'''setCDATA:''' A boolean indicating if you want the value to be enclosed inside CDATA tags.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if value was successfully set, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server Example&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
In this example a sample value is inserted into a XML file.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local xmlFile = xmlLoadFile ( &amp;quot;exampleFile.xml&amp;quot; ) -- Open a file already created&lt;br /&gt;
if xmlFile then -- If it's indeed opened&lt;br /&gt;
    local node = xmlCreateChild ( xmlFile, &amp;quot;somesubnode&amp;quot; ) -- Create a new subnode&lt;br /&gt;
    local success = xmlNodeSetValue ( node, &amp;quot;somevalue&amp;quot; ) -- Set the value of it&lt;br /&gt;
    if success then -- Check if it was successful&lt;br /&gt;
        xmlSaveFile ( xmlFile ) -- Save the file&lt;br /&gt;
    end&lt;br /&gt;
    xmlUnloadFile(xmlFile)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
After both changing the value and saving the XML file with [[xmlSaveFile]], the file will look like this:&lt;br /&gt;
&amp;lt;section name=&amp;quot;exampleFile.xml&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;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;somenode&amp;gt;&lt;br /&gt;
	&amp;lt;somesubnode&amp;gt;somevalue&amp;lt;/somesubnode&amp;gt;&lt;br /&gt;
&amp;lt;/somenode&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client Example: Save and load from a clientside XML&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This shows an example of a clientside XML file. You can use this to store user preferences and load them the next time the script loads. Almost always, you should have an options GUI for clients to interact with to set these values.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Since the XML will change, it should NOT be included in the resource's meta.xml file. MTA will think that file is corrupted and will download it again from the server. Instead, you should create the XML within the script, and then load it within the script on future script runs if it exists.&lt;br /&gt;
&lt;br /&gt;
'''This xml will be created from the script following it below'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;root&amp;gt;&lt;br /&gt;
    &amp;lt;hud_display&amp;gt;&lt;br /&gt;
        &amp;lt;IconSizeX&amp;gt;60&amp;lt;/IconSizeX&amp;gt;&lt;br /&gt;
        &amp;lt;IconSizeY&amp;gt;60&amp;lt;/IconSizeY&amp;gt;&lt;br /&gt;
    &amp;lt;/hud_display&amp;gt;&lt;br /&gt;
    &amp;lt;hud_binds&amp;gt;&lt;br /&gt;
        &amp;lt;weaponSlot0&amp;gt;tab&amp;lt;/weaponSlot0&amp;gt;&lt;br /&gt;
        &amp;lt;weaponSlot1&amp;gt;1&amp;lt;/weaponSlot1&amp;gt;&lt;br /&gt;
    &amp;lt;/hud_binds&amp;gt;&lt;br /&gt;
&amp;lt;/root&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''This script will create the xml or load it if it exists'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function ClientResourceStart ()&lt;br /&gt;
	xmlRootTree = xmlLoadFile ( &amp;quot;userSettings.xml&amp;quot; ) --Attempt to load the xml file	&lt;br /&gt;
&lt;br /&gt;
	if xmlRootTree then -- If the xml loaded then...&lt;br /&gt;
		xmlHudBranch = xmlFindChild(xmlRootTree,&amp;quot;hud_display&amp;quot;,0) -- Find the hud sub-node&lt;br /&gt;
		xmlBindsBranch = xmlFindChild(xmlRootTree,&amp;quot;hud_binds&amp;quot;,0) -- Find the binds sub-node&lt;br /&gt;
		outputChatBox ( &amp;quot;XML Found and Loaded&amp;quot; )&lt;br /&gt;
	else -- If the xml does not exist then...&lt;br /&gt;
		xmlRootTree = xmlCreateFile ( &amp;quot;userSettings.xml&amp;quot;, &amp;quot;root&amp;quot; ) -- Create the xml file	&lt;br /&gt;
		xmlHudBranch = xmlCreateChild ( xmlRootTree, &amp;quot;hud_display&amp;quot; ) -- Create the hud sub-node under the root node&lt;br /&gt;
		xmlBindsBranch = xmlCreateChild ( xmlRootTree, &amp;quot;hud_binds&amp;quot; )-- Create the binds sub-node under the root node&lt;br /&gt;
		xmlNodeSetValue (xmlCreateChild ( xmlHudBranch, &amp;quot;IconSizeX&amp;quot;), &amp;quot;60&amp;quot; ) --Create sub-node values under the hud sub-node&lt;br /&gt;
		xmlNodeSetValue (xmlCreateChild ( xmlHudBranch, &amp;quot;IconSizeY&amp;quot;), &amp;quot;60&amp;quot; ) --Create sub-node values under the hud sub-node&lt;br /&gt;
		xmlNodeSetValue (xmlCreateChild ( xmlBindsBranch, &amp;quot;weaponSlot0&amp;quot;), &amp;quot;tab&amp;quot; ) --Create sub-node values under the binds sub-node&lt;br /&gt;
		xmlNodeSetValue (xmlCreateChild ( xmlBindsBranch, &amp;quot;weaponSlot1&amp;quot;), &amp;quot;1&amp;quot; ) --Create sub-node values under the binds sub-node&lt;br /&gt;
		outputChatBox ( &amp;quot;XML Created&amp;quot; )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	--Retrieve a single sub-node name or value&lt;br /&gt;
	outputChatBox( &amp;quot;Node name: &amp;quot;..xmlNodeGetName (xmlFindChild(xmlHudBranch,&amp;quot;IconSizeX&amp;quot;,0)), 0, 0, 255 ) --blue outputs&lt;br /&gt;
	outputChatBox( &amp;quot;Node Value: &amp;quot;..xmlNodeGetValue (xmlFindChild(xmlHudBranch,&amp;quot;IconSizeX&amp;quot;,0)), 0, 0, 255 ) --blue outputs&lt;br /&gt;
	&lt;br /&gt;
        --Retrieve multiple sub-node names or values	&lt;br /&gt;
	xmlHudChildrenTable = xmlNodeGetChildren ( xmlHudBranch ) --Create a table of this branch's children&lt;br /&gt;
	for i,node in pairs(xmlHudChildrenTable ) do --Loop through the branch's children for sub-nodes&lt;br /&gt;
            outputChatBox( &amp;quot;Node name: &amp;quot;..xmlNodeGetName (node), 0, 255, 0 ) --green outputs&lt;br /&gt;
	    outputChatBox( &amp;quot;Node Value: &amp;quot;..xmlNodeGetValue(node), 0, 255, 0 ) --green outputs&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, resourceRoot, ClientResourceStart )&lt;br /&gt;
 &lt;br /&gt;
function ClientResourceStop ()&lt;br /&gt;
	xmlSaveFile ( xmlRootTree ) --Save the xml from memory for use next time&lt;br /&gt;
	xmlUnloadFile ( xmlRootTree ) --Unload the xml from memory&lt;br /&gt;
	outputChatBox ( &amp;quot;Saved and unloaded the XML.&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStop&amp;quot;, resourceRoot, ClientResourceStop )&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;
{{XML functions}}&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlNodeSetName&amp;diff=62649</id>
		<title>XmlNodeSetName</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlNodeSetName&amp;diff=62649"/>
		<updated>2019-05-12T20:51:50Z</updated>

		<summary type="html">&lt;p&gt;Sheva: Do not forget xmlUnloadFile.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Sets the tag name of the specified XML node.&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 xmlNodeSetName ( xmlnode node, string name )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[xmlnode]]:setName|name|xmlNodeGetName}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''node:''' the node to change the tag name of.&lt;br /&gt;
*'''name:''' the new tag name to set.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''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;
local xml = xmlCreateFile(&amp;quot;fileName.xml&amp;quot;,&amp;quot;Test&amp;quot;)&lt;br /&gt;
local xmlNode = xmlCreateChild(xml,&amp;quot;Test1&amp;quot;)&lt;br /&gt;
local xmlNodeName = xmlNodeGetName(xmlNode)&lt;br /&gt;
xmlUnloadFile(xml)&lt;br /&gt;
if xmlNodeName == &amp;quot;Test1&amp;quot; then&lt;br /&gt;
   xmlNodeSetName(xmlNode, &amp;quot;Test2&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;
{{XML functions}}&lt;br /&gt;
[[ru:xmlNodeSetName]]&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlNodeGetValue&amp;diff=62648</id>
		<title>XmlNodeGetValue</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlNodeGetValue&amp;diff=62648"/>
		<updated>2019-05-12T20:50:49Z</updated>

		<summary type="html">&lt;p&gt;Sheva: Do not forget xmlUnloadFile.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function is made to be able to read tag values in XML files (eg. &amp;lt;something&amp;gt;anything&amp;lt;/something&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string xmlNodeGetValue ( xmlnode theXMLNode )             &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[xmlnode]]:getValue|value|xmlNodeSetValue}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theXMLNode:''' The [[xml node]] of which you need to know the value.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the value of the node as a [[string]] if it was received successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server Example: return a sample file from a XML file&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
In this example a sample value is returned from a XML file. &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local xmlFile = xmlLoadFile ( &amp;quot;exampleFile.xml&amp;quot; ) -- Open a file that we have already created&lt;br /&gt;
if xmlFile then -- If it's indeed opened&lt;br /&gt;
    local node = xmlFindChild( xmlFile, &amp;quot;somesubnode&amp;quot;, 0 ) -- Find our first sub node&lt;br /&gt;
    local success = xmlNodeGetValue ( node ) -- Get the value of it&lt;br /&gt;
    xmlUnloadFile(xmlFile)&lt;br /&gt;
    if success then -- Check if it was successful&lt;br /&gt;
        outputChatBox ( tostring ( success ) ) -- Output &amp;quot;somevalue&amp;quot; to the chatbox&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
In order for the result to be valid, the xml file has to look like this:&lt;br /&gt;
&amp;lt;section name=&amp;quot;exampleFile.xml&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;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;somenode&amp;gt;&lt;br /&gt;
        &amp;lt;somesubnode&amp;gt;somevalue&amp;lt;/somesubnode&amp;gt;&lt;br /&gt;
&amp;lt;/somenode&amp;gt;&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;Client Example: Save and load from a clientside XML&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This shows an example of a clientside XML file. You can use this to store user preferences and load them the next time the script loads. Almost always, you should have an options GUI for clients to interact with to set these values.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Since the XML will change, it should NOT be included in the resource's meta.xml file. MTA will think that file is corrupted and will download it again from the server. Instead, you should create the XML within the script, and then load it within the script on future script runs if it exists.&lt;br /&gt;
&lt;br /&gt;
'''This xml will be created from the script following it below'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;root&amp;gt;&lt;br /&gt;
    &amp;lt;hud_display&amp;gt;&lt;br /&gt;
        &amp;lt;IconSizeX&amp;gt;60&amp;lt;/IconSizeX&amp;gt;&lt;br /&gt;
        &amp;lt;IconSizeY&amp;gt;60&amp;lt;/IconSizeY&amp;gt;&lt;br /&gt;
    &amp;lt;/hud_display&amp;gt;&lt;br /&gt;
    &amp;lt;hud_binds&amp;gt;&lt;br /&gt;
        &amp;lt;weaponSlot0&amp;gt;tab&amp;lt;/weaponSlot0&amp;gt;&lt;br /&gt;
        &amp;lt;weaponSlot1&amp;gt;1&amp;lt;/weaponSlot1&amp;gt;&lt;br /&gt;
    &amp;lt;/hud_binds&amp;gt;&lt;br /&gt;
&amp;lt;/root&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''This script will create the xml or load it if it exists'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function ClientResourceStart ()&lt;br /&gt;
	if source ~= getResourceRootElement() then return end --This event will happen with any resource start, isolate it to this resource	&lt;br /&gt;
	xmlRootTree = xmlLoadFile ( &amp;quot;userSettings.xml&amp;quot; ) --Attempt to load the xml file	&lt;br /&gt;
&lt;br /&gt;
	if xmlRootTree then -- If the xml loaded then...&lt;br /&gt;
		xmlHudBranch = xmlFindChild(xmlRootTree,&amp;quot;hud_display&amp;quot;,0) -- Find the hud sub-node&lt;br /&gt;
		xmlBindsBranch = xmlFindChild(xmlRootTree,&amp;quot;hud_binds&amp;quot;,0) -- Find the binds sub-node&lt;br /&gt;
		outputChatBox ( &amp;quot;XML Found and Loaded&amp;quot; )&lt;br /&gt;
	else -- If the xml does not exist then...&lt;br /&gt;
		xmlRootTree = xmlCreateFile ( &amp;quot;userSettings.xml&amp;quot;, &amp;quot;root&amp;quot; ) -- Create the xml file	&lt;br /&gt;
		xmlHudBranch = xmlCreateChild ( xmlRootTree, &amp;quot;hud_display&amp;quot; ) -- Create the hud sub-node under the root node&lt;br /&gt;
		xmlBindsBranch = xmlCreateChild ( xmlRootTree, &amp;quot;hud_binds&amp;quot; )-- Create the binds sub-node under the root node&lt;br /&gt;
		xmlNodeSetValue (xmlCreateChild ( xmlHudBranch, &amp;quot;IconSizeX&amp;quot;), &amp;quot;60&amp;quot; ) --Create sub-node values under the hud sub-node&lt;br /&gt;
		xmlNodeSetValue (xmlCreateChild ( xmlHudBranch, &amp;quot;IconSizeY&amp;quot;), &amp;quot;60&amp;quot; ) --Create sub-node values under the hud sub-node&lt;br /&gt;
		xmlNodeSetValue (xmlCreateChild ( xmlBindsBranch, &amp;quot;weaponSlot0&amp;quot;), &amp;quot;tab&amp;quot; ) --Create sub-node values under the binds sub-node&lt;br /&gt;
		xmlNodeSetValue (xmlCreateChild ( xmlBindsBranch, &amp;quot;weaponSlot1&amp;quot;), &amp;quot;1&amp;quot; ) --Create sub-node values under the binds sub-node&lt;br /&gt;
		outputChatBox ( &amp;quot;XML Created&amp;quot; )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	--Retrieve a single sub-node name or value&lt;br /&gt;
	outputChatBox( &amp;quot;Node name: &amp;quot;..xmlNodeGetName (xmlFindChild(xmlHudBranch,&amp;quot;IconSizeX&amp;quot;,0)), 0, 0, 255 ) --blue outputs&lt;br /&gt;
	outputChatBox( &amp;quot;Node Value: &amp;quot;..xmlNodeGetValue (xmlFindChild(xmlHudBranch,&amp;quot;IconSizeX&amp;quot;,0)), 0, 0, 255 ) --blue outputs&lt;br /&gt;
	&lt;br /&gt;
        --Retrieve multiple sub-node names or values	&lt;br /&gt;
	xmlHudChildrenTable = xmlNodeGetChildren ( xmlHudBranch ) --Create a table of this branch's children&lt;br /&gt;
	for i,node in pairs(xmlHudChildrenTable ) do --Loop through the branch's children for sub-nodes&lt;br /&gt;
            outputChatBox( &amp;quot;Node name: &amp;quot;..xmlNodeGetName (node), 0, 255, 0 ) --green outputs&lt;br /&gt;
	    outputChatBox( &amp;quot;Node Value: &amp;quot;..xmlNodeGetValue(node), 0, 255, 0 ) --green outputs&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, root, ClientResourceStart )&lt;br /&gt;
 &lt;br /&gt;
function ClientResourceStop ()&lt;br /&gt;
	if source ~= getResourceRootElement() then return end --This event will happen with any resource stop, isolate it to this resource&lt;br /&gt;
	xmlSaveFile ( xmlRootTree ) --Save the xml from memory for use next time&lt;br /&gt;
	xmlUnloadFile ( xmlRootTree ) --Unload the xml from memory&lt;br /&gt;
	outputChatBox ( &amp;quot;Saved and unloaded the XML.&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStop&amp;quot;, root, ClientResourceStop )&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&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML functions}}&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlNodeGetName&amp;diff=62647</id>
		<title>XmlNodeGetName</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlNodeGetName&amp;diff=62647"/>
		<updated>2019-05-12T20:49:05Z</updated>

		<summary type="html">&lt;p&gt;Sheva: Do not forget xmlUnloadFile.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Gets the tag name of the specified XML node.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string xmlNodeGetName ( xmlnode node )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[xmlnode]]:getName|name|xmlNodeSetName}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''node:''' the node to get the tag name of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the tag name of the node if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local xml = xmlCreateFile(&amp;quot;test.xml&amp;quot;,&amp;quot;test&amp;quot;)&lt;br /&gt;
local xmlNode = xmlCreateChild(xml,&amp;quot;nextTest&amp;quot;)&lt;br /&gt;
local xmlNodeName = xmlNodeGetName(xmlNode)&lt;br /&gt;
xmlUnloadFile(xml)&lt;br /&gt;
outputConsole(xmlNodeName) --This should output &amp;quot;nextTest&amp;quot;.&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;
{{XML functions}}&lt;br /&gt;
[[ru:xmlNodeGetName]]&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlFindChild&amp;diff=62646</id>
		<title>XmlFindChild</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlFindChild&amp;diff=62646"/>
		<updated>2019-05-12T20:47:34Z</updated>

		<summary type="html">&lt;p&gt;Sheva: Do not forget xmlUnloadFile.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function returns a named child node of an XML node.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;xmlnode xmlFindChild ( xmlnode parent, string tagName, int index )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[xmlnode]]:findChild}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''parent''': This is an [[xmlnode]] that you want to find the child node under.&lt;br /&gt;
* '''tagName''': This is the name of the child node you wish to find (case-sensitive).&lt;br /&gt;
* '''index''': This is the 0-based index of the node you wish to find. For example, to find the 5th subnode with a particular name, you would use 4 as the index value. To find the first occurence, use 0.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an [[xmlnode]] if the node was found, ''false'' otherwise.&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;
If you wanted to find an ''instructions'' node in an xml file like this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;root version=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;options&amp;gt;&lt;br /&gt;
            &amp;lt;instructions&amp;gt;Start at the beginning and keep going until the end!&amp;lt;/instructions&amp;gt;&lt;br /&gt;
      &amp;lt;/options&amp;gt;&lt;br /&gt;
&amp;lt;/root&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could use the following code to print the text in the ''instructions'' node to the chatbox:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local rootNode = xmlLoadFile ( &amp;quot;test.xml&amp;quot; )&lt;br /&gt;
local optionsNode = xmlFindChild ( rootNode, &amp;quot;options&amp;quot;, 0 )&lt;br /&gt;
local instructionsNode = xmlFindChild ( optionsNode, &amp;quot;instructions&amp;quot;, 0 )&lt;br /&gt;
local instructions = xmlNodeGetValue ( instructionsNode )&lt;br /&gt;
xmlUnloadFile(rootNode)&lt;br /&gt;
&lt;br /&gt;
outputChatBox ( instructions )&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;
{{XML functions}}&lt;br /&gt;
[[ru:xmlFindChild]]&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlSaveFile&amp;diff=62645</id>
		<title>XmlSaveFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlSaveFile&amp;diff=62645"/>
		<updated>2019-05-12T20:46:01Z</updated>

		<summary type="html">&lt;p&gt;Sheva: Prevented memory leak&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function saves a loaded XML file.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool xmlSaveFile ( xmlnode rootNode ) &amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[xmlnode]]:saveFile}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''rootNode:''' the root [[xmlnode]] of the loaded XML file.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if save was successful, ''false'' if the XML file does not exist.&lt;br /&gt;
&lt;br /&gt;
==Example==&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;
This example allows a player to use the command 'createfile' to create an .xml file.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Creates a file named &amp;quot;new.xml&amp;quot; with root node &amp;quot;newroot&amp;quot; and childnode &amp;quot;newchild&amp;quot;.&lt;br /&gt;
function createFileHandler()&lt;br /&gt;
local RootNode = xmlCreateFile(&amp;quot;new.xml&amp;quot;,&amp;quot; newroot&amp;quot;)&lt;br /&gt;
local NewNode = xmlCreateChild(RootNode, &amp;quot;newchild&amp;quot;)&lt;br /&gt;
xmlSaveFile(RootNode)&lt;br /&gt;
xmlUnloadFile(RootNode)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;createfile&amp;quot;, createFileHandler)&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;
{{XML_functions}}&lt;br /&gt;
[[ru:xmlSaveFile]]&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlCreateChild&amp;diff=62644</id>
		<title>XmlCreateChild</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlCreateChild&amp;diff=62644"/>
		<updated>2019-05-12T20:44:54Z</updated>

		<summary type="html">&lt;p&gt;Sheva: Prevented memory leak&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function creates a new child node under an XML node.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;xmlnode xmlCreateChild ( xmlnode parentNode, string tagName )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[xmlnode]]:createChild}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''parentNode:''' the [[xmlnode]] you want to create a new child node under.&lt;br /&gt;
*'''tagName:''' the type of the child node that will be created.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the created [[xmlnode]] if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example allows a player to use the command 'createfile' to create an .xml file.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Creates a file named &amp;quot;new.xml&amp;quot; with root node &amp;quot;newroot&amp;quot; and childnode &amp;quot;newchild&amp;quot;.&lt;br /&gt;
function createFileHandler()&lt;br /&gt;
local RootNode = xmlCreateFile(&amp;quot;new.xml&amp;quot;,&amp;quot; newroot&amp;quot;)&lt;br /&gt;
local NewNode = xmlCreateChild(RootNode, &amp;quot;newchild&amp;quot;)&lt;br /&gt;
xmlSaveFile(RootNode)&lt;br /&gt;
xmlUnloadFile(RootNode)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;createfile&amp;quot;, createFileHandler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML functions}}&lt;br /&gt;
[[ru:xmlCreateChild]]&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetPedTargetStart&amp;diff=62529</id>
		<title>GetPedTargetStart</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPedTargetStart&amp;diff=62529"/>
		<updated>2019-04-29T23:09:06Z</updated>

		<summary type="html">&lt;p&gt;Sheva: Optimization in the example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function allows retrieval of the position a ped's target range begins, when he is aiming with a weapon.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float float float getPedTargetStart ( ped targetingPed )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''targetingPed:''' The ped whose target start you wish to retrieve&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns three floats, x,y,z, representing the position where the ped's target starts, or ''false'' if it was unsuccessful.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This Example draws a line from where the Ped´s Target Starts to the Point where the Target Ends&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function drawline()&lt;br /&gt;
   local x, y, z = getPedTargetStart(localPlayer) -- Gets the Point to start From.&lt;br /&gt;
   if (x) then -- Checks if there is a Point to start From.&lt;br /&gt;
      local sx, sy, sz = getPedTargetCollision(localPlayer) -- Gets the Point where the Targets Collision is.&lt;br /&gt;
      dxDrawLine3D(x, y, z, sx, sy, sz) -- Draws the Line&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientPreRender&amp;quot;, getRootElement(), drawline) -- Adds the Handler.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_ped_functions}}&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetPedTargetCollision&amp;diff=62528</id>
		<title>GetPedTargetCollision</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPedTargetCollision&amp;diff=62528"/>
		<updated>2019-04-29T23:06:09Z</updated>

		<summary type="html">&lt;p&gt;Sheva: Optimization in the example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function allows retrieval of where a ped's target is blocked. It will only be blocked if there is an obstacle within a ped's target range.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float float float getPedTargetCollision ( ped targetingPed )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''targetingPed:''' This is the ped whose target collision you wish to retrieve&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns three floats, ''x'',''y'',''z'', representing the position where the ped's target collides, or ''false'' if it was unsuccessful.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
This Example draws a line from where the Ped´s Target Starts to the Point where the Targets Collision is.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function drawline()&lt;br /&gt;
   local x, y, z = getPedTargetStart(localPlayer) -- Gets the Point to start From.&lt;br /&gt;
   if (x) then -- Checks if there is a Point to start From.&lt;br /&gt;
      local sx, sy, sz = getPedTargetCollision(localPlayer) -- Gets the Point where the Targets Collision is.&lt;br /&gt;
      dxDrawLine3D(x, y, z, sx, sy, sz) -- Draws the Line&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientPreRender&amp;quot;, getRootElement(), drawline) -- Adds the Handler.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_ped_functions}}&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetObjectProperty&amp;diff=62151</id>
		<title>GetObjectProperty</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetObjectProperty&amp;diff=62151"/>
		<updated>2019-02-08T23:15:35Z</updated>

		<summary type="html">&lt;p&gt;Sheva: Fixed argument list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0157|1.5.6|14370|This function gets a property of the specified [[object]].}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;mixed getObjectProperty ( object theObject, string property [ , var value1, ... ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[object]]:getProperty||setProperty}}&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theObject''': the [[object]] you wish to get a property of.&lt;br /&gt;
*'''property:''': the property you want to get the value of:&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left:20px&amp;quot;&amp;gt;&lt;br /&gt;
* &amp;quot;all&amp;quot; - ''table'' with values of all properties below (OOP method: ''getProperties'')&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{{Object Properties}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
On success: [[table]] for '''all''', 3 [[float|floats]] for '''center_of_mass''' or [[float]] for other properties&lt;br /&gt;
&lt;br /&gt;
On failure: ''false''&lt;br /&gt;
&lt;br /&gt;
==Example== &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;&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, resourceRoot, function()&lt;br /&gt;
	local theObject = createObject(980, 0, 0, 0) -- create an object&lt;br /&gt;
	if theObject then&lt;br /&gt;
		setObjectProperty(theObject, &amp;quot;center_of_mass&amp;quot;, 0, -1, 0) -- set it's center of mass&lt;br /&gt;
&lt;br /&gt;
		local x, y, z = getObjectProperty(theObject, &amp;quot;center_of_mass&amp;quot;) -- get it's center of mass&lt;br /&gt;
		outputChatBox(&amp;quot;Object's center of mass: &amp;quot;..tostring(x)..&amp;quot;, &amp;quot;..tostring(y)..&amp;quot;, &amp;quot;..tostring(z))&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;
==See Also==&lt;br /&gt;
{{Client_object_functions}}&lt;/div&gt;</summary>
		<author><name>Sheva</name></author>
	</entry>
</feed>