<?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=DakiLLa</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=DakiLLa"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/DakiLLa"/>
	<updated>2026-04-22T20:30:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Dxscoreboard&amp;diff=24175</id>
		<title>Resource:Dxscoreboard</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Dxscoreboard&amp;diff=24175"/>
		<updated>2010-08-05T13:57:24Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: Undo revision 24174 by ALeKS 007 (Talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The DirectX scoreboard displays connected players, teams, pings and other data for players ingame. It also has a javascript-enabled web interface, so it can be viewed from a browser. It's created as a replacement for the old [[scoreboard]] resource created by [[User:jbeta|jbeta]].&lt;br /&gt;
&lt;br /&gt;
The biggest difference to the old resource is that it is created fully using MTA's DirectX drawing functions.&lt;br /&gt;
When you add a column to the scoreboard, it's linked to the element data field of the same name, so if you add the &amp;quot;score&amp;quot; column, element data in the field &amp;quot;score&amp;quot; will be shown for all players and teams.&lt;br /&gt;
&lt;br /&gt;
Download can be found at the [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=419 MTA community page].&lt;br /&gt;
&lt;br /&gt;
==Exported functions/events==&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;
===Functions===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardAddColumn ( string name, [ element forElement = getRootElement(), int width = 70, string friendlyName = name, int priority = slot after &amp;quot;name&amp;quot; column ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name (also the element data name used to get information from).&lt;br /&gt;
*'''forElement:''' The player to who the column should be added for.&lt;br /&gt;
*'''width:''' Width of the column in pixels.&lt;br /&gt;
*'''friendlyName:''' Friendly name (displayed in the scoreboard) of the column.&lt;br /&gt;
*'''priority:''' The priority slot of the column (1-500). If slot isn't free, the column in that slot will be pushed forward.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardRemoveColumn ( string name, [ element forElement = getRootElement() ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name.&lt;br /&gt;
*'''forElement:''' The player from who the column should be removed.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardClearColumns ( [ element forElement = getRootElement() ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''forElement:''' The player whose scoreboard's columns should be cleared.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardResetColumns ( [ element forElement = getRootElement() ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''forElement:''' The player whose scoreboard's columns should be reset (only leaves name and ping).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardSetForced ( bool forced, [ element forElement = getRootElement() ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''forced:''' Should scoreboard be forced.&lt;br /&gt;
*'''forElement:''' The player whose scoreboard should be forced.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardSetSortBy ( string name, [ bool descending = true, element forElement = getRootElement() ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name. Can also be ''nil'' making the sorting be disabled.&lt;br /&gt;
*'''descending:''' Use descending sort.&lt;br /&gt;
*'''forElement:''' The player whose scoreboard should be sorted.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int scoreboardGetColumnPriority ( string name )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name.&lt;br /&gt;
'''Returns the column priority (1-500).'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardSetColumnPriority ( string name, int priority, [ element forElement = getRootElement() ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name.&lt;br /&gt;
*'''priority:''' The priority slot of the column (1-500). If slot isn't free, the column in that slot will be pushed forward.&lt;br /&gt;
*'''forElement:''' The player to who the column should be added for.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int scoreboardGetColumnCount ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*''No arguments.''&lt;br /&gt;
'''Returns scoreboard column count.'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardForceTeamsVisible( bool enabled )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''enabled:''' Should the team header be always visible in the scoreboard (client's setting will be ignored)?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardForceTeamsHidden( bool enabled )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''enabled:''' Should the team header be always hidden in the scoreboard (client's setting will be ignored)?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isPrioritySlotFree( int slot )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''slot:''' The priority slot that should be checked.&lt;br /&gt;
'''Checks if the specified priority slot is free.'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int getNextFreePrioritySlot( [ int startAt = 1 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''startAt:''' At which point should we start looking for free slots.&lt;br /&gt;
'''Finds the next free priority slot.'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' These functions used in [[scoreboard]] resource do also work in dxscoreboard.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool addScoreboardColumn ( string columnName, element visibleToElement, int columnPosition, float columnSize )&lt;br /&gt;
bool removeScoreboardColumn ( string columnName )&lt;br /&gt;
bool setPlayerScoreboardForced ( player thePlayer, bool forced )&lt;br /&gt;
bool resetScoreboardColumns ()&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&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
===Functions===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardAddColumn ( string name, [ int width = 70, string friendlyName = name, int priority = slot after &amp;quot;name&amp;quot; column, function textFunction = nil ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name (also the element data name used to get information from).&lt;br /&gt;
*'''width:''' Width of the column in pixels.&lt;br /&gt;
*'''friendlyName:''' Friendly name (displayed in the scoreboard) of the column.&lt;br /&gt;
*'''priority:''' The priority slot of the column (1-500). If slot isn't free, the column in that slot will be pushed forward.&lt;br /&gt;
*'''textFunction:''' The text function used to process before displaying the content in the column. For example, this function would replace the &amp;quot;_&amp;quot;'s in player names with a space, if added to the &amp;quot;name&amp;quot; column.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function fixName( playerName )&lt;br /&gt;
    return playerName:gsub( &amp;quot;_&amp;quot;, &amp;quot; &amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardRemoveColumn ( string name )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardClearColumns ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*''No arguments.''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardResetColumns ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*''No arguments.''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardSetForced ( bool forced )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''forced:''' Should scoreboard be forced.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardSetColumnTextFunction ( string name, function textFunction )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name.&lt;br /&gt;
*'''textFunction:''' The text function used to process before displaying the content in the column. For example, this function would replace the &amp;quot;_&amp;quot;'s in player names with a space, if added to the &amp;quot;name&amp;quot; column.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function fixName( playerName )&lt;br /&gt;
    return playerName:gsub( &amp;quot;_&amp;quot;, &amp;quot; &amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardSetSortBy ( string name, [ bool descending = true ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name. Can also be ''nil'' making the sorting be disabled.&lt;br /&gt;
*'''descending:''' Use descending sort.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int scoreboardGetColumnPriority ( string name )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name.&lt;br /&gt;
'''Returns the column priority (1-500).'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool scoreboardSetColumnPriority ( string name, int priority )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''name:''' The column name.&lt;br /&gt;
*'''priority:''' The priority slot of the column (1-500). If slot isn't free, the column in that slot will be pushed forward.&lt;br /&gt;
*'''forElement:''' The player to who the column should be added for.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int scoreboardGetColumnCount ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*''No arguments.''&lt;br /&gt;
'''Returns scoreboard column count.'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isPrioritySlotFree( int slot )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''slot:''' The priority slot that should be checked.&lt;br /&gt;
'''Checks if the specified priority slot is free.'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int getNextFreePrioritySlot( [ int startAt = 1 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''startAt:''' At which point should we start looking for free slots.&lt;br /&gt;
'''Finds the next free priority slot.'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int, int scoreboardGetTopCornerPosition ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Returns the absolute position of the scoreboards top corner if it's drawn, ''false'' otherwise.'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int, int scoreboardGetSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Returns the absolute size (width, height) of the scoreboard if it's drawn, ''false'' otherwise.'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table scoreboardGetSelectedRows ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Returns a table with all the selected rows (element, which can be either team or player). Can also return an empty table if rows are selected.''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' These functions used in [[scoreboard]] resource do also work in dxscoreboard.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setScoreboardForced ( bool forced )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Events===&lt;br /&gt;
====onClientPlayerScoreboardClick====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool selected, int cursorX, int cursorY&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''selected:''' Was the current row selected (''true'') or unselected (''false'').&lt;br /&gt;
*'''cursorX:''' Absolute X position of the cursor.&lt;br /&gt;
*'''cursorY:''' Absolute Y position of the cursor.&lt;br /&gt;
'''Triggered when a player clicks team/player row with the left mouse button.'''&amp;lt;br&amp;gt;&lt;br /&gt;
'''Event ''source'' is the element was clicked, can be either [[player]] or [[team]].'''&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can call them from another resource using call()&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
call ( getResourceFromName ( &amp;quot;dxscoreboard&amp;quot; ), &amp;quot;scoreboardAddColumn&amp;quot;, &amp;quot;Wanted level&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
-- Note that this syntax is also valid&lt;br /&gt;
exports.dxscoreboard:scoreboardAddColumn( &amp;quot;Wanted level&amp;quot; )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can set the scoreboard data with setElementData:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- 3 is inserted in the player's wanted level column, if column&lt;br /&gt;
-- called &amp;quot;Wanted level&amp;quot; has been added in the scoreboard&lt;br /&gt;
setElementData ( player, &amp;quot;Wanted level&amp;quot;, 3 ) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetChatboxLayout&amp;diff=24096</id>
		<title>GetChatboxLayout</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetChatboxLayout&amp;diff=24096"/>
		<updated>2010-07-23T14:00:27Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Needs Checking|Returns a table now --[[User:Sebassje|Sebas]] 17:27, 8 May 2010 (UTC)}}&lt;br /&gt;
Returns information about how the chatbox looks.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getChatboxLayout ( string CVar )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''CVar:''' the name of the property you want returned. Can be the following values:&lt;br /&gt;
**'''chat_font''' - Returns the chatbox font&lt;br /&gt;
**'''chat_lines''' - Returns how many lines the chatbox has&lt;br /&gt;
**'''chat_color''' - Returns the background color of the chatbox&lt;br /&gt;
**'''chat_text_color''' - Returns the chatbox text color&lt;br /&gt;
**'''chat_input_color''' - Returns the background color of the chatbox input&lt;br /&gt;
**'''chat_input_prefix_color''' - Returns the color of the input prefix text&lt;br /&gt;
**'''chat_input_text_color''' - Returns the color of the text in the chatbox input&lt;br /&gt;
**'''chat_scale''' - Returns the scale of the text in the chatbox&lt;br /&gt;
**'''chat_width''' - Returns the scale of the background width&lt;br /&gt;
**'''chat_css_style_text''' - Returns whether text fades out over time&lt;br /&gt;
**'''chat_css_style_background''' - Returns whether the background fades out over time&lt;br /&gt;
**'''chat_line_life''' - Returns how long it takes for text to start fading out&lt;br /&gt;
**'''chat_line_fade_out''' - Returns how long takes for text to fade out&lt;br /&gt;
**'''chat_use_cegui''' - Returns whether CEGUI is used to render the chatbox&lt;br /&gt;
**'''text_scale''' - Returns text scale&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
*4 numbers if the CVar contains &amp;quot;color&amp;quot;&lt;br /&gt;
*2 numbers if '''chat_scale''' was entered&lt;br /&gt;
*1 number if any other CVar was specified&lt;br /&gt;
*''false'' if an invalid CVar was specified&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This code makes the chatbox empty when you type /clear &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;clear&amp;quot;,&lt;br /&gt;
    function ()&lt;br /&gt;
        local lines = getChatboxLayout()[&amp;quot;chat_lines&amp;quot;]&lt;br /&gt;
        for i=1,lines do&lt;br /&gt;
            outputChatBox(&amp;quot;&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedAnimation&amp;diff=21016</id>
		<title>SetPedAnimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedAnimation&amp;diff=21016"/>
		<updated>2009-08-08T19:57:06Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Sets the current animation of a player or ped.  Not specifying the type of animation will automatically cancel the current one.&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 setPedAnimation ( ped thePed [, string block=nil, string anim=nil, int time=-1, bool loop=true, bool updatePosition=true, bool interruptable=true] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped you want to apply an animation to.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
*'''block:''' the [[Animations|animation]] block's name.&lt;br /&gt;
*'''anim:''' the name of the [[Animations|animation]] within the block.&lt;br /&gt;
*'''time:''' how long the animation will run for.&lt;br /&gt;
*'''loop:''' indicates whether or not the animation will loop.&lt;br /&gt;
*'''updatePosition:''' will change the actual coordinates of the ped according to the animation. Use this for e.g. walking animations.&lt;br /&gt;
*'''interruptable:''' if set to 'false' other tasks wont be able to interupt the animation.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succesful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&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;
This example creates a ped, rotates him, and makes him walk:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function makePed()&lt;br /&gt;
   ped1 = createPed(56, 1, 1, 4)&lt;br /&gt;
   setPedRotation(ped1, 315)&lt;br /&gt;
   setPedAnimation( ped1, &amp;quot;ped&amp;quot;, &amp;quot;WOMAN_walknorm&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;makemyped&amp;quot;, makePed)&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;
{{Ped_functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RU/Weather&amp;diff=20989</id>
		<title>RU/Weather</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RU/Weather&amp;diff=20989"/>
		<updated>2009-08-06T19:56:31Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Погоду можно изменить используя [[setWeather]] и [[setWeatherBlended]].&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
Смешанная погода под ID 20 и 255 так же поддерживается.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==ID погоды==&lt;br /&gt;
* '''0 до 7:''' Различные версии голубого неба /  облаков	&lt;br /&gt;
* '''8:''' Гроза&lt;br /&gt;
* '''9:''' Туман и облачно&lt;br /&gt;
* '''10:''' Чистое голубое небо&lt;br /&gt;
* '''11:''' Палящее солнце (смог в Лос Сантосе)&lt;br /&gt;
* '''12 до 15:''' Пасмурная, бесцветная погода&lt;br /&gt;
* '''16:''' Пасмурно, дождливо&lt;br /&gt;
* '''17, 18:''' Палящее солнце&lt;br /&gt;
* '''19:''' Песчаная буря&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetElementAttachedOffsets&amp;diff=20967</id>
		<title>SetElementAttachedOffsets</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetElementAttachedOffsets&amp;diff=20967"/>
		<updated>2009-08-05T07:55:02Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function updates the offsets of an element that has been attached to another element using [[attachElements]].&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 setElementAttachedOffsets ( element theElement, [ float xPosOffset, float yPosOffset, float zPosOffset, float xRotOffset, float yRotOffset, float zRotOffset ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theElement:''' The attached element.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''xPosOffset:''' The x offset, if you want the elements to be a certain distance from one another (default 0).&lt;br /&gt;
*'''yPosOffset:''' The y offset (default 0).&lt;br /&gt;
*'''zPosOffset:''' The z offset (default 0).&lt;br /&gt;
*'''xRotOffset:''' The x rotation offset (default 0).&lt;br /&gt;
*'''yRotOffset:''' The y rotation offset (default 0).&lt;br /&gt;
*'''zRotOffset:''' The z rotation offset (default 0).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the attaching process was successful, ''false'' otherwise.&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;
'''Example:''' This example creates a car with a minigun&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Offsets&lt;br /&gt;
local x,y,z,rx,ry,rz= 0,-1.5,-0.1,0,0,-90&lt;br /&gt;
&lt;br /&gt;
function createArmedBobcat(cmd)&lt;br /&gt;
    local lx,ly,lz = getElementPosition(getLocalPlayer()) -- get the position of the player&lt;br /&gt;
    lx = lx + 5 -- add 5 units to the x position&lt;br /&gt;
    &lt;br /&gt;
    veh = createVehicle( 422, lx, ly, lz) -- create a bobcat&lt;br /&gt;
    base = createObject( 2985, 2,2,2) -- create a minigun_base object&lt;br /&gt;
    setElementCollisionsEnabled ( base, false ) -- the minigun_base damages the car&lt;br /&gt;
    -- you could alternatively load an empty col file for the minigun object&lt;br /&gt;
    attachElements ( base, veh,  x,y,z,rx,ry,rz) -- attach the base to the bobcat&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function rotateIt(cmd, addZ)&lt;br /&gt;
    if(addZ) then&lt;br /&gt;
        rz=rz+addZ&lt;br /&gt;
        setElementAttachedOffsets (base,x,y,z,rx,ry,rz) --update offsets&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;bobcat&amp;quot;, createArmedBobcat)&lt;br /&gt;
addCommandHandler(&amp;quot;rotate&amp;quot;, rotateIt)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetElementAttachedOffsets&amp;diff=20817</id>
		<title>SetElementAttachedOffsets</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetElementAttachedOffsets&amp;diff=20817"/>
		<updated>2009-07-20T22:17:33Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function updates the offsets of an element that has been attached to another element using [[attachElements]].&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 setElementAttachedOffsets ( element theElement, [ float xPosOffset, float yPosOffset, float zPosOffset, float xRotOffset, float yRotOffset, float zRotOffset ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theElement:''' The attached element.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''xPosOffset:''' The x offset, if you want the elements to be a certain distance from one another (default 0).&lt;br /&gt;
*'''yPosOffset:''' The y offset (default 0).&lt;br /&gt;
*'''zPosOffset:''' The z offset (default 0).&lt;br /&gt;
*'''xRotOffset:''' The x rotation offset (default 0).&lt;br /&gt;
*'''yRotOffset:''' The y rotation offset (default 0).&lt;br /&gt;
*'''zRotOffset:''' The z rotation offset (default 0).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the attaching process was successful, ''false'' otherwise.&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;
'''Example:''' This example creates a car with a minigun&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Offsets&lt;br /&gt;
local x,y,z,rx,ry,rz= 0,-1.5,-0.1,0,0,-90&lt;br /&gt;
&lt;br /&gt;
function createArmedBobcat(cmd)&lt;br /&gt;
    local lx,ly,lz = getElementPosition(getLocalPlayer()) -- get the position of the player&lt;br /&gt;
    lx = lx + 5 -- add 5 units to the x position&lt;br /&gt;
    &lt;br /&gt;
    veh = createVehicle( 422, lx, ly, lz) -- create a bobcat&lt;br /&gt;
    base = createObject( 2985, 2,2,2) -- create a minigun_base object&lt;br /&gt;
    setElementCollisionsEnabled ( base, false ) -- the minigun_base damages the car&lt;br /&gt;
    -- you could alternatively load an empty col file for the minigun object&lt;br /&gt;
    attachElements ( base, veh,  x,y,z,rx,ry,rz) -- attach the base to the bobcat&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function rotateIt(cmd, addZ)&lt;br /&gt;
    if(addZ) then&lt;br /&gt;
        rz=rz+addZ&lt;br /&gt;
        setElementAttachedOffsets (base,x,y,z,rx,ry,rz) --update offsets&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;bobcat&amp;quot;, createArmedBobcat)&lt;br /&gt;
addCommandHandler(&amp;quot;rotate&amp;quot;, rotateIt)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RU/Garage&amp;diff=20507</id>
		<title>RU/Garage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RU/Garage&amp;diff=20507"/>
		<updated>2009-07-10T08:36:45Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Любой гараж в Сан Андреасе может быть открыт или закрыт с помощью функции [[setGarageOpen]].&lt;br /&gt;
&lt;br /&gt;
Идентификаторы гаражей и их описания изложены в списке ниже:&lt;br /&gt;
&lt;br /&gt;
* '''0:''' Commerce Region, Loading Bay Garage (Life's a Beach)&lt;br /&gt;
* '''1:''' LSPD Police Impound Garage&lt;br /&gt;
* '''2:''' Mission Garage near El Corona (Los Desperados)&lt;br /&gt;
* '''3:''' Eight Ball Autos near El Corona&lt;br /&gt;
* '''4:''' Mission Garage near El Corona (Cesar Vialpando)&lt;br /&gt;
* '''5:''' Player Garage: El Corona&lt;br /&gt;
* '''6:''' LS Burglary Garage near Playe del Seville&lt;br /&gt;
* '''7:''' LowRider Tuning Garage in Willowfield&lt;br /&gt;
* '''8:''' Pay 'n' Spray in Idlewood&lt;br /&gt;
* '''9:''' Player Garage: Johnson House&lt;br /&gt;
* '''10:''' Transfender in Temple&lt;br /&gt;
* '''11:''' Pay 'n' Spray in Temple&lt;br /&gt;
* '''12:''' Pay 'n' Spray in Santa Maria Beach&lt;br /&gt;
* '''13:''' Player Garage: Santa Maria Beach&lt;br /&gt;
* '''14:''' Player Garage: Mulholland&lt;br /&gt;
* '''15:''' Wheel Archangels in Ocean Flats&lt;br /&gt;
* '''16:''' Mission Garage in Ocean Flats (T-Bone Mendez)&lt;br /&gt;
* '''17:''' Player Garage: Hashbury&lt;br /&gt;
* '''18:''' Transfender near Wang Cars in Doherty&lt;br /&gt;
* '''19:''' Pay 'n' Spray near Wang Cars in Doherty&lt;br /&gt;
* '''20:''' SF Burglary Garage, Loading Bay near Doherty&lt;br /&gt;
* '''21:''' Player Garage: Doherty&lt;br /&gt;
* '''22:''' Mission Garage in Doherty Garage&lt;br /&gt;
* '''23:''' Woozie's Mission Garage in Chinatown (Ran Fa Li)&lt;br /&gt;
* '''24:''' Michelle's Pay 'n' Spray in Downtown&lt;br /&gt;
* '''25:''' Player Garage: Calton Heights&lt;br /&gt;
* '''26:''' SFPD Police Impound Garage&lt;br /&gt;
* '''27:''' Pay 'n' Spray in Juniper Hollow&lt;br /&gt;
* '''28:''' Player Garage: Paradiso&lt;br /&gt;
* '''29:''' LVPD Police Impound Garage&lt;br /&gt;
* '''30:''' Airport Plane Garage in Las Venturas&lt;br /&gt;
* '''31:''' LV Burglary Garage near Camel's Toe&lt;br /&gt;
* '''32:''' Pay 'n' Spray near Royal Casino&lt;br /&gt;
* '''33:''' Transfender in come-a-lot&lt;br /&gt;
* '''34:''' Player Garage: Rockshore West&lt;br /&gt;
* '''35:''' Welding Wedding Bomb-workshop in Emerald Isle&lt;br /&gt;
* '''36:''' Pay 'n' Spray in Redsands East&lt;br /&gt;
* '''37:''' Player Garage: Redsands West&lt;br /&gt;
* '''38:''' Player Garage: Prickle Pine&lt;br /&gt;
* '''39:''' Player Garage: Whitewood Estates&lt;br /&gt;
* '''40:''' Pay 'n' Spray in El Quebrados&lt;br /&gt;
* '''41:''' Pay 'n' Spray in Fort Carson&lt;br /&gt;
* '''42:''' Player Garage: Fort Carson&lt;br /&gt;
* '''43:''' Player Garage: Verdant Meadows&lt;br /&gt;
* '''44:''' Mission Garage in El Castillo del Diablo (Interdiction)&lt;br /&gt;
* '''45:''' Airport Garage in Verdant Meadows&lt;br /&gt;
* '''46:''' Mission Garage in Angel Pine (Puncture Wounds)&lt;br /&gt;
* '''47:''' Pay 'n' Spray in Dillimore&lt;br /&gt;
* '''48:''' Player Garage: Palomino Creek&lt;br /&gt;
* '''49:''' Player Garage: Dillimore&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
[[id]]&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiSetProperty&amp;diff=20292</id>
		<title>GuiSetProperty</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiSetProperty&amp;diff=20292"/>
		<updated>2009-06-29T08:13:19Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the value of a specific CEGUI property of a GUI element. For a list of properties and their meaning, see the [http://www.cegui.org.uk/wiki/index.php/SetProperty_(WindowsLook) CEGUI properties wiki page].&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 guiSetProperty ( element guiElement, string property, string value )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiElement:''' the GUI element you wish to get a property of.&lt;br /&gt;
*'''property:''' the name of of property you want the value of.&lt;br /&gt;
*'''value:''' the new value for the property.&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;
This example creates a button when the resource starts and defines a console command that toggles it between enabled (clickable) and disabled (not clickable).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function onStart()&lt;br /&gt;
  button = guiCreateButton( 20, 200, 150, 30, &amp;quot;Test&amp;quot;, false )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement( getThisResource() ), onStart )&lt;br /&gt;
&lt;br /&gt;
function toogleButton()&lt;br /&gt;
  local currentState = guiGetProperty( button, &amp;quot;Disabled&amp;quot; )&lt;br /&gt;
  if currentState == &amp;quot;False&amp;quot; then&lt;br /&gt;
    guiSetProperty( button, &amp;quot;Disabled&amp;quot;, &amp;quot;True&amp;quot; )&lt;br /&gt;
  else&lt;br /&gt;
    guiSetProperty( button, &amp;quot;Disabled&amp;quot;, &amp;quot;False&amp;quot; )&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler( &amp;quot;togglebtn&amp;quot;, toogleButton )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiSetProperty&amp;diff=20291</id>
		<title>GuiSetProperty</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiSetProperty&amp;diff=20291"/>
		<updated>2009-06-29T08:11:46Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the value of a specific CEGUI property of a GUI element. For a list of properties and their meaning, see the [http://www.cegui.org.uk/wiki/index.php/SetProperty_(WindowsLook) CEGUI properties wiki page].&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 guiSetProperty ( element guiElement, string property, string value )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiElement:''' the GUI element you wish to get a property of.&lt;br /&gt;
*'''property:''' the name of of property you want the value of.&lt;br /&gt;
*'''value:''' the new value for the property.&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;
This example creates a button when the resource starts and defines a console command that toggles it between enabled (clickable) and disabled (not clickable).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function onStart()&lt;br /&gt;
  button = guiCreateButton( 20, 200, 150, 30, &amp;quot;Test&amp;quot;, false )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement(getThisResource()), onStart )&lt;br /&gt;
&lt;br /&gt;
function toogleButton()&lt;br /&gt;
  local currentState = guiGetProperty(button, &amp;quot;Disabled&amp;quot;)&lt;br /&gt;
  if currentState == &amp;quot;False&amp;quot; then&lt;br /&gt;
    guiSetProperty(button, &amp;quot;Disabled&amp;quot;, &amp;quot;True&amp;quot;)&lt;br /&gt;
  else&lt;br /&gt;
    guiSetProperty(button, &amp;quot;Disabled&amp;quot;, &amp;quot;False&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;togglebtn&amp;quot;, toogleButton )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GiveWeapon&amp;diff=19983</id>
		<title>GiveWeapon</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GiveWeapon&amp;diff=19983"/>
		<updated>2009-06-17T09:26:14Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server function}}&lt;br /&gt;
giveWeapon gives a specified weapon to a certain player or ped. There is an optional argument to specify ammunition. For example, a melee weapon doesn't need an ammo argument.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;giveWeapon ( player thePlayer, int weapon, [ int ammo=30, bool setAsCurrent=false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' A [[player]] object referencing the specified player  &lt;br /&gt;
*'''weapon:''' A whole number integer that refers to a [[Weapon]] ID. Click [[Weapon|here]] for a list of possible weapon IDs.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''ammo:''' A whole number integer serving as the ammo amount for the given weapon.  For weapons that do not require ammo, such as melee, this should be at least 1.&lt;br /&gt;
*'''setAsCurrent:''' A boolean value determining whether or not the weapon will be set as the players current.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
'''Example 1:''' This example gives a player an M4 with 200 ammo whenever they spawn.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function giveWeaponsOnSpawn ( theSpawnpont, theTeam )&lt;br /&gt;
    giveWeapon ( source, 31, 200 ) -- Gives the M4 weapon with 200 ammo&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerSpawn&amp;quot;, getRootElement(), giveWeaponsOnSpawn ) -- attach the event handler&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2:''' This example adds a &amp;quot;give&amp;quot; command in console which allows giving of any weapon by entering &amp;quot;give &amp;lt;id&amp;gt; &amp;lt;amount&amp;gt;&amp;quot;.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function consoleGive ( thePlayer, commandName, weaponID, ammo )&lt;br /&gt;
	local status = giveWeapon ( thePlayer, weaponID, ammo, true )   -- attempt to give the weapon, forcing it as selected weapon&lt;br /&gt;
	if ( not status ) then                                          -- if it was unsuccessful&lt;br /&gt;
		outputConsole ( &amp;quot;Failed to give weapon.&amp;quot;, thePlayer )   -- tell the player&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;give&amp;quot;, consoleGive )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3:''' This example creates a ped in certain coordinates. You can give him a weapon with &amp;quot;give &amp;lt;weaponID&amp;gt; &amp;lt;amount&amp;gt;&amp;quot; command in console.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ped = createPed( 19, -1634.5775, 1203.85, 7.1796 );&lt;br /&gt;
&lt;br /&gt;
addCommandHandler( &amp;quot;give&amp;quot;,&lt;br /&gt;
  function ( player, command, id, amount )&lt;br /&gt;
    if not id then return end&lt;br /&gt;
    giveWeapon( ped, id, amount, true )&lt;br /&gt;
  end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Weapon functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GiveWeapon&amp;diff=19982</id>
		<title>GiveWeapon</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GiveWeapon&amp;diff=19982"/>
		<updated>2009-06-17T09:22:13Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server function}}&lt;br /&gt;
giveWeapon gives a specified weapon to a certain player or ped. There is an optional argument to specify ammunition. For example, a melee weapon doesn't need an ammo argument.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;giveWeapon ( player thePlayer, int weapon, [ int ammo=30, bool setAsCurrent=false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' A [[player]] object referencing the specified player  &lt;br /&gt;
*'''weapon:''' A whole number integer that refers to a [[Weapon]] ID. Click [[Weapon|here]] for a list of possible weapon IDs.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''ammo:''' A whole number integer serving as the ammo amount for the given weapon.  For weapons that do not require ammo, such as melee, this should be at least 1.&lt;br /&gt;
*'''setAsCurrent:''' A boolean value determining whether or not the weapon will be set as the players current.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
'''Example 1:''' This example gives a player an M4 with 200 ammo whenever they spawn.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function giveWeaponsOnSpawn ( theSpawnpont, theTeam )&lt;br /&gt;
    giveWeapon ( source, 31, 200 ) -- Gives the M4 weapon with 200 ammo&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerSpawn&amp;quot;, getRootElement(), giveWeaponsOnSpawn ) -- attach the event handler&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2:''' This example adds a &amp;quot;give&amp;quot; command in console which allows giving of any weapon by entering &amp;quot;give &amp;lt;id&amp;gt; &amp;lt;amount&amp;gt;&amp;quot;.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function consoleGive ( thePlayer, commandName, weaponID, ammo )&lt;br /&gt;
	local status = giveWeapon ( thePlayer, weaponID, ammo, true )   -- attempt to give the weapon, forcing it as selected weapon&lt;br /&gt;
	if ( not status ) then                                          -- if it was unsuccessful&lt;br /&gt;
		outputConsole ( &amp;quot;Failed to give weapon.&amp;quot;, thePlayer )   -- tell the player&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;give&amp;quot;, consoleGive )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Weapon functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RU/Resource:Admin&amp;diff=19981</id>
		<title>RU/Resource:Admin</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RU/Resource:Admin&amp;diff=19981"/>
		<updated>2009-06-17T09:02:55Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RU/Resource page}}&lt;br /&gt;
Небольшой учебник по установке привилегий админов в ресурсе 'admin'.&lt;br /&gt;
&lt;br /&gt;
'''Важно:''' Сервер должен быть остановлен перед тем, как вы будете редактировать файлы, указанные ниже.&lt;br /&gt;
&lt;br /&gt;
В начале, откроем файл '''accounts.xml''', расположенный по адресу '''server\mods\deathmatch\''' и добавим строчку с данными вашего аккаунта, как показано на рисунке ниже:&lt;br /&gt;
&lt;br /&gt;
[[Image:admin_accounts.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Затем, откроем файл '''acl.xml''' расположенный в той же самой директории и добавим себя как объект в группу Admin, используя синтаксис 'user.*', где * (звездочка) - имя вашего аккаунта.&lt;br /&gt;
&lt;br /&gt;
[[Image:admin_acl.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Теперь откроем файл '''mtaserver.conf''' и прокрутим колесиком мышки в самый низ файла. Убедитесь, что в нем находится строчка, указанная на рисунке ниже. Так же проверьте, добавлен ли ресурс Admin в директорию ресурсов.&lt;br /&gt;
&lt;br /&gt;
[[Image:admin_mtaserver.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Все готово для того проверить ваш админ-статус на сервере. Подключитесь к вашему серверу, войдите в свой аккаунт, используя команду /login [имя_пользователя] &amp;lt;пароль&amp;gt; (вводить без [] и &amp;lt;&amp;gt;). Если вы увидели надпись в чат-боксе о том, что нажатием кнопки 'P' можно открыть вашу админ панель, (&amp;quot;Press 'p' to open your admin panel&amp;quot;), значит вы все сделали верно! Если нет, попробуйте пройти по всем шагам этого учебника еще раз.&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ProcessLineOfSight&amp;diff=19877</id>
		<title>ProcessLineOfSight</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ProcessLineOfSight&amp;diff=19877"/>
		<updated>2009-06-12T19:21:21Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function checks if there is anything between 2 points in the world, and if there is, tells you where and what.  The two positions '''must''' be within the local player's draw distance as the collision data is not loaded outside this area.&lt;br /&gt;
&lt;br /&gt;
This function is useful for checking for collisions and for editor-style scripts. If you wish to get an element that's positioned at a particular point on the screen, use this function combined with [[getWorldFromScreenPosition]].&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 float float float element processLineOfSight ( float startX, float startY, float startZ, float endX, float endY, float endZ, [ bool checkBuildings = true, bool checkVehicles = true, bool checkPlayers = true, bool checkObjects = true, bool checkDummies = true, bool seeThroughStuff = false, bool ignoreSomeObjectsForCamera = false, bool shootThroughStuff = false, element ignoredElement = nil ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''startX:''' The start ''x'' position&lt;br /&gt;
*'''startY:''' The start ''y'' position&lt;br /&gt;
*'''startZ:''' The start ''z'' position&lt;br /&gt;
*'''endX:''' The end ''x'' position&lt;br /&gt;
*'''endY:''' The end ''y'' position&lt;br /&gt;
*'''endZ:''' The end ''z'' position&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''checkBuildings:''' Allow the line of sight to be blocked by GTA's internally placed buildings, i.e. the world map.&lt;br /&gt;
*'''checkVehicles:''' Allow the line of sight to be blocked by [[Vehicle|vehicles]].&lt;br /&gt;
*'''checkPlayers:''' Allow the line of sight to be blocked by [[Player|players]].&lt;br /&gt;
*'''checkObjects:''' Allow the line of sight to be blocked by [[Object|objects]].&lt;br /&gt;
*'''checkDummies:''' Allow the line of sight to be blocked by GTA's internal dummies.  These are not used in the current MTA version so this argument can be set to ''false''.&lt;br /&gt;
*'''seeThroughStuff:''' Allow the line of sight to be blocked by translucent game objects, e.g. glass.&lt;br /&gt;
*'''ignoreSomeObjectsForCamera:''' Allow the line of sight to be blocked by certain objects.&lt;br /&gt;
*'''shootThroughStuff:''' Allow the line of sight to be blocked by things that can be shot through&lt;br /&gt;
*'''ignoredElement:''' Allow the line of sight to pass through a certain specified element. &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If there is a collision, the function will return ''true'', the collision position and MTA element hit. If no element is hit, the element return value will be ''nil''. If there is no collision the function will return ''false''.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example shows how you can tell what position and element the camera is looking at, up to 50 units away.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local w, h = guiGetScreenSize ()&lt;br /&gt;
local tx, ty, tz = getWorldFromScreenPosition ( w/2, h/2, 50 )&lt;br /&gt;
local px, py, pz = getCameraMatrix()&lt;br /&gt;
hit, x, y, z, elementHit = processLineOfSight ( px, py, pz, tx, ty, tz )&lt;br /&gt;
if hit then&lt;br /&gt;
    outputChatBox ( &amp;quot;Looking at &amp;quot; .. x .. &amp;quot;, &amp;quot; .. y .. &amp;quot;, &amp;quot; ..  z )&lt;br /&gt;
    if elementHit then&lt;br /&gt;
        outputChatBox ( &amp;quot;Hit element &amp;quot; .. getElementType(elementHit) )&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;
{{Client world functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ProcessLineOfSight&amp;diff=19876</id>
		<title>ProcessLineOfSight</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ProcessLineOfSight&amp;diff=19876"/>
		<updated>2009-06-12T19:21:09Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function checks if there is anything between 2 points in the world, and if there is, tells you where and what.  The two positions '''must''' be within the local player's draw distance as the collision data is not loaded outside this area.&lt;br /&gt;
&lt;br /&gt;
This function is useful for checking for collisions and for editor-style scripts. If you wish to get an element that's positioned at a particular point on the screen, use this function combined with [[getWorldFromScreenPosition]].&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 float float float element processLineOfSight ( float startX, float startY, float startZ, float endX, float endY, float endZ, [ bool checkBuildings = true, bool checkVehicles = true, bool checkPlayers = true, bool checkObjects = true, bool checkDummies = true, bool seeThroughStuff = false, bool ignoreSomeObjectsForCamera = false, bool shootThroughStuff = false, element ignoredElement = nil ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''startX:''' The start ''x'' position&lt;br /&gt;
*'''startY:''' The start ''y'' position&lt;br /&gt;
*'''startZ:''' The start ''z'' position&lt;br /&gt;
*'''endX:''' The end ''x'' position&lt;br /&gt;
*'''endY:''' The end ''y'' position&lt;br /&gt;
*'''endZ:''' The end ''z'' position&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''checkBuildings:''' Allow the line of sight to be blocked by GTA's internally placed buildings, i.e. the world map.&lt;br /&gt;
*'''checkVehicles:''' Allow the line of sight to be blocked by [[Vehicle|vehicles]].&lt;br /&gt;
*'''checkPlayers:''' Allow the line of sight to be blocked by [[Player|players]].&lt;br /&gt;
*'''checkObjects:''' Allow the line of sight to be blocked by [[Object|objects]].&lt;br /&gt;
*'''checkDummies:''' Allow the line of sight to be blocked by GTA's internal dummies.  These are not used in the current MTA version so this argument can be set to ''false''.&lt;br /&gt;
*'''seeThroughStuff:''' Allow the line of sight to be blocked by translucent game objects, e.g. glass.&lt;br /&gt;
*'''ignoreSomeObjectsForCamera:''' Allow the line of sight to be blocked by certain objects.&lt;br /&gt;
*'''shootThroughStuff:''' Allow the line of sight to be blocked by things that can be shot through&lt;br /&gt;
*'''ignoredElement:''' Allow the line of sight to pass through a certain specified element. &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If there is a collision, the function will return ''true'', the collision position and MTA element hit. If no element is hit, the element return value will be ''nil''. If there is no collision the function will return ''false''.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example shows how you can tell what position and element the camera is looking at, up to 50 units away.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local w, h = guiGetScreenSize ()&lt;br /&gt;
local tx, ty, tz = getWorldFromScreenPosition ( w/2, h/2, 50 )&lt;br /&gt;
local px, py, pz = [http://http://development.mtasa.com/index.php?title=GetCameraMatrix getCameraMatrix()]&lt;br /&gt;
hit, x, y, z, elementHit = processLineOfSight ( px, py, pz, tx, ty, tz )&lt;br /&gt;
if hit then&lt;br /&gt;
    outputChatBox ( &amp;quot;Looking at &amp;quot; .. x .. &amp;quot;, &amp;quot; .. y .. &amp;quot;, &amp;quot; ..  z )&lt;br /&gt;
    if elementHit then&lt;br /&gt;
        outputChatBox ( &amp;quot;Hit element &amp;quot; .. getElementType(elementHit) )&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;
{{Client world functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ProcessLineOfSight&amp;diff=19875</id>
		<title>ProcessLineOfSight</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ProcessLineOfSight&amp;diff=19875"/>
		<updated>2009-06-12T19:19:42Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function checks if there is anything between 2 points in the world, and if there is, tells you where and what.  The two positions '''must''' be within the local player's draw distance as the collision data is not loaded outside this area.&lt;br /&gt;
&lt;br /&gt;
This function is useful for checking for collisions and for editor-style scripts. If you wish to get an element that's positioned at a particular point on the screen, use this function combined with [[getWorldFromScreenPosition]].&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 float float float element processLineOfSight ( float startX, float startY, float startZ, float endX, float endY, float endZ, [ bool checkBuildings = true, bool checkVehicles = true, bool checkPlayers = true, bool checkObjects = true, bool checkDummies = true, bool seeThroughStuff = false, bool ignoreSomeObjectsForCamera = false, bool shootThroughStuff = false, element ignoredElement = nil ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''startX:''' The start ''x'' position&lt;br /&gt;
*'''startY:''' The start ''y'' position&lt;br /&gt;
*'''startZ:''' The start ''z'' position&lt;br /&gt;
*'''endX:''' The end ''x'' position&lt;br /&gt;
*'''endY:''' The end ''y'' position&lt;br /&gt;
*'''endZ:''' The end ''z'' position&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''checkBuildings:''' Allow the line of sight to be blocked by GTA's internally placed buildings, i.e. the world map.&lt;br /&gt;
*'''checkVehicles:''' Allow the line of sight to be blocked by [[Vehicle|vehicles]].&lt;br /&gt;
*'''checkPlayers:''' Allow the line of sight to be blocked by [[Player|players]].&lt;br /&gt;
*'''checkObjects:''' Allow the line of sight to be blocked by [[Object|objects]].&lt;br /&gt;
*'''checkDummies:''' Allow the line of sight to be blocked by GTA's internal dummies.  These are not used in the current MTA version so this argument can be set to ''false''.&lt;br /&gt;
*'''seeThroughStuff:''' Allow the line of sight to be blocked by translucent game objects, e.g. glass.&lt;br /&gt;
*'''ignoreSomeObjectsForCamera:''' Allow the line of sight to be blocked by certain objects.&lt;br /&gt;
*'''shootThroughStuff:''' Allow the line of sight to be blocked by things that can be shot through&lt;br /&gt;
*'''ignoredElement:''' Allow the line of sight to pass through a certain specified element. &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If there is a collision, the function will return ''true'', the collision position and MTA element hit. If no element is hit, the element return value will be ''nil''. If there is no collision the function will return ''false''.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example shows how you can tell what position and element the camera is looking at, up to 50 units away.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local w, h = guiGetScreenSize ()&lt;br /&gt;
local tx, ty, tz = getWorldFromScreenPosition ( w/2, h/2, 50 )&lt;br /&gt;
local px, py, pz = getCameraMatrix()&lt;br /&gt;
hit, x, y, z, elementHit = processLineOfSight ( px, py, pz, tx, ty, tz )&lt;br /&gt;
if hit then&lt;br /&gt;
    outputChatBox ( &amp;quot;Looking at &amp;quot; .. x .. &amp;quot;, &amp;quot; .. y .. &amp;quot;, &amp;quot; ..  z )&lt;br /&gt;
    if elementHit then&lt;br /&gt;
        outputChatBox ( &amp;quot;Hit element &amp;quot; .. getElementType(elementHit) )&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;
{{Client world functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Interior_IDs&amp;diff=19699</id>
		<title>Interior IDs</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Interior_IDs&amp;diff=19699"/>
		<updated>2009-05-21T15:51:18Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;San Andreas Interior ID list.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 0:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Normal world''' || &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 1:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Ammu-nation 1''' || 289.7870 || -35.7190 || 1003.5160&lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Cafe shop (Catalina?)''' || 681.65 || -452.86 || -25.62&lt;br /&gt;
|-&lt;br /&gt;
| '''Restaurant 1''' || 446.6941 || -9.7977 || 1000.7340&lt;br /&gt;
|-&lt;br /&gt;
| '''Caligulas Casino''' || 2235.2524 || 1708.5146 || 1010.6129&lt;br /&gt;
|-&lt;br /&gt;
| '''Denise's Place''' || 244.0892 || 304.8456 || 999.1484&lt;br /&gt;
|-&lt;br /&gt;
| '''Shamal cabin''' || 1.6127 || 34.7411 || 1199.0&lt;br /&gt;
|-&lt;br /&gt;
| '''Liberty City''' || -750.80 || 491.00 || 1371.70&lt;br /&gt;
|-&lt;br /&gt;
| '''Sweet's House''' || 2525.0420 || -1679.1150 || 1015.4990&lt;br /&gt;
|-&lt;br /&gt;
| '''Transfender''' || 621.7850 || -12.5417 || 1000.9220&lt;br /&gt;
|-&lt;br /&gt;
| '''Safe House 4''' || 2216.5400 || -1076.2900 || 1050.4840&lt;br /&gt;
|-&lt;br /&gt;
| '''Trials Stadium''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Warehouse 1''' || 1405.3120 || -8.2928 || 1000.9130&lt;br /&gt;
|-&lt;br /&gt;
| '''Doherty Garage''' || -2042.42 || 178.59 || 28.84 ||  	  	   &lt;br /&gt;
|-&lt;br /&gt;
| '''Sindacco Abatoir''' || 963.6078 || 2108.3970 || 1011.0300&lt;br /&gt;
|-&lt;br /&gt;
| '''Sub Urban''' || 203.8173 || -46.5385 || 1001.8050&lt;br /&gt;
|-&lt;br /&gt;
| '''Wu Zi Mu's Betting place''' || -2159.9260 || 641.4587 || 1052.3820&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 2:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Ryder's House''' || 2464.2110 || -1697.9520 || 1013.5080&lt;br /&gt;
|-&lt;br /&gt;
| '''Angel Pine Trailer''' || 0.3440 || -0.5140 || 1000.5490¨&lt;br /&gt;
|-&lt;br /&gt;
| '''The Pig Pen''' || 1213.4330 ||-6.6830 || 1000.9220&lt;br /&gt;
|-&lt;br /&gt;
| '''BDups Crack Palace''' || 1523.7510 || -46.0458 || 1002.1310&lt;br /&gt;
|-&lt;br /&gt;
| '''Big Smoke's Crack Palace''' || 2543.6610 || -1303.9320 || 1025.0700&lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 2''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 9''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 10''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Katie's Place''' || 267.2290 || 304.7100 || 999.1480&lt;br /&gt;
|-&lt;br /&gt;
| '''Loco Low Co.''' || 612.5910 || -75.6370 || 997.9920&lt;br /&gt;
|-&lt;br /&gt;
| '''Reece's Barbershop''' || 612.5910 || -75.6370 || 997.9920&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 3:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Jizzy's Pleasure Domes''' || -2636.7190 || 1402.9170 || 906.4609&lt;br /&gt;
|-&lt;br /&gt;
| '''Brothel''' || 940.6520 || -18.4860 || 1000.9300&lt;br /&gt;
|-&lt;br /&gt;
| '''Brothel 2''' || 967.5334 || -53.0245 || 1001.1250&lt;br /&gt;
|-&lt;br /&gt;
| '''BDups Apartment''' || 1527.38 || -11.02 || 1002.10 &lt;br /&gt;
|-&lt;br /&gt;
| '''Bike School''' || 1494.3350 || 1305.6510 || 1093.2890&lt;br /&gt;
|-&lt;br /&gt;
| '''Big Spread Ranch''' || 1210.2570 || -29.2986 || 1000.8790&lt;br /&gt;
|-&lt;br /&gt;
| '''LV Tattoo Parlour''' || -204.4390 || -43.6520 || 1002.2990&lt;br /&gt;
|-&lt;br /&gt;
| '''LVPD HQ''' || 289.7703 || 171.7460 || 1007.1790&lt;br /&gt;
|-&lt;br /&gt;
| '''OG Loc's House''' || 516.8890 || -18.4120 || 1001.5650&lt;br /&gt;
|-&lt;br /&gt;
| '''Pro-Laps''' || 207.3560 || -138.0029 || 1003.3130&lt;br /&gt;
|-&lt;br /&gt;
| '''Las Venturas Planning Dep.''' || 374.6708 || 173.8050 || 1008.3893&lt;br /&gt;
|-&lt;br /&gt;
| '''Record Label Hallway''' || 1038.2190 || 6.9905 || 1001.2840&lt;br /&gt;
|-&lt;br /&gt;
| '''Driving School''' || -2027.9200 || -105.1830 || 1035.1720&lt;br /&gt;
|-&lt;br /&gt;
| '''Johnson House''' || 2496.0500 || -1693.9260 || 1014.7420&lt;br /&gt;
|-&lt;br /&gt;
| '''Budget Inn Motel Room''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 1''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Gay Gordo's Barbershop''' || 418.6530 || -82.6390 || 1001.8050&lt;br /&gt;
|-&lt;br /&gt;
| '''Helena's Place''' || 292.4459 || 308.7790 || 999.1484&lt;br /&gt;
|-&lt;br /&gt;
| '''Inside Track Betting''' || 826.8863 || 5.5091 || 1004.4830&lt;br /&gt;
|-&lt;br /&gt;
| '''Sex Shop''' || -106.7268 || -19.6444 || 1000.7190&lt;br /&gt;
|-&lt;br /&gt;
| '''Wheel Arch Angels''' || 614.3889 || -124.0991 || 997.9950&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 4:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''24/7 shop 1''' || -27.3769 || -27.6416 || 1003.5570&lt;br /&gt;
|-&lt;br /&gt;
| '''Ammu-Nation 2''' || 285.8000 || -84.5470 || 1001.5390&lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 12''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 13''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 15''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Diner 2''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Dirtbike Stadium''' || -1435.8690 || -662.2505 || 1052.4650&lt;br /&gt;
|-&lt;br /&gt;
| '''Michelle's Place''' || 302.6404 || 304.8048 || 999.1484&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 5:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Madd Dogg's Mansion''' || 1272.9116 || -768.9028 || 1090.5097&lt;br /&gt;
|-&lt;br /&gt;
| '''Well Stacked Pizza Co.''' || 377.7758 || -126.2766 || 1001.4920&lt;br /&gt;
|-&lt;br /&gt;
| '''Victim''' || 221.3310 || -6.6169 || 1005.1977&lt;br /&gt;
|-&lt;br /&gt;
| '''Burning Desire House''' || 2351.1540 || -1180.5770 || 1027.9770&lt;br /&gt;
|-&lt;br /&gt;
| '''Barbara's Place''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 11''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 16''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 17''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''The Crack Den''' || 322.1117 || 1119.3270 || 1083.8830&lt;br /&gt;
|-&lt;br /&gt;
| '''Police Station (Barbara's)''' || 322.72 || 306.43 || 999.15&lt;br /&gt;
|-&lt;br /&gt;
| '''Diner place''' || 448.7435 || -110.0457 || 1000.0772&lt;br /&gt;
|-&lt;br /&gt;
| '''Ganton Gym''' || 768.0793 || 5.8606 || 1000.7160&lt;br /&gt;
|-&lt;br /&gt;
| '''Vank Hoff Hotel ''' || 2232.8210 || -1110.0180 || 1050.8830&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 6:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Ammu-Nation 3''' || 297.4460 || -109.9680 || 1001.5160&lt;br /&gt;
|-&lt;br /&gt;
| '''Ammu-Nation 4''' || 317.2380 || -168.0520 || 999.5930&lt;br /&gt;
|-&lt;br /&gt;
| '''LSPD HQ ''' || 246.4510 || 65.5860 ||1003.6410&lt;br /&gt;
|-&lt;br /&gt;
| '''Safe House 3''' || 2333.0330 || -1073.9600 || 1049.0230&lt;br /&gt;
|-&lt;br /&gt;
| '''Safe House 5''' || 2194.2910 || -1204.0150 || 1049.0230&lt;br /&gt;
|-&lt;br /&gt;
| '''Safe House 6''' || 2308.8710 || -1210.7170 || 1049.0230&lt;br /&gt;
|-&lt;br /&gt;
| '''Cobra Marital Arts Gym''' || 774.0870 ||-47.9830 || 1000.5860&lt;br /&gt;
|-&lt;br /&gt;
| '''24/7 shop 2''' || -26.7180 || -55.9860 || 1003.5470&lt;br /&gt;
|-&lt;br /&gt;
| '''Millie's Bedroom''' || 344.5200 || 304.8210 || 999.1480&lt;br /&gt;
|-&lt;br /&gt;
| '''Fanny Batter's Brothel''' || 744.2710 || 1437.2530 || 1102.7030&lt;br /&gt;
|-&lt;br /&gt;
| '''Restaurant 2''' || 443.9810 || -65.2190 || 1050.0000&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 7:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Ammu-Nation 5 (2 Floors)''' || 315.3850 || -142.2420 || 999.6010&lt;br /&gt;
|-&lt;br /&gt;
| '''8-Track Stadium''' || -1417.8720 || -276.4260 || 1051.1910&lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 4''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Below the Belt Gym''' || 774.2430 || -76.0090 || 1000.6540&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 8:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Safe house 2''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Colonel Fuhrberger's House''' || 2807.8990 || -1172.9210 || 1025.5700&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 9:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Onbekend safe house''' || 2253.1740 || -1139.0100 || 1050.6330&lt;br /&gt;
|-&lt;br /&gt;
| '''Andromada Cargo hold''' || 315.48 || 984.13 || 1959.11&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 10:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Four Dragons Casino''' || 2009.4140 || 1017.8990 || 994.4680&lt;br /&gt;
|-&lt;br /&gt;
| '''RC Zero's Battlefield''' || -975.5766 || 1061.1312 || 1345.6719&lt;br /&gt;
|-&lt;br /&gt;
| '''Burger Shot''' || 366.4220 ||-73.4700 || 1001.5080&lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 14''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Janitor room''' || 1891.3960 ||1018.1260 || 31.8820&lt;br /&gt;
|-&lt;br /&gt;
| '''Safe House 1''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Hashbury safe house''' || 2264.5231 || -1210.5229 || 1049.0234&lt;br /&gt;
|-&lt;br /&gt;
| '''24/7 shop 3''' || 6.0780 || -28.6330 || 1003.5490&lt;br /&gt;
|-&lt;br /&gt;
| '''Abandoned AC Tower''' || 419.6140 || 2536.6030 || 10.0000&lt;br /&gt;
|-&lt;br /&gt;
| '''SFPD HQ''' || 246.4410 || 112.1640 || 1003.2190&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 11:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''The Four Dragons Office''' || 2011.6030 || 1017.0230 || 39.0910&lt;br /&gt;
|-&lt;br /&gt;
| '''Los Santos safe house''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Ten Green Bottles Bar''' || 502.3310 || -70.6820 || 998.7570&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 12:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Budget Inn Motel Room''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''The Casino''' || 1132.9450 || -8.6750 || 1000.6800&lt;br /&gt;
|-&lt;br /&gt;
| '''Macisla's Barbershop''' || 411.6410 || -51.8460 || 1001.8980&lt;br /&gt;
|-&lt;br /&gt;
| '''Safe house 7''' || 2237.2970 || -1077.9250 || 1049.0230&lt;br /&gt;
|-&lt;br /&gt;
| '''Modern safe house''' || 2324.4990 || -1147.0710 || 1050.7100&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 13:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|'''LS Atrium''' || 1724.33 || -1625.784 || 20.211&lt;br /&gt;
|-&lt;br /&gt;
|'''CJ's Garage''' || -2043.966 || 172.932 || 28.835&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 14:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Kickstart Stadium''' || -1464.5360 || 1557.6900 || 1052.5310&lt;br /&gt;
|-&lt;br /&gt;
| '''Didier Sachs''' || 204.1789 || -165.8740 || 1000.5230&lt;br /&gt;
|-&lt;br /&gt;
| '''Francis Int. Airport (Front ext.)''' || -1827.1473 || 7.2074 || 1061.1435&lt;br /&gt;
|-&lt;br /&gt;
| '''Francis Int. Airport (Baggage Claim/Ticket Sales)''' || -1855.5687 || 41.2631 || 1061.1435&lt;br /&gt;
|-&lt;br /&gt;
| '''Wardrobe''' || 255.7190 || -41.1370 || 1002.0230&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 15:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Binco''' || 207.5430 || -109.0040 || 1005.1330&lt;br /&gt;
|-&lt;br /&gt;
| '''Blood Bowl Stadium''' || -1394.20 || 987.62 || 1023.96&lt;br /&gt;
|-&lt;br /&gt;
| '''Jefferson Motel''' || 2217.6250 || -1150.6580 || 1025.7970&lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 5''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 6''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 7''' || &lt;br /&gt;
|-&lt;br /&gt;
| '''Burglary House 8''' || &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 16:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''24/7 shop 4''' || -25.3730 || -139.6540 || 1003.5470&lt;br /&gt;
|-&lt;br /&gt;
| '''LS Tattoo Parlour''' || -204.5580 || -25.6970 || 1002.2730&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 17:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''24/7 shop 5''' || -25.3930 || -185.9110 || 1003.5470&lt;br /&gt;
|-&lt;br /&gt;
| '''Club''' || 493.4687 || -23.0080 || 1000.6796&lt;br /&gt;
|-&lt;br /&gt;
| '''Rusty Brown's - Ring Donuts''' || 377.0030 || -192.5070 || 1000.6330&lt;br /&gt;
|-&lt;br /&gt;
| '''The Sherman's Dam Generator Hall''' || -942.1320 || 1849.1420 || 5.0050&lt;br /&gt;
|-&lt;br /&gt;
| '''Hemlock Tattoo''' || 377.0030 || -192.5070 || 1000.6330&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''ID 18:'''&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Lil Probe Inn''' || -227.0280 || 1401.2290 || 27.7690&lt;br /&gt;
|-&lt;br /&gt;
| '''24/7 shop 6''' || -30.9460 || -89.6090 || 1003.5490&lt;br /&gt;
|-&lt;br /&gt;
| '''Atrium''' || 1726.1370 || -1645.2300 || 20.2260&lt;br /&gt;
|-&lt;br /&gt;
| '''Warehouse 2''' || 1296.6310 || 0.5920 || 1001.0230&lt;br /&gt;
|-&lt;br /&gt;
| '''Zip''' || 161.4620 || -91.3940 || 1001.8050&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==See Also==&lt;br /&gt;
[[id|ID Lists]]&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientMouseEnter&amp;diff=19471</id>
		<title>OnClientMouseEnter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientMouseEnter&amp;diff=19471"/>
		<updated>2009-05-10T13:48:18Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is fired when the user moves the mouse over a GUI element.&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int absoluteX, int absoluteY&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
* '''absoluteX''':  the X position of the mouse cursor, in pixels, measured from the left side of the screen.&lt;br /&gt;
* '''absoluteY''':  the Y position of the mouse cursor, in pixels, measured from the top of the screen.&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the GUI element that was pointed at.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example shows a message when you move over a GUI element.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler( &amp;quot;onClientMouseEnter&amp;quot;, getRootElement(), &lt;br /&gt;
    function(aX, aY)&lt;br /&gt;
        outputChatBox( &amp;quot;You're pointing at a GUI element at (&amp;quot;..tostring(aX)..&amp;quot;, &amp;quot;..tostring(aY)..&amp;quot;)&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===GUI events===&lt;br /&gt;
{{GUI_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RemoveAccount&amp;diff=19455</id>
		<title>RemoveAccount</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RemoveAccount&amp;diff=19455"/>
		<updated>2009-05-06T14:46:30Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function is used to delete existing player accounts.&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 removeAccount ( account theAccount )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theAccount:''' The account you wish to remove&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if account was successfully removed, ''false'' if the account does not exist.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
This example does...&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 onCmdRemove(playerSource,commandName,playerName)&lt;br /&gt;
	-- Lets make sure they didn't put nothing for the playername&lt;br /&gt;
	if playerName ~= nil then&lt;br /&gt;
		-- Lets get the player from the nick provided&lt;br /&gt;
		local targetPlayer = getPlayerFromNick(playerName)&lt;br /&gt;
		-- Checking if the player actually exists&lt;br /&gt;
		if targetPlayer ~= nil then&lt;br /&gt;
			-- grab the accounts&lt;br /&gt;
			local sourceAccount = getClientAccount(playerSource)&lt;br /&gt;
			local targetAccount = getClientAccount(targetPlayer)&lt;br /&gt;
			-- Now check to see if the player has greater priviledges (or levels)&lt;br /&gt;
			if getAccountLevel(sourceAccount) &amp;gt; getAccountLevel(targetAccount) then&lt;br /&gt;
				removeAccount(targetAccount)&lt;br /&gt;
				outputChatBox(getClientName(playerSource)..&amp;quot; removed &amp;quot;..playerName..&amp;quot;'s account&amp;quot;)&lt;br /&gt;
			else outputChatBox(&amp;quot;You don't have authority to remove &amp;quot;..playerName..&amp;quot;'s account&amp;quot;,playerSource) end&lt;br /&gt;
		else outputChatBox(&amp;quot;There is no player by the name of &amp;quot;..playerName,playerSource) end&lt;br /&gt;
	else outputChatBox(&amp;quot;USAGE: /remove [playername]&amp;quot;,playerSource) end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;remove&amp;quot;,onCmdRemove)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&amp;lt;!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc --&amp;gt;&lt;br /&gt;
{{Account_functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedAnimation&amp;diff=19409</id>
		<title>SetPedAnimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedAnimation&amp;diff=19409"/>
		<updated>2009-05-04T13:57:00Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Sets the current animation of a player or ped.  Not specifying the type of animation will automatically cancel the current one.&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 setPedAnimation ( ped thePed, [string block=nil, string name=nil, int time=-1,bool loop=true, bool updatePosition=true, bool interruptible=true] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped you want to apply an animation to.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''block:''' the [[Animations|animation]] block's name.&lt;br /&gt;
*'''anim:''' the name of the [[Animations|animation]] within the block.&lt;br /&gt;
*'''time:''' the duration for the animation.  Defaults to -1, which is the default time.&lt;br /&gt;
*'''loop:''' indicates whether or not the animation will loop.&lt;br /&gt;
*'''updatePosition:''' will change the actual coordinates of the ped according to the animation. Use this for e.g. walking animations.&lt;br /&gt;
*'''interuptable:''' Defines whether the animation can be interrupted by normal movements&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succesful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
This example creates a ped, rotates them, and makes them walk:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function makePed ( )&lt;br /&gt;
   ped1 = createPed ( 56, 1, 1, 4 )&lt;br /&gt;
   setPedRotation( ped1, 315 )&lt;br /&gt;
   setPedAnimation( ped1, &amp;quot;ped&amp;quot;, &amp;quot;WOMAN_walknorm&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onResourceStart&amp;quot;, getRootElement(), makePed )&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;
{{Ped_functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientMouseEnter&amp;diff=18870</id>
		<title>OnClientMouseEnter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientMouseEnter&amp;diff=18870"/>
		<updated>2009-04-04T10:15:04Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is fired when the user moves the mouse over a GUI element.&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int absoluteX, int absoluteY&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
* '''absoluteX''':  the X position of the mouse cursor, in pixels, measured from the left side of the screen.&lt;br /&gt;
* '''absoluteY''':  the Y position of the mouse cursor, in pixels, measured from the top of the screen.&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the GUI element that was pointed at.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example shows a message when you move over a GUI element.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientMouseEnter&amp;quot;, getRootElement(), function(aX, aY)&lt;br /&gt;
    outputChatBox(&amp;quot;You're pointing at a GUI element at (&amp;quot; .. tostring(aX) .. ', ' .. tostring(aY) .. ')')&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===GUI events===&lt;br /&gt;
{{GUI_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CountPlayersInTeam&amp;diff=17772</id>
		<title>CountPlayersInTeam</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CountPlayersInTeam&amp;diff=17772"/>
		<updated>2008-10-25T17:38:15Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function is for returning the number of players in the specified team.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int countPlayersInTeam ( team theTeam )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''theTeam:''' The team you wish to retrieve the player count of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an integer containing the number of players in the team, ''false'' if it could not be retrieved.&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;&amp;gt; &lt;br /&gt;
This example adds a command in the console to find out how many players are on your team.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputTeamSize ( source, commandName )&lt;br /&gt;
	-- Get player's team&lt;br /&gt;
	local theTeam = getPlayerTeam ( source )&lt;br /&gt;
	-- If the player is in any team&lt;br /&gt;
	if theTeam then&lt;br /&gt;
		-- Tell the player how big his team is&lt;br /&gt;
		outputChatBox ( &amp;quot;Your team has &amp;quot; .. countPlayersInTeam ( theTeam ) .. &amp;quot; players.&amp;quot;, source )&lt;br /&gt;
	else&lt;br /&gt;
		outputChatBox ( &amp;quot;You're not in a team.&amp;quot;, source )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;teamsize&amp;quot;, outputTeamSize )&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;Example 2&amp;quot; class=&amp;quot;client&amp;quot;&amp;gt; &lt;br /&gt;
This example adds a command in the console to find out how many players are on your team, clientside&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputTeamSize ( commandName )&lt;br /&gt;
	-- Get player's team&lt;br /&gt;
	local theTeam = getPlayerTeam ( getLocalPlayer() )&lt;br /&gt;
	-- If the player is in any team&lt;br /&gt;
	if team then&lt;br /&gt;
		-- Tell the player how big his team is&lt;br /&gt;
		outputChatBox ( &amp;quot;Your team has &amp;quot; .. countPlayersInTeam ( theTeam ) .. &amp;quot; players.&amp;quot; )&lt;br /&gt;
	else&lt;br /&gt;
		outputChatBox ( &amp;quot;You're not in a team.&amp;quot; )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;teamsize&amp;quot;, outputTeamSize )&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;Example 3&amp;quot; class=&amp;quot;server&amp;quot;&amp;gt; &lt;br /&gt;
This example balances a gamemode, to ensure equal number of players between the &amp;quot;grove&amp;quot; and &amp;quot;ballas&amp;quot; teams.  This could be triggered when a player joins the server, or for all players currently in the server when the gamemode starts.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function balanceTeams ( thePlayer )&lt;br /&gt;
	--get the team pointers from their names&lt;br /&gt;
	local groveTeam = getTeamFromName ( &amp;quot;grove&amp;quot; )&lt;br /&gt;
	local ballasTeam = getTeamFromName ( &amp;quot;ballas&amp;quot; )&lt;br /&gt;
	--count the number of players in each team, and store them&lt;br /&gt;
	local groveCount = countPlayersInTeam ( groveTeam )&lt;br /&gt;
	local ballasCount = countPlayersInTeam ( ballasTeam )&lt;br /&gt;
	if groveCount == ballasCount then --if the teams are equal&lt;br /&gt;
		setPlayerTeam ( thePlayer , groveTeam ) --place the player in grove&lt;br /&gt;
	elseif groveCount &amp;gt; ballasCount then --if there are more in grove&lt;br /&gt;
		setPlayerTeam ( thePlayer , ballasTeam ) --place him in ballas&lt;br /&gt;
	elseif groveCount &amp;lt; ballasCount then --if there are more in ballas&lt;br /&gt;
		setPlayerTeam ( thePlayer , groveTeam ) --place him in grove.&lt;br /&gt;
	end&lt;br /&gt;
end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Team functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedHeadless&amp;diff=17757</id>
		<title>SetPedHeadless</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedHeadless&amp;diff=17757"/>
		<updated>2008-10-16T18:28:41Z</updated>

		<summary type="html">&lt;p&gt;DakiLLa: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
With this function, you can set if a ped has a head or not.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setPedHeadless  ( ped thePed )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed''': The [[ped]] to check.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Ped functions}}&lt;/div&gt;</summary>
		<author><name>DakiLLa</name></author>
	</entry>
</feed>