<?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=TalidanOld</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=TalidanOld"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/TalidanOld"/>
	<updated>2026-04-22T12:32:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Id&amp;diff=13140</id>
		<title>Id</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Id&amp;diff=13140"/>
		<updated>2007-11-18T03:40:08Z</updated>

		<summary type="html">&lt;p&gt;TalidanOld: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Note: this page needs to link functions they apply to'''&lt;br /&gt;
&lt;br /&gt;
ID stands for identification. It is a whole-number integer that refers to many mechanics of San Andreas.&lt;br /&gt;
----&lt;br /&gt;
Game elements using IDs:&lt;br /&gt;
''Note: does not include small ID lists related to specific functions or IDs created by MTA''&lt;br /&gt;
*[[Character Skins]]&lt;br /&gt;
*Clothing Styles&lt;br /&gt;
*[[Template:Projectiles|Projectiles]]&lt;br /&gt;
*[[Template:Blip_Icons|Radar Blips]]&lt;br /&gt;
*[[Template:Sounds|Sounds]]&lt;br /&gt;
*[[Vehicle_IDs]]&lt;br /&gt;
* [[Template:Vehicle_colors|Vehicle Colors]]&lt;br /&gt;
*Vehicle Upgrades&lt;br /&gt;
*[[Weapons|Weapons]]&lt;br /&gt;
*[http://vces.net/info/WeatherIDs.html Weather] '''brophy needs to use 1-19 only''' ''Note: blended weather allows for many more undocumented effects''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{IDs}}&lt;br /&gt;
&lt;br /&gt;
'''Credit for information contained in the pages:'''&lt;br /&gt;
Ransom (initial creation, formatting, and all lists not credited to others) eAi (vehicle colors list) erorr404/Talidan/Brophy (sound list) Talidan (radar blip pictures/vehicle list) Hellfish (skin pictures [http://www.gtaforums.com/index.php?showtopic=205220 SOURCE]) Brophy/Ratt/Panther/Twig (lots of inital ID data) GTAForums (Allowing Ransom to find IDs for lists)&lt;/div&gt;</summary>
		<author><name>TalidanOld</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateColCircle&amp;diff=13139</id>
		<title>CreateColCircle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateColCircle&amp;diff=13139"/>
		<updated>2007-11-18T03:31:37Z</updated>

		<summary type="html">&lt;p&gt;TalidanOld: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Needs_Checking|According to definition, z does not need defining. Rewrite the syntax?}} &lt;br /&gt;
&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function creates a collision circle. This is a shape that has a position and a radius and infinite height that you can use to detect a player's presence. Events will be triggered when a player enters or leaves it.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
colshape createColCircle ( float fX, float fY, float fZ, float radius )             &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''fX:''' The collision circle's center point's X axis position&lt;br /&gt;
*'''fY:''' The collision circle's center point's Y axis position&lt;br /&gt;
*'''fZ:''' The collision circle's center point's Z axis position&lt;br /&gt;
*'''radius''' The radius of the collision circle&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[colshape]] element if successful, ''false'' if invalid arguments were passed to the function.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example displays a chat message when a player enters the colshape and allows the colshape to be created using a console function ''set_zone''.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
theZone = false&lt;br /&gt;
&lt;br /&gt;
function shapeHit ( thePlayer ) &lt;br /&gt;
    outputChatBox ( getClientName ( thePlayer ) .. &amp;quot; is in the zone!&amp;quot; ) -- display a message in everyone's chat box&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function setZone ( playerSource, commandName, fX, fY, fZ )&lt;br /&gt;
    if ( fZ and fY and fX ) then -- check we've got all 3 args we need&lt;br /&gt;
        local tempCol = createColCircle ( fX, fY, fZ, 10.0 ) -- create a col&lt;br /&gt;
        if ( tempCol == false ) then -- did the col get created successfully?&lt;br /&gt;
            outputConsole ( &amp;quot;Syntax is: set_zone &amp;lt;X&amp;gt; &amp;lt;Y&amp;gt; &amp;lt;Z&amp;gt;&amp;quot; ) -- inform the user what the valid syntax is&lt;br /&gt;
        else&lt;br /&gt;
            if ( theZone ~= false ) then -- did we already have a zone?&lt;br /&gt;
                destroyElement ( theZone ) -- if so, destroy it&lt;br /&gt;
            else&lt;br /&gt;
                   addEventHandler ( &amp;quot;onColShapeHit&amp;quot;, theZone, shapeHit ) -- add a handler for the onColShapeHit event&lt;br /&gt;
            end&lt;br /&gt;
            theZone = tempCol -- and store the new zone we've made&lt;br /&gt;
            outputChatBox ( &amp;quot;Zone has moved!&amp;quot; ) -- and tell everyone&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;set_zone&amp;quot;, setZone ) -- add a console function called set_zone that will trigger the function setZone&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;
{{Collision shape functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>TalidanOld</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsLineOfSightClear&amp;diff=13138</id>
		<title>IsLineOfSightClear</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsLineOfSightClear&amp;diff=13138"/>
		<updated>2007-11-18T03:30:59Z</updated>

		<summary type="html">&lt;p&gt;TalidanOld: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function checks if there are obstacles between two points of the game world, optionally ignoring certain kinds of elements.&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 isLineOfSightClear ( float startX, float startY, float startZ, float endX, float endY, float endZ, [ bool checkBuildings, bool checkVehicles, bool checkPeds, bool checkObjects, bool checkDummies, bool seeThroughStuff, bool ignoreSomeObjectsForCamera, element ignoredElement ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''startX:''' The first point's world X coordinate.&lt;br /&gt;
*'''startY:''' The first point's world Y coordinate.&lt;br /&gt;
*'''startZ:''' The first point's world Z coordinate.&lt;br /&gt;
*'''endX:''' The second point's world X coordinate.&lt;br /&gt;
*'''endY:''' The second point's world X coordinate.&lt;br /&gt;
*'''endZ:''' The second point's world X coordinate.&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;
*'''checkPeds:''' Allow the line of sight to be blocked by peds, i.e. [[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 certain entities.&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;
Returns ''true'' if the line between the specified points is clear, ''false'' if there's an obstacle or if invalid parameters are passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This page does not have an example&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--add an example here&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client world functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>TalidanOld</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CallRemote&amp;diff=13137</id>
		<title>CallRemote</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CallRemote&amp;diff=13137"/>
		<updated>2007-11-18T02:24:40Z</updated>

		<summary type="html">&lt;p&gt;TalidanOld: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server function}}&lt;br /&gt;
This function allows you to call functions that have been exported with HTTP access by other MTA servers. The calls are asynchronous so you do not get an immediate result from the call. You can also use this function to access any standard web page by specifying the URL.&lt;br /&gt;
&lt;br /&gt;
Data is passed to the web page via HTTP POST as ''raw'' [[JSON]] data. The page should return JSON formated data in the page's body.&lt;br /&gt;
&lt;br /&gt;
Note: You can read raw HTTP POST data from PHP using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[php]&lt;br /&gt;
file_get_contents('php://input')&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
There are various libraries available for parsing JSON data into PHP variables and vice-versa.&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 callRemote ( string host, string resourceName, string functionName, function callback, [ arguments... ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
'''OR'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool callRemote ( string URL, function callback, [ arguments... ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''host:''' This is a host name (and optionally port) of the server you wish to connect to.&lt;br /&gt;
*'''resourceName:''' This is a name of the resource that contains the exported function you want to call.&lt;br /&gt;
*'''functionName:''' This is a string with the name of the function which you want to call.&lt;br /&gt;
*'''URL:''' A full URL in the format ''&amp;lt;nowiki&amp;gt;http://hostname/path/file.ext&amp;lt;/nowiki&amp;gt;''. A port can be specified with a colon followed by a port number appended to the hostname.&lt;br /&gt;
*'''callback:''' This is the function that should receive the data returned from the remote function call. The argument list should match the format of the data returned.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''arguments:''' Any arguments you may want to pass to the function when it is called. Any number of arguments of can be specified, each being passed to the designated function.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the function has been called, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Example needed!&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Resource_functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>TalidanOld</name></author>
	</entry>
</feed>