<?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=Santi</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=Santi"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Santi"/>
	<updated>2026-04-14T20:08:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=EngineStreamingSetMemorySize&amp;diff=81466</id>
		<title>EngineStreamingSetMemorySize</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=EngineStreamingSetMemorySize&amp;diff=81466"/>
		<updated>2024-12-09T16:44:03Z</updated>

		<summary type="html">&lt;p&gt;Santi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0160|1.6.0|21874|Sets the maximum amount of RAM [in bytes] that can be used for streaming}}&lt;br /&gt;
{{Tip|The `showmemstat` command can be used to see this value in real-time [You might have to scroll down using PgDown on your keyboard]}}&lt;br /&gt;
{{Tip|To restore to default value use [[engineStreamingRestoreMemorySize]]}}&lt;br /&gt;
{{Important Note|'''This function is meant for advanced users only, as it can lead to stability issues'''. Using a very high value might result in more crashes, while using a value too low might lead to frequent pop-in [and due to the way MTA works micro-stutter as well]}}&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
nil engineStreamingSetMemorySize( int sizeBytes )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[EngineStreaming]]:setMemorySize|memorySize|engineStreamingGetMemorySize}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''sizeBytes ''': The maximum amount of RAM [in bytes] that can be used for streaming. Must be a positive non-zero number.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example adds a command that can be used to change the streaming memory size, and display the previous value.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;ssms&amp;quot;, function(_, sizeMB)&lt;br /&gt;
    if tonumber(sizeMB) then&lt;br /&gt;
        outputChatbox(&amp;quot;The maximum streaming memory available has been changed from &amp;quot; .. math.floor(engineStreamingGetMemorySize() / 1024 / 1024) .. &amp;quot; MB to &amp;quot; .. sizeMB .. &amp;quot; MB&amp;quot;)      &lt;br /&gt;
        engineStreamingSetMemorySize(tonumber(sizeMB) * 1024 * 1024) -- Convert MB to Bytes&lt;br /&gt;
    else&lt;br /&gt;
        outputChatbox(&amp;quot;Please enter a numeric value!&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end, false, false)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Engine functions}}&lt;/div&gt;</summary>
		<author><name>Santi</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetDiscordApplicationID&amp;diff=78350</id>
		<title>SetDiscordApplicationID</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetDiscordApplicationID&amp;diff=78350"/>
		<updated>2023-10-24T18:39:34Z</updated>

		<summary type="html">&lt;p&gt;Santi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Important Note|To reset the application ID, please use [[resetDiscordRichPresenceData]]}}&lt;br /&gt;
{{Important Note|In order for the function to work correctly, the user must have their activity privacy/status enabled in Discord.}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22270|&lt;br /&gt;
The function can assign your own application to use in Rich Presence.&lt;br /&gt;
You can create an application '''[https://discord.com/developers/applications here]'''&lt;br /&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 setDiscordApplicationID(string applicationID)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[DiscordRPC]]:setApplication}}&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''applicationID''': a string representing your Discord application's ID.&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if function succeeds, ''false'' if the client has disabled rich presence.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs whether the application was successfully setup and sets a custom asset image.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local app_id = &amp;quot;YOUR_APPLICATION_ID&amp;quot;&lt;br /&gt;
if setDiscordApplicationID(app_id) then &lt;br /&gt;
    setDiscordRichPresenceAsset(&amp;quot;asset_name_from_application&amp;quot;)&lt;br /&gt;
    outputChatBox(&amp;quot;Yay, we're now using our own application!&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_Discord_functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:setDiscordApplicationID]]&lt;br /&gt;
[[de:setDiscordApplicationID]]&lt;br /&gt;
[[hu:setDiscordApplicationID]]&lt;br /&gt;
[[pl:setDiscordApplicationID]]&lt;br /&gt;
[[ro:setDiscordApplicationID]]&lt;br /&gt;
[[ru:SetDiscordApplicationID]]&lt;br /&gt;
[[PT-BR:SetDiscordApplicationID]]&lt;/div&gt;</summary>
		<author><name>Santi</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresenceButton&amp;diff=78349</id>
		<title>SetDiscordRichPresenceButton</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresenceButton&amp;diff=78349"/>
		<updated>2023-10-24T18:36:43Z</updated>

		<summary type="html">&lt;p&gt;Santi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Important Note|To use this function, you must set up your own application [[setDiscordApplicationID]]}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22270|&lt;br /&gt;
The function sets a custom button through which we can access the website on Discord.&lt;br /&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 setDiscordRichPresenceButton(int index, string text, string url)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[DiscordRPC]]:setButton}}&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''index''': a int representing the index of the button (possible values: 1 or 2)&lt;br /&gt;
*'''text''': a string containing the title of the button&lt;br /&gt;
*'''url''': a string containing the button URL (only works with '''https://''' or '''mtasa://''')&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if function succeeds, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates two custom buttons in our Discord Rich Presence application.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local app_id = &amp;quot;YOUR_APPLICATION_ID&amp;quot;&lt;br /&gt;
if setDiscordApplicationID(app_id) then &lt;br /&gt;
    setDiscordRichPresenceButton(1, &amp;quot;Connect to server&amp;quot;, &amp;quot;mtasa://youraddressip&amp;quot;)&lt;br /&gt;
    setDiscordRichPresenceButton(2, &amp;quot;MTA Homepage&amp;quot;, &amp;quot;https://mtasa.com&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_Discord_functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:setDiscordRichPresenceButton]]&lt;br /&gt;
[[de:setDiscordRichPresenceButton]]&lt;br /&gt;
[[hu:setDiscordRichPresenceButton]]&lt;br /&gt;
[[pl:setDiscordRichPresenceButton]]&lt;br /&gt;
[[ro:setDiscordRichPresenceButton]]&lt;br /&gt;
[[ru:SetDiscordRichPresenceButton]]&lt;br /&gt;
[[PT-BR:SetDiscordRichPresenceButton]]&lt;/div&gt;</summary>
		<author><name>Santi</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresenceDetails&amp;diff=78348</id>
		<title>SetDiscordRichPresenceDetails</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresenceDetails&amp;diff=78348"/>
		<updated>2023-10-24T18:36:18Z</updated>

		<summary type="html">&lt;p&gt;Santi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Important Note|To use this function, you must set up your own application [[setDiscordApplicationID]]}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22270|&lt;br /&gt;
This function sets the details text of Discord Rich Presence.&lt;br /&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 setDiscordRichPresenceDetails(string details)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[DiscordRPC]]:setDetails}}&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''details''': a string containing the details text&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if function succeeds, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example shows how to change the state and details of the Discord Rich Presence application.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local app_id = &amp;quot;YOUR_APPLICATION_ID&amp;quot;&lt;br /&gt;
if setDiscordApplicationID(app_id) then &lt;br /&gt;
    local name = getPlayerName(localPlayer)&lt;br /&gt;
    setDiscordRichPresenceState(&amp;quot;In-game&amp;quot;)&lt;br /&gt;
    setDiscordRichPresenceDetails(&amp;quot;currently as &amp;quot;..name)&lt;br /&gt;
end &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_Discord_functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[de:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[hu:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[pl:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[ro:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[ru:SetDiscordRichPresenceDetails]]&lt;br /&gt;
[[PT-BR:SetDiscordRichPresenceDetails]]&lt;/div&gt;</summary>
		<author><name>Santi</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresenceState&amp;diff=78347</id>
		<title>SetDiscordRichPresenceState</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresenceState&amp;diff=78347"/>
		<updated>2023-10-24T18:35:42Z</updated>

		<summary type="html">&lt;p&gt;Santi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Important Note|To use this function, you must set up your own application [[setDiscordApplicationID]]}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22270|&lt;br /&gt;
This function sets the status of the Discord Rich Presence application.&lt;br /&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 setDiscordRichPresenceState(string state)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[DiscordRPC]]:setState}}&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''state''': a string containing the status text&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if function succeeds, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example shows how to set the state of the Discord Rich Presence application.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local app_id = &amp;quot;YOUR_APPLICATION_ID&amp;quot;&lt;br /&gt;
if setDiscordApplicationID(app_id) then &lt;br /&gt;
    setDiscordRichPresenceState(&amp;quot;waiting in lobby&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_Discord_functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:setDiscordRichPresenceState]]&lt;br /&gt;
[[de:setDiscordRichPresenceState]]&lt;br /&gt;
[[hu:setDiscordRichPresenceState]]&lt;br /&gt;
[[pl:setDiscordRichPresenceState]]&lt;br /&gt;
[[ro:setDiscordRichPresenceState]]&lt;br /&gt;
[[ru:SetDiscordRichPresenceState]]&lt;br /&gt;
[[PT-BR:SetDiscordRichPresenceState]]&lt;/div&gt;</summary>
		<author><name>Santi</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresencePartySize&amp;diff=78346</id>
		<title>SetDiscordRichPresencePartySize</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresencePartySize&amp;diff=78346"/>
		<updated>2023-10-24T18:35:07Z</updated>

		<summary type="html">&lt;p&gt;Santi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Important Note|To use this function, you must set up your own application [[setDiscordApplicationID]]}}&lt;br /&gt;
{{Note|For the party size to be displayed, the state must be set [[setDiscordRichPresenceState]]}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22276|&lt;br /&gt;
This function sets the party size of Discord Rich Presence.&lt;br /&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 setDiscordRichPresencePartySize(int size, int max)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[DiscordRPC]]:setPartySize}}&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''size''': an integer representing the current party size.&lt;br /&gt;
*'''max''': an integer representing the maximum party size.&lt;br /&gt;
&lt;br /&gt;
'''If both values are 0, the party size will not be displayed'''&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if function succeeds, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example shows how to change the party size of the Discord Rich Presence application.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local app_id = &amp;quot;YOUR_APPLICATION_ID&amp;quot;&lt;br /&gt;
if setDiscordApplicationID(app_id) then &lt;br /&gt;
    setDiscordRichPresenceState(&amp;quot;In-game&amp;quot;)&lt;br /&gt;
    setDiscordRichPresencePartySize(1, 32)&lt;br /&gt;
end &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_Discord_functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[de:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[hu:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[pl:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[ro:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[ru:SetDiscordRichPresenceDetails]]&lt;br /&gt;
[[PT-BR:SetDiscordRichPresenceDetails]]&lt;/div&gt;</summary>
		<author><name>Santi</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresenceStartTime&amp;diff=78342</id>
		<title>SetDiscordRichPresenceStartTime</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresenceStartTime&amp;diff=78342"/>
		<updated>2023-10-24T18:33:43Z</updated>

		<summary type="html">&lt;p&gt;Santi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Important Note|To use this function, you must set up your own application [[setDiscordApplicationID]]}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22276|&lt;br /&gt;
This function sets the elapsed time of Discord Rich Presence.&lt;br /&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 setDiscordRichPresenceStartTime(int seconds)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[DiscordRPC]]:setStartTime}}&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''seconds''': an integer representing the number of seconds that has elapsed. If 0, the timer will not be displayed.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if function succeeds, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example shows how to change the elapsed timer of the Discord Rich Presence application.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local app_id = &amp;quot;YOUR_APPLICATION_ID&amp;quot;&lt;br /&gt;
if setDiscordApplicationID(app_id) then &lt;br /&gt;
    setDiscordRichPresenceState(&amp;quot;In-game&amp;quot;)&lt;br /&gt;
    setDiscordRichPresenceStartTime(1)&lt;br /&gt;
end &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_Discord_functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[de:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[hu:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[pl:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[ro:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[ru:SetDiscordRichPresenceDetails]]&lt;br /&gt;
[[PT-BR:SetDiscordRichPresenceDetails]]&lt;/div&gt;</summary>
		<author><name>Santi</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresenceEndTime&amp;diff=78341</id>
		<title>SetDiscordRichPresenceEndTime</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetDiscordRichPresenceEndTime&amp;diff=78341"/>
		<updated>2023-10-24T18:32:38Z</updated>

		<summary type="html">&lt;p&gt;Santi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Important Note|To use this function, you must set up your own application [[setDiscordApplicationID]]}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22276|&lt;br /&gt;
This function sets the remaining time of Discord Rich Presence.&lt;br /&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 setDiscordRichPresenceEndTime(int seconds)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[DiscordRPC]]:setEndTime}}&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''seconds''': an integer representing the number of seconds that are remaining. If 0, or lower than the start time ([[setDiscordRichPresenceStartTime]]) the timer will not be displayed.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if function succeeds, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example shows how to change the remaining timer of the Discord Rich Presence application.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local app_id = &amp;quot;YOUR_APPLICATION_ID&amp;quot;&lt;br /&gt;
if setDiscordApplicationID(app_id) then &lt;br /&gt;
    setDiscordRichPresenceState(&amp;quot;In-game&amp;quot;)&lt;br /&gt;
    setDiscordRichPresenceStartTime(60)&lt;br /&gt;
    setDiscordRichPresenceEndTime(60)&lt;br /&gt;
end &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_Discord_functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[de:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[hu:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[pl:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[ro:setDiscordRichPresenceDetails]]&lt;br /&gt;
[[ru:SetDiscordRichPresenceDetails]]&lt;br /&gt;
[[PT-BR:SetDiscordRichPresenceDetails]]&lt;/div&gt;</summary>
		<author><name>Santi</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_vehicle_functions&amp;diff=72865</id>
		<title>Template:Client vehicle functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_vehicle_functions&amp;diff=72865"/>
		<updated>2021-10-07T06:10:28Z</updated>

		<summary type="html">&lt;p&gt;Santi: Remove &amp;quot;&amp;lt;/noinclude&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[addVehicleUpgrade]]&lt;br /&gt;
* [[areVehicleLightsOn]]&lt;br /&gt;
* [[attachTrailerToVehicle]]&lt;br /&gt;
* [[blowVehicle]]&lt;br /&gt;
* [[createVehicle]]&lt;br /&gt;
* [[detachTrailerFromVehicle]]&lt;br /&gt;
* [[fixVehicle]]&lt;br /&gt;
* [[getHeliBladeCollisionsEnabled]]&lt;br /&gt;
* [[getHelicopterRotorSpeed]]&lt;br /&gt;
* [[getOriginalHandling]]&lt;br /&gt;
* [[getTrainDirection]]&lt;br /&gt;
* [[getTrainPosition]]&lt;br /&gt;
* [[getTrainSpeed]]&lt;br /&gt;
* [[getVehicleAdjustableProperty]]&lt;br /&gt;
* [[getVehicleColor]]&lt;br /&gt;
* [[getVehicleCompatibleUpgrades]]&lt;br /&gt;
* [[getVehicleComponentPosition]]&lt;br /&gt;
* [[getVehicleComponentRotation]]&lt;br /&gt;
* [[getVehicleComponents]]&lt;br /&gt;
* [[getVehicleComponentScale]]&lt;br /&gt;
* [[getVehicleComponentVisible]]&lt;br /&gt;
* [[getVehicleController]]&lt;br /&gt;
* [[getVehicleCurrentGear]]&lt;br /&gt;
* [[getVehicleDoorOpenRatio]]&lt;br /&gt;
* [[getVehicleDoorState]]&lt;br /&gt;
{{Added feature/item|1.5.9|1.5.8|20797|&lt;br /&gt;
* [[getVehicleDummyPosition]]&lt;br /&gt;
}}&lt;br /&gt;
* [[getVehicleEngineState]]&lt;br /&gt;
* [[getVehicleGravity]]&lt;br /&gt;
* [[getVehicleHandling]]&lt;br /&gt;
* [[getVehicleHeadLightColor]]&lt;br /&gt;
* [[getVehicleLandingGearDown]]&lt;br /&gt;
* [[getVehicleLightState]]&lt;br /&gt;
* [[getVehicleMaxPassengers]]&lt;br /&gt;
{{Added feature/item|1.5.9|1.5.8|20797|&lt;br /&gt;
* [[getVehicleModelDummyDefaultPosition]]&lt;br /&gt;
}}&lt;br /&gt;
* [[getVehicleModelDummyPosition]]&lt;br /&gt;
* [[getVehicleModelExhaustFumesPosition]]&lt;br /&gt;
* [[getVehicleModelFromName]]&lt;br /&gt;
* [[getVehicleModelWheelSize]]&lt;br /&gt;
* [[getVehicleName]]&lt;br /&gt;
* [[getVehicleNameFromModel]]&lt;br /&gt;
* [[getVehicleNitroCount]]&lt;br /&gt;
* [[getVehicleNitroLevel]]&lt;br /&gt;
* [[getVehicleOccupant]]&lt;br /&gt;
* [[getVehicleOccupants]]&lt;br /&gt;
* [[getVehicleOverrideLights]]&lt;br /&gt;
* [[getVehiclePaintjob]]&lt;br /&gt;
* [[getVehiclePanelState]]&lt;br /&gt;
* [[getVehiclePlateText]]&lt;br /&gt;
* [[getVehicleSirenParams]]&lt;br /&gt;
* [[getVehicleSirens]]&lt;br /&gt;
* [[getVehicleSirensOn]]&lt;br /&gt;
* [[getVehicleTowedByVehicle]]&lt;br /&gt;
* [[getVehicleTowingVehicle]]&lt;br /&gt;
{{Deprecated items|3.0156|1.5.6|&lt;br /&gt;
* [[getVehicleTurnVelocity]]&lt;br /&gt;
}}&lt;br /&gt;
* [[getVehicleTurretPosition]]&lt;br /&gt;
* [[getVehicleType]]&lt;br /&gt;
* [[getVehicleUpgradeOnSlot]]&lt;br /&gt;
* [[getVehicleUpgrades]]&lt;br /&gt;
* [[getVehicleUpgradeSlotName]]&lt;br /&gt;
* [[getVehicleVariant]]&lt;br /&gt;
{{Added feature/item|1.5.9|1.5.8|20726|&lt;br /&gt;
* [[getVehicleWheelFrictionState]]&lt;br /&gt;
}}&lt;br /&gt;
* [[getVehicleWheelScale]]&lt;br /&gt;
* [[getVehicleWheelStates]]&lt;br /&gt;
* [[isTrainChainEngine]]&lt;br /&gt;
* [[isTrainDerailable]]&lt;br /&gt;
* [[isTrainDerailed]]&lt;br /&gt;
* [[isVehicleBlown]]&lt;br /&gt;
* [[isVehicleDamageProof]]&lt;br /&gt;
* [[isVehicleFuelTankExplodable]]&lt;br /&gt;
* [[isVehicleLocked]]&lt;br /&gt;
* [[isVehicleNitroActivated]]&lt;br /&gt;
* [[isVehicleNitroRecharging]]&lt;br /&gt;
* [[isVehicleOnGround]]&lt;br /&gt;
* [[isVehicleTaxiLightOn]]&lt;br /&gt;
* [[isVehicleWheelOnGround]]&lt;br /&gt;
* [[isVehicleWindowOpen]]&lt;br /&gt;
* [[removeVehicleUpgrade]]&lt;br /&gt;
* [[resetVehicleComponentPosition]]&lt;br /&gt;
* [[resetVehicleComponentRotation]]&lt;br /&gt;
* [[resetVehicleComponentScale]]&lt;br /&gt;
{{Added feature/item|1.5.9|1.5.8|20797|&lt;br /&gt;
* [[resetVehicleDummyPositions]]&lt;br /&gt;
}}&lt;br /&gt;
* [[setHeliBladeCollisionsEnabled]]&lt;br /&gt;
* [[setHelicopterRotorSpeed]]&lt;br /&gt;
* [[setTrainDerailable]]&lt;br /&gt;
* [[setTrainDerailed]]&lt;br /&gt;
* [[setTrainDirection]]&lt;br /&gt;
* [[setTrainPosition]]&lt;br /&gt;
* [[setTrainSpeed]]&lt;br /&gt;
* [[setVehicleAdjustableProperty]]&lt;br /&gt;
* [[setVehicleColor]]&lt;br /&gt;
* [[setVehicleComponentPosition]]&lt;br /&gt;
* [[setVehicleComponentRotation]]&lt;br /&gt;
* [[setVehicleComponentScale]]&lt;br /&gt;
* [[setVehicleComponentVisible]]&lt;br /&gt;
* [[setVehicleDamageProof]]&lt;br /&gt;
* [[setVehicleDirtLevel]]&lt;br /&gt;
* [[setVehicleDoorOpenRatio]]&lt;br /&gt;
* [[setVehicleDoorState]]&lt;br /&gt;
* [[setVehicleDoorsUndamageable]]&lt;br /&gt;
{{Added feature/item|1.5.9|1.5.8|20797|&lt;br /&gt;
* [[setVehicleDummyPosition]]&lt;br /&gt;
}}&lt;br /&gt;
* [[setVehicleEngineState]]&lt;br /&gt;
* [[setVehicleFuelTankExplodable]]&lt;br /&gt;
* [[setVehicleGravity]]&lt;br /&gt;
* [[setVehicleHandling]]&lt;br /&gt;
* [[setVehicleHeadLightColor]]&lt;br /&gt;
* [[setVehicleLandingGearDown]]&lt;br /&gt;
* [[setVehicleLightState]]&lt;br /&gt;
* [[setVehicleLocked]]&lt;br /&gt;
* [[setVehicleModelDummyPosition]]&lt;br /&gt;
* [[setVehicleModelExhaustFumesPosition]]&lt;br /&gt;
* [[setVehicleModelWheelSize]]&lt;br /&gt;
* [[setVehicleNitroActivated]]&lt;br /&gt;
* [[setVehicleNitroCount]]&lt;br /&gt;
* [[setVehicleNitroLevel]]&lt;br /&gt;
* [[setVehicleOverrideLights]]&lt;br /&gt;
* [[setVehiclePaintjob]]&lt;br /&gt;
* [[setVehiclePanelState]]&lt;br /&gt;
* [[setVehiclePlateText]]&lt;br /&gt;
* [[setVehicleSirens]]&lt;br /&gt;
* [[setVehicleSirensOn]]&lt;br /&gt;
* [[setVehicleTaxiLightOn]]&lt;br /&gt;
{{Deprecated items|3.0156|1.5.6|&lt;br /&gt;
* [[setVehicleTurnVelocity]]&lt;br /&gt;
}}&lt;br /&gt;
* [[setVehicleTurretPosition]]&lt;br /&gt;
{{Updated feature/item|1.5.9|1.5.8|20693|&lt;br /&gt;
* [[setVehicleVariant]]&lt;br /&gt;
}}&lt;br /&gt;
* [[setVehicleWheelScale]]&lt;br /&gt;
* [[setVehicleWheelStates]]&lt;br /&gt;
* [[setVehicleWindowOpen]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Functions templates]]&lt;/div&gt;</summary>
		<author><name>Santi</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Vehicle_Components&amp;diff=70713</id>
		<title>Vehicle Components</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Vehicle_Components&amp;diff=70713"/>
		<updated>2021-04-17T05:07:59Z</updated>

		<summary type="html">&lt;p&gt;Santi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page aims to provide an overview of vehicle components. The list is currently incomplete.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Note|Changing wheel position on Z axis doesn't work.}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;150&amp;quot; scope=&amp;quot;col&amp;quot; style=&amp;quot;background:#8f8f8f;&amp;quot;| Component Name&lt;br /&gt;
! width=&amp;quot;300&amp;quot; scope=&amp;quot;col&amp;quot; style=&amp;quot;background:#8f8f8f;&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|boot_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Trunk door&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|ug_nitro&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Nitro (tuning part)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|wheel_rf_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Right Front Wheel&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|wheel_lf_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Left Front Wheel&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|wheel_rb_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Right Back Wheel&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|wheel_lb_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Left Back Wheel&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|chassis&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Chassis&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|chassis_vlo&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Chassis (lod)[Can't be hid]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|ug_roof&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Roof [Can't be hid]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|door_rf_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Right Front Door&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|door_lf_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Left Front Door&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|door_rr_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Right Back Door&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|door_lr_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Left Back Door&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|bonnet_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Hood&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|ug_wing_right &lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Right wing (tuning part) [Can't be hid]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|bump_front_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Front bumper&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|bump_rear_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Back bumper&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|windscreen_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Windscreen&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|misc_a&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Tow bar position on models: 514, 515, 403, 591, 552, 485, 583, 606, 607, 608.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|ug_wing_left&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Leftwing (tuning part) [Can't be hid]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|exhaust_ok&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Exhausts&lt;br /&gt;
|}&lt;br /&gt;
==Bike Components==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Note|Vehicles in the 'bike' category have 8 different components from the others, so a separate table was created..}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Illustrative picture.png|thumb|center|An illustrative image showing the components of the bike.]]&lt;br /&gt;
&lt;br /&gt;
Many different:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;150&amp;quot; scope=&amp;quot;col&amp;quot; style=&amp;quot;background:#8f8f8f;&amp;quot;| Component Name&lt;br /&gt;
! width=&amp;quot;300&amp;quot; scope=&amp;quot;col&amp;quot; style=&amp;quot;background:#8f8f8f;&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|chassis_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Vehicle chassis&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|plate_rear&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Back plate&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|handlebars&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Handlebars&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|mudguard&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Mudguard&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|wheel_rear&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Rear tire&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|wheel_front&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Front Tire&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|froks_rear&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Froks rear&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|froks_front&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Froks front&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Equals:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;150&amp;quot; scope=&amp;quot;col&amp;quot; style=&amp;quot;background:#8f8f8f;&amp;quot;| Component Name&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|chassis&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|chassis_vlo&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Code that shows all the components of the vehicle you are inside.==&lt;br /&gt;
There are more components that are not yet in these tables above, and if you want to know all of them use this code below. This code works as follows: you enter / climb the vehicle and it will show you all the components as in the image above.&lt;br /&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;&lt;br /&gt;
addEventHandler ( &amp;quot;onClientRender&amp;quot;, root,&lt;br /&gt;
function()&lt;br /&gt;
	countTest = 0&lt;br /&gt;
	if isPedInVehicle ( localPlayer ) and getPedOccupiedVehicle ( localPlayer ) then&lt;br /&gt;
		local veh = getPedOccupiedVehicle ( localPlayer )&lt;br /&gt;
		for v in pairs ( getVehicleComponents(veh) ) do&lt;br /&gt;
			countTest = countTest + 1&lt;br /&gt;
			local x,y,z = getVehicleComponentPosition ( veh, v, &amp;quot;world&amp;quot; )&lt;br /&gt;
			local sx,sy = getScreenFromWorldPosition ( x, y, z )&lt;br /&gt;
			if sx and sy then&lt;br /&gt;
				dxDrawRectangle(sx,sy, 10, 10)&lt;br /&gt;
				dxDrawLine(sx, sy, sx-100, sy-200)&lt;br /&gt;
				dxDrawText ( v, (sx-(120 + (countTest * 5))) -1, (sy-(220 + (countTest * 10))) -1, 0 -1, 0 -1, tocolor(0,0,0), 1, &amp;quot;default-bold&amp;quot; )&lt;br /&gt;
				dxDrawText ( v, (sx-(120 + (countTest * 5))) +1, (sy-(220 + (countTest * 10))) -1, 0 +1, 0 -1, tocolor(0,0,0), 1, &amp;quot;default-bold&amp;quot; )&lt;br /&gt;
				dxDrawText ( v, (sx-(120 + (countTest * 5))) -1, (sy-(220 + (countTest * 10))) +1, 0 -1, 0 +1, tocolor(0,0,0), 1, &amp;quot;default-bold&amp;quot; )&lt;br /&gt;
				dxDrawText ( v, (sx-(120 + (countTest * 5))) +1, (sy-(220 + (countTest * 10))) +1, 0 +1, 0 +1, tocolor(0,0,0), 1, &amp;quot;default-bold&amp;quot; )&lt;br /&gt;
				dxDrawText ( v, (sx-(120 + (countTest * 5))), (sy-(220 + (countTest * 10))), 0, 0, tocolor(0,255,255), 1, &amp;quot;default-bold&amp;quot; )&lt;br /&gt;
			end&lt;br /&gt;
		end&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;
==Related scripting functions==&lt;br /&gt;
*[[setVehicleComponentVisible]]&lt;br /&gt;
*[[setVehicleComponentPosition]]&lt;br /&gt;
*[[setVehicleComponentRotation]]&lt;br /&gt;
*[[setVehicleComponentScale]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*[[resetVehicleComponentPosition]]&lt;br /&gt;
*[[resetVehicleComponentRotation]]&lt;br /&gt;
*[[resetVehicleComponentScale]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*[[getVehicleComponents]]&lt;br /&gt;
*[[getVehicleComponentVisible]]&lt;br /&gt;
*[[getVehicleComponentScale]]&lt;br /&gt;
*[[getVehicleComponentRotation]]&lt;br /&gt;
*[[getVehicleComponentPosition]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vehicle functions==&lt;br /&gt;
{{Client_vehicle_functions}}&lt;/div&gt;</summary>
		<author><name>Santi</name></author>
	</entry>
</feed>