<?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=Erorr404</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=Erorr404"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Erorr404"/>
	<updated>2026-04-04T05:36:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:DxFonts&amp;diff=21439</id>
		<title>Template:DxFonts</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:DxFonts&amp;diff=21439"/>
		<updated>2009-09-06T02:24:27Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;** '''&amp;quot;default&amp;quot;:'''  Tahoma&lt;br /&gt;
** '''&amp;quot;default-bold&amp;quot;:''' Tahoma Bold&lt;br /&gt;
** '''&amp;quot;clear&amp;quot;:''' Verdana&lt;br /&gt;
** '''&amp;quot;arial&amp;quot;:''' Arial&lt;br /&gt;
** '''&amp;quot;sans&amp;quot;:''' Microsoft Sans Serif&lt;br /&gt;
** '''&amp;quot;pricedown&amp;quot;:''' Pricedown (GTA's theme text)&lt;br /&gt;
** '''&amp;quot;bankgothic&amp;quot;:''' Bank Gothic Medium&lt;br /&gt;
** '''&amp;quot;diploma&amp;quot;:''' Diploma Regular&lt;br /&gt;
** '''&amp;quot;beckett&amp;quot;:''' Beckett Regular&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Server_Scripting_Functions&amp;diff=21267</id>
		<title>Server Scripting Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Server_Scripting_Functions&amp;diff=21267"/>
		<updated>2009-08-27T04:03:40Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: Removed empty 'Client functions' category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
This page lists all the '''server-side''' scripting functions that have been implemented and are available as native functions from the Deathmatch mod. To request a function or event, use [[Requested Functions and Events]].&lt;br /&gt;
&lt;br /&gt;
Please note that the scripting functions can now be extended by loading in dynamic modules that provide new functionality, such as MySQL database access. These scripting functions are non-native and require the module to be loaded in order to work.&lt;br /&gt;
&lt;br /&gt;
Head over to [[Modules]] for a list of non-native serverside functions and modules that are available.&lt;br /&gt;
&lt;br /&gt;
For more functions, check the [[Useful_Functions|useful functions page]].&lt;br /&gt;
&lt;br /&gt;
'''Client-side scripting functions can be found here: [[Client Scripting Functions]].'''&lt;br /&gt;
&lt;br /&gt;
==Account functions==&lt;br /&gt;
{{Account_functions}}&lt;br /&gt;
&lt;br /&gt;
==ACL functions==&lt;br /&gt;
{{ACL_functions}}&lt;br /&gt;
&lt;br /&gt;
==Admin functions==&lt;br /&gt;
{{Admin_functions}}&lt;br /&gt;
&lt;br /&gt;
==Audio functions==&lt;br /&gt;
{{Audio_functions}}&lt;br /&gt;
&lt;br /&gt;
==Announcement functions==&lt;br /&gt;
{{Announce_functions}}&lt;br /&gt;
&lt;br /&gt;
==Blip functions==&lt;br /&gt;
{{Blip_functions}}&lt;br /&gt;
&lt;br /&gt;
==Camera functions==&lt;br /&gt;
{{Camera functions}}&lt;br /&gt;
&lt;br /&gt;
==Collision shape functions==&lt;br /&gt;
{{Collision shape functions}}&lt;br /&gt;
&lt;br /&gt;
==Clothes and body functions==&lt;br /&gt;
{{Clothes and body functions}}&lt;br /&gt;
&lt;br /&gt;
==Cursor functions==&lt;br /&gt;
{{Cursor_functions}}&lt;br /&gt;
&lt;br /&gt;
==Element functions==&lt;br /&gt;
{{Element functions}}&lt;br /&gt;
&lt;br /&gt;
==Event functions==&lt;br /&gt;
{{Event_functions}}&lt;br /&gt;
&lt;br /&gt;
==Explosion functions==&lt;br /&gt;
{{Explosion_functions}}&lt;br /&gt;
&lt;br /&gt;
==File functions==&lt;br /&gt;
{{File_functions}}&lt;br /&gt;
&lt;br /&gt;
==HTTP functions==&lt;br /&gt;
{{HTTP_functions}}&lt;br /&gt;
&lt;br /&gt;
==Input functions==&lt;br /&gt;
{{Input_functions}}&lt;br /&gt;
&lt;br /&gt;
==Map functions==&lt;br /&gt;
{{Map_functions}}&lt;br /&gt;
&lt;br /&gt;
==Marker functions==&lt;br /&gt;
{{Marker functions}}&lt;br /&gt;
&lt;br /&gt;
==Module functions==&lt;br /&gt;
{{Module functions}}&lt;br /&gt;
&lt;br /&gt;
==Object functions==&lt;br /&gt;
{{Object functions}}&lt;br /&gt;
&lt;br /&gt;
==Ped functions==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
&lt;br /&gt;
==Pickup functions==&lt;br /&gt;
{{Pickup functions}}&lt;br /&gt;
&lt;br /&gt;
==Player functions==&lt;br /&gt;
{{Player functions}}&lt;br /&gt;
&lt;br /&gt;
==Radar area functions==&lt;br /&gt;
{{Radar area functions}}&lt;br /&gt;
&lt;br /&gt;
==Resource functions==&lt;br /&gt;
{{Resource functions}}&lt;br /&gt;
&lt;br /&gt;
==Serial functions==&lt;br /&gt;
{{Serial functions}}&lt;br /&gt;
&lt;br /&gt;
==Server functions==&lt;br /&gt;
{{Server functions}}&lt;br /&gt;
&lt;br /&gt;
==Settings registry functions==&lt;br /&gt;
{{Settings registry functions}}&lt;br /&gt;
&lt;br /&gt;
==SQL functions==&lt;br /&gt;
{{SQL_functions}}&lt;br /&gt;
&lt;br /&gt;
==Team functions==&lt;br /&gt;
{{Team functions}}&lt;br /&gt;
&lt;br /&gt;
==Text functions==&lt;br /&gt;
{{Text functions}}&lt;br /&gt;
&lt;br /&gt;
==Utility functions==&lt;br /&gt;
{{Utility functions}}&lt;br /&gt;
&lt;br /&gt;
==Vehicle functions==&lt;br /&gt;
{{Vehicle functions}}&lt;br /&gt;
&lt;br /&gt;
==Water functions==&lt;br /&gt;
{{Water functions}}&lt;br /&gt;
&lt;br /&gt;
==Weapon functions==&lt;br /&gt;
{{Weapon functions}}&lt;br /&gt;
&lt;br /&gt;
==World functions==&lt;br /&gt;
{{World functions}}&lt;br /&gt;
&lt;br /&gt;
==XML functions==&lt;br /&gt;
{{XML functions}}&lt;br /&gt;
&lt;br /&gt;
[[ru:Server Scripting Functions]]&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_from_Race&amp;diff=21239</id>
		<title>Switching from Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_from_Race&amp;diff=21239"/>
		<updated>2009-08-25T10:17:05Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods have become obsolete!&lt;br /&gt;
&lt;br /&gt;
The latest version of MTA:SA features a fully customizable Race mode that includes all of the features of the older MTA:SA Race mods, and many more.&lt;br /&gt;
&lt;br /&gt;
Rather than having a separate mod, Race now exists as a [[resources|resource]] in MTA:SA 1.0 that utilizes MTA's powerful game scripting system. What this means is that Race is now fully editable and customizable, allowing any features imaginable to be added and any existing feature to be altered. The latest version of the Race resource is well-polished and includes ''all of the features'' that MTA:SA Race fans are used to. For this reason, MTA:SA 1.0 (along with the Race resource) can be considered as a superset of the older versions of MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
While there are no disadvantages to switching to MTA:SA 1.0, there are numerous advantages. Here are just some of the improvements the new Race mode has to offer:&lt;br /&gt;
&lt;br /&gt;
===Guaranteed support===&lt;br /&gt;
Since the Race mode in MTA:SA 1.0 is a resource, it will never become obsolete! Resources can be developed by any member of the community, allowing endless updates and fixes to be made. New releases of MTA:SA will only expand upon the current scripting functionality, guaranteeing compatibility with all the current features.&lt;br /&gt;
&lt;br /&gt;
===Improved vehicle sync===&lt;br /&gt;
No more jerky cars! Other players' vehicles now move as smoothly as you would expect them to, preventing unexpected collisions caused by vehicle jerkiness. There is also an option to disable vehicle collisions so that players can race without having to worry about bumping into one another.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=s5fOgPcbP8c Click here to view a video of a race in MTA:SA 1.0.]&lt;br /&gt;
&lt;br /&gt;
===Better server===&lt;br /&gt;
MTA:SA 1.0's server is optimized to use less bandwidth and achieve higher performance than the old MTA:SA Race server, while offering improved stability. The server now supports up to 128 players, up from 32 players in MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
===Add-ons system===&lt;br /&gt;
[[Image:Sfr_custom_carmodel.png|thumb|Custom vehicle and object models in Race.]]&lt;br /&gt;
The powerful scripting system in MTA:SA 1.0 and the design of the Race mode allow add-ons and other mods to be included in the game. Race's add-ons system let's developers create new features for Race that can easily be added or removed by server admins. Some of the current add-ons include a Need For Speed style NOS feature and a map ratings system. There is also a speedometer resource that adds a stylish new on-screen speedometer.&lt;br /&gt;
&lt;br /&gt;
===Custom models===&lt;br /&gt;
MTA now fully supports vehicle, as well as object modifications through it's resource system. This means that players download the models the server is using automatically, without having to install anything themselves. Custom object models allow for unique tracks and environments for players to race in, while custom vehicles ensure everyone sees the vehicles the server is using.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=ZpDsZ-hfG9A Click here to view a video of custom models in MTA.]&lt;br /&gt;
&lt;br /&gt;
===Map editor===&lt;br /&gt;
The [[Resource:Editor| new map editor]] allows you to create race maps with ease, while offering many new and advanced features not present in the old race editor.&lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
[[Image:Sfr_race_specgui.png|thumb|Race's new GUI and spectator system.]]&lt;br /&gt;
Although *.map files now have a different syntax, it's easy to convert all your old MTA:SA Race maps for full compatibility with MTA:SA 1.0. You can download our official batch converter [http://files.mtasa.com/apps/1.0/raceconv.zip here].&lt;br /&gt;
&lt;br /&gt;
===Enhancements===&lt;br /&gt;
Here are some of the cool new things you might notice when trying out the Race mode in MTA:SA 1.0:&lt;br /&gt;
* A sleek graphical user interface, new voting system, and custom sounds&lt;br /&gt;
* On-screen arrows that indicate the location of other racers&lt;br /&gt;
* An improved vehicle respawn system; players can now decide when and where they want to start over&lt;br /&gt;
* A new 'Race Wars' mode that allows racing in teams&lt;br /&gt;
* Nauseating new maps where players can drive up-side down and on the walls, courtesy of the new gravity options&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21238</id>
		<title>Switching From Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21238"/>
		<updated>2009-08-25T10:12:25Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_from_Race&amp;diff=21237</id>
		<title>Switching from Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_from_Race&amp;diff=21237"/>
		<updated>2009-08-25T10:11:57Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: changed 'From' to 'from' in page title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the upcoming release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods will become obsolete!&lt;br /&gt;
&lt;br /&gt;
The latest version of MTA:SA features a fully customizable Race mode that includes all of the features of the older MTA:SA Race mods, and many more.&lt;br /&gt;
&lt;br /&gt;
Rather than having a separate mod, Race now exists as a [[resources|resource]] in MTA:SA 1.0 that utilizes MTA's powerful game scripting system. What this means is that Race is now fully editable and customizable, allowing any features imaginable to be added and any existing feature to be altered. The latest version of the Race resource is well-polished and includes ''all of the features'' that MTA:SA Race fans are used to. For this reason, MTA:SA 1.0 (along with the Race resource) can be considered as a superset of the older versions of MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
While there are no disadvantages to switching to MTA:SA 1.0, there are numerous advantages. Here are just some of the improvements the new Race mode has to offer:&lt;br /&gt;
&lt;br /&gt;
===Guaranteed support===&lt;br /&gt;
Since the Race mode in MTA:SA 1.0 is a resource, it will never become obsolete! Resources can be developed by any member of the community, allowing endless updates and fixes to be made. New releases of MTA:SA will only expand upon the current scripting functionality, guaranteeing compatibility with all the current features.&lt;br /&gt;
&lt;br /&gt;
===Improved vehicle sync===&lt;br /&gt;
No more jerky cars! Other players' vehicles now move as smoothly as you would expect them to, preventing unexpected collisions caused by vehicle jerkiness. There is also an option to disable vehicle collisions so that players can race without having to worry about bumping into one another.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=s5fOgPcbP8c Click here to view a video of a race in MTA:SA 1.0.]&lt;br /&gt;
&lt;br /&gt;
===Better server===&lt;br /&gt;
MTA:SA 1.0's server is optimized to use less bandwidth and achieve higher performance than the old MTA:SA Race server, while offering improved stability. The server now supports up to 128 players, up from 32 players in MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
===Add-ons system===&lt;br /&gt;
[[Image:Sfr_custom_carmodel.png|thumb|Custom vehicle and object models in Race.]]&lt;br /&gt;
The powerful scripting system in MTA:SA 1.0 and the design of the Race mode allow add-ons and other mods to be included in the game. Race's add-ons system let's developers create new features for Race that can easily be added or removed by server admins. Some of the current add-ons include a Need For Speed style NOS feature and a map ratings system. There is also a speedometer resource that adds a stylish new on-screen speedometer.&lt;br /&gt;
&lt;br /&gt;
===Custom models===&lt;br /&gt;
MTA now fully supports vehicle, as well as object modifications through it's resource system. This means that players download the models the server is using automatically, without having to install anything themselves. Custom object models allow for unique tracks and environments for players to race in, while custom vehicles ensure everyone sees the vehicles the server is using.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=ZpDsZ-hfG9A Click here to view a video of custom models in MTA.]&lt;br /&gt;
&lt;br /&gt;
===Map editor===&lt;br /&gt;
The [[Resource:Editor| new map editor]] allows you to create race maps with ease, while offering many new and advanced features not present in the old race editor.&lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
[[Image:Sfr_race_specgui.png|thumb|Race's new GUI and spectator system.]]&lt;br /&gt;
Although *.map files now have a different syntax, it's easy to convert all your old MTA:SA Race maps for full compatibility with MTA:SA 1.0. You can download our official batch converter [http://files.mtasa.com/apps/1.0/raceconv.zip here].&lt;br /&gt;
&lt;br /&gt;
===Enhancements===&lt;br /&gt;
Here are some of the cool new things you might notice when trying out the Race mode in MTA:SA 1.0:&lt;br /&gt;
* A sleek graphical user interface, new voting system, and custom sounds&lt;br /&gt;
* On-screen arrows that indicate the location of other racers&lt;br /&gt;
* An improved vehicle respawn system; players can now decide when and where they want to start over&lt;br /&gt;
* A new 'Race Wars' mode that allows racing in teams&lt;br /&gt;
* Nauseating new maps where players can drive up-side down and on the walls, courtesy of the new gravity options&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21236</id>
		<title>Switching From Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21236"/>
		<updated>2009-08-25T10:08:46Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the upcoming release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods will become obsolete!&lt;br /&gt;
&lt;br /&gt;
The latest version of MTA:SA features a fully customizable Race mode that includes all of the features of the older MTA:SA Race mods, and many more.&lt;br /&gt;
&lt;br /&gt;
Rather than having a separate mod, Race now exists as a [[resources|resource]] in MTA:SA 1.0 that utilizes MTA's powerful game scripting system. What this means is that Race is now fully editable and customizable, allowing any features imaginable to be added and any existing feature to be altered. The latest version of the Race resource is well-polished and includes ''all of the features'' that MTA:SA Race fans are used to. For this reason, MTA:SA 1.0 (along with the Race resource) can be considered as a superset of the older versions of MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
While there are no disadvantages to switching to MTA:SA 1.0, there are numerous advantages. Here are just some of the improvements the new Race mode has to offer:&lt;br /&gt;
&lt;br /&gt;
===Guaranteed support===&lt;br /&gt;
Since the Race mode in MTA:SA 1.0 is a resource, it will never become obsolete! Resources can be developed by any member of the community, allowing endless updates and fixes to be made. New releases of MTA:SA will only expand upon the current scripting functionality, guaranteeing compatibility with all the current features.&lt;br /&gt;
&lt;br /&gt;
===Improved vehicle sync===&lt;br /&gt;
No more jerky cars! Other players' vehicles now move as smoothly as you would expect them to, preventing unexpected collisions caused by vehicle jerkiness. There is also an option to disable vehicle collisions so that players can race without having to worry about bumping into one another.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=s5fOgPcbP8c Click here to view a video of a race in MTA:SA 1.0.]&lt;br /&gt;
&lt;br /&gt;
===Better server===&lt;br /&gt;
MTA:SA 1.0's server is optimized to use less bandwidth and achieve higher performance than the old MTA:SA Race server, while offering improved stability. The server now supports up to 128 players, up from 32 players in MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
===Add-ons system===&lt;br /&gt;
[[Image:Sfr_custom_carmodel.png|thumb|Custom vehicle and object models in Race.]]&lt;br /&gt;
The powerful scripting system in MTA:SA 1.0 and the design of the Race mode allow add-ons and other mods to be included in the game. Race's add-ons system let's developers create new features for Race that can easily be added or removed by server admins. Some of the current add-ons include a Need For Speed style NOS feature and a map ratings system. There is also a speedometer resource that adds a stylish new on-screen speedometer.&lt;br /&gt;
&lt;br /&gt;
===Custom models===&lt;br /&gt;
MTA now fully supports vehicle, as well as object modifications through it's resource system. This means that players download the models the server is using automatically, without having to install anything themselves. Custom object models allow for unique tracks and environments for players to race in, while custom vehicles ensure everyone sees the vehicles the server is using.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=ZpDsZ-hfG9A Click here to view a video of custom models in MTA.]&lt;br /&gt;
&lt;br /&gt;
===Map editor===&lt;br /&gt;
The [[Resource:Editor| new map editor]] allows you to create race maps with ease, while offering many new and advanced features not present in the old race editor.&lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
[[Image:Sfr_race_specgui.png|thumb|Race's new GUI and spectator system.]]&lt;br /&gt;
Although *.map files now have a different syntax, it's easy to convert all your old MTA:SA Race maps for full compatibility with MTA:SA 1.0. You can download our official batch converter [http://files.mtasa.com/apps/1.0/raceconv.zip here].&lt;br /&gt;
&lt;br /&gt;
===Enhancements===&lt;br /&gt;
Here are some of the cool new things you might notice when trying out the Race mode in MTA:SA 1.0:&lt;br /&gt;
* A sleek graphical user interface, new voting system, and custom sounds&lt;br /&gt;
* On-screen arrows that indicate the location of other racers&lt;br /&gt;
* An improved vehicle respawn system; players can now decide when and where they want to start over&lt;br /&gt;
* A new 'Race Wars' mode that allows racing in teams&lt;br /&gt;
* Nauseating new maps where players can drive up-side down and on the walls, courtesy of the new gravity options&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21235</id>
		<title>Switching From Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21235"/>
		<updated>2009-08-25T10:01:55Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the upcoming release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods will become obsolete!&lt;br /&gt;
&lt;br /&gt;
The latest version of MTA:SA features a fully customizable Race mode that includes all of the features of the older MTA:SA Race mods, and many more.&lt;br /&gt;
&lt;br /&gt;
Rather than having a separate mod, Race now exists as a [[resources|resource]] in MTA:SA 1.0 that utilizes MTA's powerful game scripting system. What this means is that Race is now fully editable and customizable, allowing any features imaginable to be added and any existing feature to be altered. The latest version of the Race resource is well-polished and includes ''all of the features'' that MTA:SA Race fans are used to. For this reason, MTA:SA 1.0 (along with the Race resource) can be considered as a superset of the older versions of MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
While there are no disadvantages to switching to MTA:SA 1.0, there are numerous advantages. Here are just some of the improvements the new Race mode has to offer:&lt;br /&gt;
&lt;br /&gt;
===Custom models===&lt;br /&gt;
[[Image:Sfr_custom_carmodel.png|thumb|Custom vehicle and object models in Race.]]&lt;br /&gt;
MTA now fully supports vehicle, as well as object modifications through it's resource system. This means that players download the models the server is using automatically, without having to install anything themselves. Custom object models allow for unique tracks and environments for players to race in, while custom vehicles ensure everyone sees the vehicles the server is using.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=ZpDsZ-hfG9A Click here to view a video of custom models in MTA.]&lt;br /&gt;
&lt;br /&gt;
===Guaranteed support===&lt;br /&gt;
Since the Race mode in MTA:SA 1.0 is a resource, it will never become obsolete! Resources can be developed by any member of the community, allowing endless updates and fixes to be made. New releases of MTA:SA will only expand upon the current scripting functionality, guaranteeing compatibility with all the current features.&lt;br /&gt;
&lt;br /&gt;
===Better server===&lt;br /&gt;
MTA:SA 1.0's server is optimized to use less bandwidth and achieve higher performance than the old MTA:SA Race server, while offering improved stability. The server now supports up to 128 players, up from 32 players in MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
===Improved vehicle sync===&lt;br /&gt;
No more jerky cars! Other players' vehicles now move as smoothly as you would expect them to, preventing unexpected collisions caused by vehicle jerkiness. There is also an option to disable vehicle collisions so that players can race without having to worry about bumping into one another.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=s5fOgPcbP8c Click here to view a video of a race in MTA:SA 1.0.]&lt;br /&gt;
&lt;br /&gt;
===Add-ons system===&lt;br /&gt;
[[Image:Sfr_wipeout_speedometer.png|thumb|A stylish new speedometer.]]&lt;br /&gt;
The powerful scripting system in MTA:SA 1.0 and the design of the Race mode allow add-ons and other mods to be included in the game. Race's add-ons system let's developers create new features for Race that can easily be added or removed by server admins. Some of the current add-ons include a Need For Speed style NOS feature and a map ratings system. There is also a speedometer resource that adds a stylish new on-screen speedometer.&lt;br /&gt;
&lt;br /&gt;
===Map editor===&lt;br /&gt;
The [[Resource:Editor| new map editor]] allows you to create race maps with ease, while offering many new and advanced features not present in the old race editor.&lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
Although *.map files now have a different syntax, it's easy to convert all your old MTA:SA Race maps for full compatibility with MTA:SA 1.0. You can download our official batch converter [http://files.mtasa.com/apps/1.0/raceconv.zip here].&lt;br /&gt;
&lt;br /&gt;
===Enhancements===&lt;br /&gt;
[[Image:Sfr_race_specgui.png|thumb|Race's new GUI and spectator system.]]&lt;br /&gt;
Here are some of the cool new things you might notice when trying out the Race mode in MTA:SA 1.0:&lt;br /&gt;
* A sleek graphical user interface, new voting system, and custom sounds&lt;br /&gt;
* On-screen arrows that indicate the location of other racers&lt;br /&gt;
* An improved vehicle respawn system; players can now decide when and where they want to start over&lt;br /&gt;
* A new 'Race Wars' mode that allows racing in teams&lt;br /&gt;
* Nauseating new maps where players can drive up-side down and on the walls, courtesy of the new gravity options&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21234</id>
		<title>Switching From Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21234"/>
		<updated>2009-08-25T09:59:25Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the upcoming release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods will become obsolete!&lt;br /&gt;
&lt;br /&gt;
The latest version of MTA:SA features a fully customizable Race mode that includes all of the features of the older MTA:SA Race mods, and many more.&lt;br /&gt;
&lt;br /&gt;
Rather than having a separate mod, Race now exists as a [[resources|resource]] in MTA:SA 1.0 that utilizes MTA's powerful game scripting system. What this means is that Race is now fully editable and customizable, allowing any features imaginable to be added and any existing feature to be altered. The latest version of the Race resource is well-polished and includes ''all of the features'' that MTA:SA Race fans are used to. For this reason, MTA:SA 1.0 (along with the Race resource) can be considered as a superset of the older versions of MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
While there are no disadvantages to switching to MTA:SA 1.0, there are numerous advantages. Here are just some of the improvements the new Race mode has to offer:&lt;br /&gt;
&lt;br /&gt;
===Guaranteed support===&lt;br /&gt;
Since the Race mode in MTA:SA 1.0 is a resource, it will never become obsolete! Resources can be developed by any member of the community, allowing endless updates and fixes to be made. New releases of MTA:SA will only expand upon the current scripting functionality, guaranteeing compatibility with all the current features.&lt;br /&gt;
&lt;br /&gt;
===Better server===&lt;br /&gt;
MTA:SA 1.0's server is optimized to use less bandwidth and achieve higher performance than the old MTA:SA Race server, while offering improved stability. The server now supports up to 128 players, up from 32 players in MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
===Improved vehicle sync===&lt;br /&gt;
No more jerky cars! Other players' vehicles now move as smoothly as you would expect them to, preventing unexpected collisions caused by vehicle jerkiness. There is also an option to disable vehicle collisions so that players can race without having to worry about bumping into one another.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=s5fOgPcbP8c Click here to view a video of a race in MTA:SA 1.0.]&lt;br /&gt;
&lt;br /&gt;
===Add-ons system===&lt;br /&gt;
[[Image:Sfr_wipeout_speedometer.png|thumb|A stylish new speedometer.]]&lt;br /&gt;
The powerful scripting system in MTA:SA 1.0 and the design of the Race mode allow add-ons and other mods to be included in the game. Race's add-ons system let's developers create new features for Race that can easily be added or removed by server admins. Some of the current add-ons include a Need For Speed style NOS feature and a map ratings system. There is also a speedometer resource that adds a stylish new on-screen speedometer.&lt;br /&gt;
&lt;br /&gt;
===Map editor===&lt;br /&gt;
The [[Resource:Editor| new map editor]] allows you to create race maps with ease, while offering many new and advanced features not present in the old race editor.&lt;br /&gt;
&lt;br /&gt;
===Custom models===&lt;br /&gt;
[[Image:Sfr_custom_carmodel.png|thumb|Custom vehicle and object models in Race.]]&lt;br /&gt;
MTA now fully supports vehicle, as well as object modifications through it's resource system. This means that players download the models the server is using automatically, without having to install anything themselves. Custom object models allow for unique tracks and environments for players to race in, while custom vehicles ensure everyone sees the vehicles the server is using.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=ZpDsZ-hfG9A Click here to view a video of custom models in MTA.]&lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
Although *.map files now have a different syntax, it's easy to convert all your old MTA:SA Race maps for full compatibility with MTA:SA 1.0. You can download our official batch converter [http://files.mtasa.com/apps/1.0/raceconv.zip here].&lt;br /&gt;
&lt;br /&gt;
===Enhancements===&lt;br /&gt;
[[Image:Sfr_race_specgui.png|thumb|Race's new GUI and spectator system.]]&lt;br /&gt;
Here are some of the cool new things you might notice when trying out the Race mode in MTA:SA 1.0:&lt;br /&gt;
* A sleek graphical user interface, new voting system, and custom sounds&lt;br /&gt;
* On-screen arrows that indicate the location of other racers&lt;br /&gt;
* An improved vehicle respawn system; players can now decide when and where they want to start over&lt;br /&gt;
* A new 'Race Wars' mode that allows racing in teams&lt;br /&gt;
* Nauseating new maps where players can drive up-side down and on the walls, courtesy of the new gravity options&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Sfr_wipeout_speedometer.png&amp;diff=21233</id>
		<title>File:Sfr wipeout speedometer.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Sfr_wipeout_speedometer.png&amp;diff=21233"/>
		<updated>2009-08-25T09:48:35Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Sfr_race_specgui.png&amp;diff=21232</id>
		<title>File:Sfr race specgui.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Sfr_race_specgui.png&amp;diff=21232"/>
		<updated>2009-08-25T09:47:57Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Sfr_custom_carmodel.png&amp;diff=21231</id>
		<title>File:Sfr custom carmodel.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Sfr_custom_carmodel.png&amp;diff=21231"/>
		<updated>2009-08-25T09:38:07Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21193</id>
		<title>Switching From Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21193"/>
		<updated>2009-08-22T04:28:01Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the upcoming release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods will become obsolete!&lt;br /&gt;
&lt;br /&gt;
The latest version of MTA:SA features a fully customizable Race mode that includes all of the features of the older MTA:SA Race mods, and many more.&lt;br /&gt;
&lt;br /&gt;
Rather than having a separate mod, Race now exists as a [[resources|resource]] in MTA:SA 1.0 that utilizes MTA's powerful game scripting system. What this means is that Race is now fully editable and customizable, allowing any features imaginable to be added and any existing feature to be altered. The latest version of the Race resource is well-polished and includes ''all of the features'' that MTA:SA Race fans are used to. For this reason, MTA:SA 1.0 (along with the Race resource) can be considered as a superset of the older versions of MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
While there are no disadvantages to switching to MTA:SA 1.0, there are numerous advantages. Here are just some of the improvements the new Race mode has to offer:&lt;br /&gt;
&lt;br /&gt;
===Guaranteed support===&lt;br /&gt;
Since the Race mode in MTA:SA 1.0 is a resource, it will never become obsolete! Resources can be developed by any member of the community, allowing endless updates and fixes to be made. New releases of MTA:SA will only expand upon the current scripting functionality, guaranteeing compatibility with all the current features.&lt;br /&gt;
&lt;br /&gt;
===Better server===&lt;br /&gt;
MTA:SA 1.0's server is optimized to use less bandwidth and achieve higher performance than the old MTA:SA Race server, while offering improved stability. The server now supports up to 128 players, up from 32 players in MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
===Improved vehicle sync===&lt;br /&gt;
No more jerky cars! Other players' vehicles now move as smoothly as you would expect them to, preventing unexpected collisions caused by vehicle jerkiness. There is also an option to disable vehicle collisions so that players can race without having to worry about bumping into one another.&lt;br /&gt;
&lt;br /&gt;
''/Vehicle sync video here/''&lt;br /&gt;
&lt;br /&gt;
===Add-ons system===&lt;br /&gt;
The powerful scripting system in MTA:SA 1.0 and the design of the Race mode allow Add-ons to be included in the game. The Add-ons system let's developers create new features for Race that can easily be added or removed by server admins. Some of the current Add-ons include a stylish new on-screen speedometer, a Need For Speed style NOS feature, and a map ratings system.&lt;br /&gt;
&lt;br /&gt;
''/Screenshot of race with speedometer/''&lt;br /&gt;
&lt;br /&gt;
===Map editor===&lt;br /&gt;
The [[Resource:Editor| new map editor]] allows you to create race maps with ease, while offering many new and advanced features not present in the old race editor.&lt;br /&gt;
&lt;br /&gt;
===Custom models===&lt;br /&gt;
MTA now fully supports vehicle, as well as object modifications through it's resource system. This means that players download the models the server is using automatically, without having to install anything themselves. Custom object models allow for unique tracks and environments for players to race in, while custom vehicles ensure everyone sees the vehicles the server is using.&lt;br /&gt;
&lt;br /&gt;
''/Video of Wipeout map/''&lt;br /&gt;
''/Video of custom vehicles/''&lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
Although *.map files now have a different syntax, it's easy to convert all your old MTA:SA Race maps for full compatibility with MTA:SA 1.0. You can download our official batch converter [http://files.mtasa.com/apps/1.0/raceconv.zip here].&lt;br /&gt;
&lt;br /&gt;
===Enhancements===&lt;br /&gt;
Here are some of the cool new things you might notice when trying out the Race mode in MTA:SA 1.0:&lt;br /&gt;
* A sleek graphical user interface, new voting system, and custom sounds&lt;br /&gt;
* On-screen arrows that indicate the location of other racers&lt;br /&gt;
* An improved vehicle respawn system; players can now decide when and where they want to start over&lt;br /&gt;
* A new 'Race Wars' mode that allows racing in teams&lt;br /&gt;
* Nauseating new maps where players can drive up-side down and on the walls, courtesy of the new gravity options&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21192</id>
		<title>Switching From Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21192"/>
		<updated>2009-08-22T04:23:23Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the upcoming release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods will become obsolete!&lt;br /&gt;
&lt;br /&gt;
The latest version of MTA:SA features a fully customizable Race mode that includes all of the features of the older MTA:SA Race mods, and many more.&lt;br /&gt;
&lt;br /&gt;
Rather than having a separate mod, Race now exists as a [[resource]] in MTA:SA 1.0 that utilizes MTA's powerful game scripting system. What this means is that Race is now fully editable and customizable, allowing any features imaginable to be added and any existing feature to be altered. The latest version of the Race resource is well-polished and includes ''all of the features'' that MTA:SA Race fans are used to. For this reason, MTA:SA 1.0 (along with the Race resource) can be considered as a superset of the older versions of MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
While there are no disadvantages to switching to MTA:SA 1.0, there are numerous advantages. Here are just some of the improvements the new Race mode has to offer:&lt;br /&gt;
&lt;br /&gt;
===Guaranteed support===&lt;br /&gt;
Since the Race mode in MTA:SA 1.0 is a resource, it will never become obsolete! Resources can be developed by any member of the community, allowing endless updates and fixes to be made. New releases of MTA:SA will only expand upon the current scripting functionality, guaranteeing compatibility with all the current features.&lt;br /&gt;
&lt;br /&gt;
===Better server===&lt;br /&gt;
MTA:SA 1.0's server is optimized to use less bandwidth and achieve higher performance than the old MTA:SA Race server, while offering improved stability. The server now supports up to 128 players, up from 32 players in MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
===Improved vehicle sync===&lt;br /&gt;
No more jerky cars! Other players' vehicles now move as smoothly as you would expect them to, preventing unexpected collisions caused by vehicle jerkiness. There is also an option to disable vehicle collisions so that players can race without having to worry about bumping into one another.&lt;br /&gt;
&lt;br /&gt;
''/Vehicle sync video here/''&lt;br /&gt;
&lt;br /&gt;
===Add-ons system===&lt;br /&gt;
The powerful scripting system in MTA:SA 1.0 and the design of the Race mode allow Add-ons to be included in the game. The Add-ons system let's developers create new features for Race that can easily be added or removed by server admins. Some of the current Add-ons include a stylish new on-screen speedometer, a Need For Speed style NOS feature, and a map ratings system.&lt;br /&gt;
&lt;br /&gt;
''/Screenshot of race with speedometer/''&lt;br /&gt;
&lt;br /&gt;
===Map editor===&lt;br /&gt;
The [[Resource:Editor| new map editor]] allows you to create race maps with ease, while offering many new and advanced features not present in the old race editor.&lt;br /&gt;
&lt;br /&gt;
===Custom models===&lt;br /&gt;
MTA now fully supports vehicle, as well as object modifications through it's resource system. This means that players download the models the server is using automatically, without having to install anything themselves. Custom object models allow for unique tracks and environments for players to race in, while custom vehicles ensure everyone sees the vehicles the server is using.&lt;br /&gt;
&lt;br /&gt;
''/Video of Wipeout map/''&lt;br /&gt;
''/Video of custom vehicles/''&lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
Although *.map files now have a different syntax, it's easy to convert all your old MTA:SA Race maps for full compatibility with MTA:SA 1.0. You can download our official batch converter [http://files.mtasa.com/apps/1.0/raceconv.zip here].&lt;br /&gt;
&lt;br /&gt;
===Enhancements===&lt;br /&gt;
Here are some of the cool new things you might notice when trying out the Race mode in MTA:SA 1.0:&lt;br /&gt;
* A sleek graphical user interface, new voting system, and custom sounds&lt;br /&gt;
* On-screen arrows that indicate the location of other racers&lt;br /&gt;
* An improved vehicle respawn system; players can now decide when and where they want to start over&lt;br /&gt;
* A new 'Race Wars' mode that allows racing in teams&lt;br /&gt;
* Nauseating new maps where players can drive up-side down and on the walls, courtesy of the new gravity options&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21191</id>
		<title>Switching From Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21191"/>
		<updated>2009-08-22T04:23:09Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the upcoming release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods will become obsolete!&lt;br /&gt;
&lt;br /&gt;
The latest version of MTA:SA features a fully customizable Race mode that includes all of the features of the older MTA:SA Race mods, and many more.&lt;br /&gt;
&lt;br /&gt;
Rather than having a separate mod, Race now exists as a [[resource]] in MTA:SA 1.0 that utilizes MTA's powerful game scripting system. What this means is that Race is now fully editable and customizable, allowing any features imaginable to be added and any existing feature to be altered. The latest version of the Race resource is well-polished and includes ''all of the features'' that MTA:SA Race fans are used to. For this reason, MTA:SA 1.0 (along with the Race resource) can be considered as a superset of the older versions of MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
While there are no disadvantages to switching to MTA:SA 1.0, there are numerous advantages. Here are just some of the improvements the new Race mode has to offer:&lt;br /&gt;
&lt;br /&gt;
===Guaranteed support===&lt;br /&gt;
Since the Race mode in MTA:SA 1.0 is a resource, it will never become obsolete! Resources can be developed by any member of the community, allowing endless updates and fixes to be made. New releases of MTA:SA will only expand upon the current scripting functionality, guaranteeing compatibility with all the current features.&lt;br /&gt;
&lt;br /&gt;
===Better server===&lt;br /&gt;
MTA:SA 1.0's server is optimized to use less bandwidth and achieve higher performance than the old MTA:SA Race server, while offering improved stability. The server now supports up to 128 players, up from 32 players in MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
===Improved vehicle sync===&lt;br /&gt;
No more jerky cars! Other players' vehicles now move as smoothly as you would expect them to, preventing unexpected collisions caused by vehicle jerkiness. There is also an option to disable vehicle collisions so that players can race without having to worry about bumping into one another.&lt;br /&gt;
&lt;br /&gt;
''/Vehicle sync video here/''&lt;br /&gt;
&lt;br /&gt;
===Add-ons system===&lt;br /&gt;
The powerful scripting system in MTA:SA 1.0 and the design of the Race mode allow Add-ons to be included in the game. The Add-ons system let's developers create new features for Race that can easily be added or removed by server admins. Some of the current Add-ons include a stylish new on-screen speedometer, a Need For Speed style NOS feature, and a map ratings system.&lt;br /&gt;
&lt;br /&gt;
''/Screenshot of race with speedometer/''&lt;br /&gt;
&lt;br /&gt;
===Map editor===&lt;br /&gt;
The [[Resource:Editor| new map editor]] allows you to create race maps with ease, while offering many new and advanced features not present in the old race editor.&lt;br /&gt;
&lt;br /&gt;
===Custom models===&lt;br /&gt;
MTA now fully supports vehicle, as well as object modifications through it's resource system. This means that players download the models the server is using automatically, without having to install anything themselves. Custom object models allow for unique tracks and environments for players to race in, while custom vehicles ensure everyone sees the vehicles the server is using.&lt;br /&gt;
&lt;br /&gt;
''/Video of Wipeout map/''&lt;br /&gt;
''/Video of custom vehicles/''&lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
Although *.map files now have a different syntax, it's easy to convert all your old MTA:SA Race maps for full compatibility with MTA:SA 1.0. You can download our official batch converter [http://files.mtasa.com/apps/1.0/raceconv.zip here].&lt;br /&gt;
&lt;br /&gt;
===Enhancements===&lt;br /&gt;
Here are some of the cool new things you might notice when trying out the Race mode in MTA:SA 1.0:&lt;br /&gt;
* A sleek graphical user interface, new voting system, and custom sounds&lt;br /&gt;
* On-screen arrows that indicate the location of other racers&lt;br /&gt;
* An improved vehicle respawn system; players can now decide when and where they want to start over&lt;br /&gt;
* A new 'Race Wars' mode that allows racing in teams&lt;br /&gt;
* Nauseating new maps where players can drive up-side down and on the walls, courtesy of the new gravity options&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Link title]]&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21190</id>
		<title>Switching From Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21190"/>
		<updated>2009-08-22T04:04:34Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the upcoming release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods will become obsolete!&lt;br /&gt;
&lt;br /&gt;
The latest version of MTA:SA features a fully customizable Race mode that includes all of the features of the older MTA:SA Race mods, and many more.&lt;br /&gt;
&lt;br /&gt;
Rather than having a separate mod, Race now exists as a [[resource]] in MTA:SA 1.0 that utilizes MTA's powerful game scripting system. What this means is that Race is now fully editable and customizable, allowing any features imaginable to be added and any existing feature to be altered. The latest version of the Race resource is well-polished and includes ''all of the features'' that MTA:SA Race fans are used to. For this reason, MTA:SA 1.0 (along with the Race resource) can be considered as a superset of the older versions of MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
While there are no disadvantages to switching to MTA:SA 1.0, there are numerous advantages. Here are just some of the improvements the new Race mode has to offer:&lt;br /&gt;
&lt;br /&gt;
===Guaranteed support===&lt;br /&gt;
Since the Race mode in MTA:SA 1.0 is a resource, it will never become obsolete! Resources can be developed by any member of the community, allowing endless updates and fixes to be made. New releases of MTA:SA will only expand upon the current scripting functionality, guaranteeing compatibility with all the current features.&lt;br /&gt;
&lt;br /&gt;
===Better server===&lt;br /&gt;
MTA:SA 1.0's server is optimized to use less bandwidth and achieve higher performance than the MTA:SA Race servers, while offering improved stability. It also supports up to 128 players, up from 32 in MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
===Improved vehicle sync===&lt;br /&gt;
No more jerky cars! Other players' vehicles now move as smoothly as you would expect them to, preventing unexpected collisions caused by vehicle jerkiness. There is also an option to disable vehicle collisions so that players can race without having to worry about bumping into one another.&lt;br /&gt;
&lt;br /&gt;
''/Vehicle sync video here/''&lt;br /&gt;
&lt;br /&gt;
===Add-ons system===&lt;br /&gt;
The powerful scripting system in MTA:SA 1.0 and the design of the Race mode allow Add-ons to be included in the game. The Add-ons system let's developers create new features for Race that can easily be added or removed by server admins. Some of the current Add-ons include a stylish new on-screen speedometer, a Need For Speed style NOS feature, and a map ratings system.&lt;br /&gt;
&lt;br /&gt;
''/Screenshot of race with speedometer/''&lt;br /&gt;
&lt;br /&gt;
===Map editor===&lt;br /&gt;
The new map editor allows you to create race maps with ease, while offering many advanced features not present in MTA's old race editor.&lt;br /&gt;
&lt;br /&gt;
===Custom models===&lt;br /&gt;
MTA now fully supports vehicle, as well as object modifications through it's resource system. This means that players download the models the server is using automatically, without having to install anything themselves. Custom object models allow for unique tracks and environments for players to race in, while custom vehicles ensure everyone uses the server's vehicle models.&lt;br /&gt;
&lt;br /&gt;
''/Video of Wipeout map/''&lt;br /&gt;
''/Video of custom vehicles/''&lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
Although *.map files now use a different syntax, it's easy to convert all your old MTA:SA Race maps for full compatibility with MTA:SA 1.0. You can download our official batch converter [http://files.mtasa.com/apps/1.0/raceconv.zip here].&lt;br /&gt;
&lt;br /&gt;
===Enhancements===&lt;br /&gt;
Here are some of the cool new things you might notice when trying out the Race mode in MTA:SA 1.0:&lt;br /&gt;
* A sleek graphical user interface, new voting system, and custom sounds&lt;br /&gt;
* On-screen arrows that indicate the location of other racers&lt;br /&gt;
* An improved vehicle respawn system - players can now decide when and where they want to start over&lt;br /&gt;
* A new 'Race Wars' mode that allows racing in teams&lt;br /&gt;
* Nauseating new maps where players can drive up-side down and on the walls, courtesy of the new gravity options&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21189</id>
		<title>Switching From Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Switching_From_Race&amp;diff=21189"/>
		<updated>2009-08-22T04:02:21Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: Created page with 'With the upcoming release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods will become obsolete!  The latest version of MTA:SA features a fully customizable Race …'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the upcoming release of Multi Theft Auto: San Andreas 1.0, the older MTA:SA Race mods will become obsolete!&lt;br /&gt;
&lt;br /&gt;
The latest version of MTA:SA features a fully customizable Race mode that includes all of the features of the older MTA:SA Race mods, and many more.&lt;br /&gt;
&lt;br /&gt;
Rather than having a separate mod, Race now exists as a [[resource]] in MTA:SA 1.0 that utilizes MTA's powerful game scripting system. What this means is that Race is now fully editable and customizable, allowing any features imaginable to be added and any existing feature to be altered. The latest version of the Race resource is well-polished and includes ''all of the features'' that MTA:SA Race fans are used to. For this reason, MTA:SA 1.0 (along with the Race resource) can be considered as a superset of the older versions of MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
While there are no disadvantages to switching to MTA:SA 1.0, the advantages include a larger player base, unlimited support, and new features. Here are just some of the advantages the new Race mode has to offer:&lt;br /&gt;
&lt;br /&gt;
===Guaranteed support===&lt;br /&gt;
Since the Race mode in MTA:SA 1.0 is a resource, it will never become obsolete! Resources can be developed by any member of the community, allowing endless updates and fixes to be made. New releases of MTA:SA will only expand upon the current scripting functionality, guaranteeing compatibility with all the current features.&lt;br /&gt;
&lt;br /&gt;
===Better server===&lt;br /&gt;
MTA:SA 1.0's server is optimized to use less bandwidth and achieve higher performance than the MTA:SA Race servers, while offering improved stability. It also supports up to 128 players, up from 32 in MTA:SA Race.&lt;br /&gt;
&lt;br /&gt;
===Improved vehicle sync===&lt;br /&gt;
No more jerky cars! Other players' vehicles now move as smoothly as you would expect them to, preventing unexpected collisions caused by vehicle jerkiness. There is also an option to disable vehicle collisions so that players can race without having to worry about bumping into one another.&lt;br /&gt;
&lt;br /&gt;
''/Vehicle sync video here/''&lt;br /&gt;
&lt;br /&gt;
===Add-ons system===&lt;br /&gt;
The powerful scripting system in MTA:SA 1.0 and the design of the Race mode allow Add-ons to be included in the game. The Add-ons system let's developers create new features for Race that can easily be added or removed by server admins. Some of the current Add-ons include a stylish new on-screen speedometer, a Need For Speed style NOS feature, and a map ratings system.&lt;br /&gt;
&lt;br /&gt;
''/Screenshot of race with speedometer/''&lt;br /&gt;
&lt;br /&gt;
===Map editor===&lt;br /&gt;
The new map editor allows you to create race maps with ease, while offering many advanced features not present in MTA's old race editor.&lt;br /&gt;
&lt;br /&gt;
===Custom models===&lt;br /&gt;
MTA now fully supports vehicle, as well as object modifications through it's resource system. This means that players download the models the server is using automatically, without having to install anything themselves. Custom object models allow for unique tracks and environments for players to race in, while custom vehicles ensure everyone uses the server's vehicle models.&lt;br /&gt;
&lt;br /&gt;
''/Video of Wipeout map/''&lt;br /&gt;
''/Video of custom vehicles/''&lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
Although *.map files now use a different syntax, it's easy to convert all your old MTA:SA Race maps for full compatibility with MTA:SA 1.0. You can download our official batch converter [http://files.mtasa.com/apps/1.0/raceconv.zip here].&lt;br /&gt;
&lt;br /&gt;
===Enhancements===&lt;br /&gt;
Here are some of the cool new things you might notice when trying out the Race mode in MTA:SA 1.0:&lt;br /&gt;
* A sleek graphical user interface, new voting system, and custom sounds&lt;br /&gt;
* On-screen arrows that indicate the location of other racers&lt;br /&gt;
* An improved vehicle respawn system - players can now decide when and where they want to start over&lt;br /&gt;
* A new 'Race Wars' mode that allows racing in teams&lt;br /&gt;
* Nauseating new maps where players can drive up-side down and on the walls, courtesy of the new gravity options&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Event_system&amp;diff=21044</id>
		<title>Talk:Event system</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Event_system&amp;diff=21044"/>
		<updated>2009-08-11T03:58:31Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: Created page with 'Just an observation: it seems that the hidden variables (like source) persist throughout the duration of the associated event handler, including while other functions (that were …'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Just an observation: it seems that the hidden variables (like source) persist throughout the duration of the associated event handler, including while other functions (that were called by the handler function) are being executed. This means that the hidden the variables work quite differently than do function arguments, and there is potential for errors if the user does is not aware of this fact. Perhaps the way these hidden variables work should be explained on the page - their scope and when they exist. --[[User:Erorr404|Erorr404]] 03:58, 11 August 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:OnVehicleDamage&amp;diff=21034</id>
		<title>Talk:OnVehicleDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:OnVehicleDamage&amp;diff=21034"/>
		<updated>2009-08-10T06:18:15Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: Created page with 'Just a note: Sometimes this event is triggered when you repair a vehicle. If your script is increasing the health, you can get around this by setting a flag for a short time afte…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Just a note: Sometimes this event is triggered when you repair a vehicle. If your script is increasing the health, you can get around this by setting a flag for a short time after the vehicle was repaired, and checking for it when your onVehicleDamage handler is called. --[[User:Erorr404|Erorr404]] 06:18, 10 August 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:GetElementVelocity&amp;diff=20950</id>
		<title>Talk:GetElementVelocity</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:GetElementVelocity&amp;diff=20950"/>
		<updated>2009-08-03T00:41:49Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: Created page with 'It would be nice to know what units the velocity is in. It doesn't seem to be m/s or km/s (I think SA's units are meters). --~~~~'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It would be nice to know what units the velocity is in. It doesn't seem to be m/s or km/s (I think SA's units are meters). --[[User:Erorr404|Erorr404]] 00:41, 3 August 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:AddResourceMap&amp;diff=20917</id>
		<title>Talk:AddResourceMap</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:AddResourceMap&amp;diff=20917"/>
		<updated>2009-07-30T03:51:33Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: Created page with 'Do map files have to end in .map? --~~~~'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Do map files have to end in .map? --[[User:Erorr404|Erorr404]] 03:51, 30 July 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AddResourceMap&amp;diff=20916</id>
		<title>AddResourceMap</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AddResourceMap&amp;diff=20916"/>
		<updated>2009-07-30T03:51:12Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function adds a new empty mapfile to an existing resource.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode addResourceMap ( string filePath, [ int dimension = 0 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''filePath:''' the path of the resource map file in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the map file will be in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, if you want to create a map file named 'manycars.map' in the resource 'cdm', it can be created from another resource this way: ''addResourceMap(&amp;quot;:cdm/manycars.map&amp;quot;)''.&lt;br /&gt;
:If you want to create the map file in the current resource, only the file path is necessary, e.g. ''addResourceMap(&amp;quot;manycars.map&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''dimension:''' the [[dimension]] in which the map's objects will be placed.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the new map's root [[xmlnode]] if the map was added successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Resource_functions}}&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AddResourceConfig&amp;diff=20915</id>
		<title>AddResourceConfig</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AddResourceConfig&amp;diff=20915"/>
		<updated>2009-07-30T03:47:45Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function adds a new empty config file to an existing resource.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode addResourceConfig ( string filePath, [ string filetype = &amp;quot;server&amp;quot; ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''filePath:''' the path of the file that is to be created in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, if you want to create a config named 'settings.xml' in the resource 'ctf', it can be created from another resource this way: ''addResourceConfig(&amp;quot;:ctf/settings.xml&amp;quot;, &amp;quot;server&amp;quot;)''.&lt;br /&gt;
:If you want to create the file in the current resource, only the file path is necessary, e.g. ''addResourceConfig(&amp;quot;settings.xml&amp;quot;, &amp;quot;server&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''filetype:''' a string indicating whether the file is serverside (&amp;quot;server&amp;quot;) or clientside (&amp;quot;client&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the new config's root [[xmlnode]] if the config was added successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Resource_functions}}&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=FileOpen&amp;diff=20914</id>
		<title>FileOpen</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=FileOpen&amp;diff=20914"/>
		<updated>2009-07-30T03:45:21Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
&lt;br /&gt;
Opens an existing file for reading and writing.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The file functions should not be used to implement configuration files. It is encouraged to use the XML functions for this instead.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
file fileOpen ( string filePath [, bool readOnly = false ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''filePath:''' the path of the file in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, if there is a file named 'coolObjects.txt' in the resource 'objectSearch', it can be opened from another resource this way: ''fileOpen(&amp;quot;:objectSearch/coolObjects.txt&amp;quot;)''.&lt;br /&gt;
:If the file is in the current resource, only the file path is necessary, e.g. ''fileOpen(&amp;quot;coolObjects.txt&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''readOnly:''' By default, the file is opened with reading and writing access. You can specify ''true'' for this parameter if you only need reading access.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If successful, returns a file handle for the file. Otherwise returns ''false'' (f.e. if the file doesn't exist).&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example opens the file test.txt that is in the root of the current resource, and outputs its contents to the console.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local hFile = fileOpen(&amp;quot;test.txt&amp;quot;, true)       -- attempt to open the file (read only)&lt;br /&gt;
if hFile then                                  -- check if it was successfully opened&lt;br /&gt;
    local buffer&lt;br /&gt;
    while not fileIsEOF(hFile) do              -- as long as we're not at the end of the file...&lt;br /&gt;
        buffer = fileRead(hFile, 500)          -- ... read the next 500 bytes...&lt;br /&gt;
        outputConsole(buffer)                  -- ... and output them to the console&lt;br /&gt;
    end&lt;br /&gt;
    fileClose(hFile)                           -- close the file once we're done with it&lt;br /&gt;
else&lt;br /&gt;
    outputConsole(&amp;quot;Unable to open test.txt&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that you can't simply do ''buffer = fileRead(&amp;quot;test.txt&amp;quot;, 500)''. Instead, file functions operate on a '''file handle''', which is a special object representing an open file. fileOpen gives us such a handle.&lt;br /&gt;
&lt;br /&gt;
It is also important to remember to close a file after you've finished all your operations on it, especially if you've been writing to the file. If you don't close a file and your resource crashes, all changes to the file may be lost.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{File functions}}&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=FileDelete&amp;diff=20913</id>
		<title>FileDelete</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=FileDelete&amp;diff=20913"/>
		<updated>2009-07-30T03:39:51Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
Deletes the specified file.&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 fileDelete ( string filePath )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''filePath:''' the path of the file to delete in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, if you want to delete a file name &amp;quot;myFile.txt&amp;quot; in the resource 'fileres', it can be deleted from another resource this way: ''fileDelete(&amp;quot;:fileres/myFile.txt&amp;quot;)''.&lt;br /&gt;
:If the file is in the current resource, only the file path is necessary, e.g. ''fileDelete(&amp;quot;myFile.txt&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise (for example if there exists no file with the given name, or it does exist but is in use).&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{File_functions}}&lt;br /&gt;
[[Category:Needs Example]]&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=FileCreate&amp;diff=20912</id>
		<title>FileCreate</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=FileCreate&amp;diff=20912"/>
		<updated>2009-07-30T03:25:07Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
&lt;br /&gt;
Creates a new file in a directory of a resource. If there already exists a file with the specified name, it is overwritten with an empty file.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The file functions should not be used to implement configuration files. It is encouraged to use the XML functions for this instead.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;file fileCreate ( string filePath )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''filePath:''' the path where the file is to be created in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, if you want to create a file named 'myfile.txt' in the resource 'mapcreator', it can be created from another resource this way: ''fileCreate(&amp;quot;:mapcreator/myfile.txt&amp;quot;)''.&lt;br /&gt;
:If the file is in the current resource, only the file path is necessary, e.g. ''fileCreate(&amp;quot;myfile.txt&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If successful, returns a file handle which can be used with other file functions ([[fileWrite]], [[fileClose]]...). Returns ''false'' if an error occured.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a text file in the current resource and writes a string to it.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local newFile = fileCreate(&amp;quot;test.txt&amp;quot;)                -- attempt to create a new file&lt;br /&gt;
if (newFile) then                                       -- check if the creation succeeded&lt;br /&gt;
    fileWrite(newFile, &amp;quot;This is a test file!&amp;quot;)        -- write a text line&lt;br /&gt;
    fileClose(newFile)                                -- close the file once you're done with it&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that you can't simply do ''fileWrite(&amp;quot;test.txt&amp;quot;, &amp;quot;File content&amp;quot;)''. Instead, file functions operate on a '''file handle''', which is a special object representing an open file. ''fileCreate'' creates a file, opens it, and returns the resulting handle.&lt;br /&gt;
&lt;br /&gt;
It is also important to remember to close a file after you've finished all your operations on it, especially if you've been writing to the file. If you don't close a file and your resource crashes, all changes to the file may be lost.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{File functions}}&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlLoadFile&amp;diff=20911</id>
		<title>XmlLoadFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlLoadFile&amp;diff=20911"/>
		<updated>2009-07-30T03:20:30Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function provides an alternative way to load XML files to [[getResourceConfig]].&lt;br /&gt;
This function loads an XML file and returns the node by specifying a specific file path, while [[getResourceConfig]] allows for loading an XML file from a resource.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode xmlLoadFile ( string filePath )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''filePath:''' the path of the file in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, if there is a file named 'settings.xml' in the resource 'ctf', it can be accessed from another resource this way: ''xmlLoadFile(&amp;quot;:ctf/settings.xml&amp;quot;)''.&lt;br /&gt;
:If the file is in the current resource, only the file path is necessary, e.g. ''xmlLoadFile(&amp;quot;settings.xml&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the root [[xmlnode]] object of an xml file if successful, or ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example loads an XML file called ''settings.xml'' that is in a resource called ''ctv''.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
node = xmlLoadFile ( &amp;quot;:ctv/settings.xml&amp;quot; )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML_functions}}&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:XmlLoadFile&amp;diff=20910</id>
		<title>Talk:XmlLoadFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:XmlLoadFile&amp;diff=20910"/>
		<updated>2009-07-30T03:19:38Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;This function provides an alternative way to load XML files to getResourceConfig. This function loads an XML file and returns the node by specifying a specific file path, while getResourceConfig allows for loading an XML file from a resource. &amp;quot;&lt;br /&gt;
:According to Talidan, the syntax for xmlLoadFile and getResourceConfig is exactly the same now. I guess this makes the description void? I'm also not sure why we need getResourceConfig when we can use this. --[[User:Erorr404|Erorr404]] 03:18, 30 July 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:XmlLoadFile&amp;diff=20909</id>
		<title>Talk:XmlLoadFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:XmlLoadFile&amp;diff=20909"/>
		<updated>2009-07-30T03:18:30Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: Created page with '&amp;quot;This function provides an alternative way to load XML files to getResourceConfig. This function loads an XML file and returns the node by specifying a specific file path, while …'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;This function provides an alternative way to load XML files to getResourceConfig. This function loads an XML file and returns the node by specifying a specific file path, while getResourceConfig allows for loading an XML file from a resource. &amp;quot;&lt;br /&gt;
:According to Talidan, the syntax for xmlLoadFile and getResourceConfig is exactly the same now. I guess this makes the description void? --[[User:Erorr404|Erorr404]] 03:18, 30 July 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlLoadFile&amp;diff=20908</id>
		<title>XmlLoadFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlLoadFile&amp;diff=20908"/>
		<updated>2009-07-30T03:16:36Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function provides an alternative way to load XML files to [[getResourceConfig]].&lt;br /&gt;
This function loads an XML file and returns the node by specifying a specific file path, while [[getResourceConfig]] allows for loading an XML file from a resource.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode xmlLoadFile ( string filePath )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''filePath:''' the path of the file in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, if there is a file named 'settings.xml' in the resource 'ctf', it can be accessed from another resource this way: ''getResourceConfig(&amp;quot;:ctf/settings.xml&amp;quot;)''.&lt;br /&gt;
:If the file is in the current resource, only the file path is necessary, e.g. ''getResourceConfig(&amp;quot;settings.xml&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the root [[xmlnode]] object of an xml file if successful, or ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example loads an XML file called ''settings.xml'' that is in a resource called ''ctv''.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
node = xmlLoadFile ( &amp;quot;:ctv/settings.xml&amp;quot; )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML_functions}}&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlCreateFile&amp;diff=20907</id>
		<title>XmlCreateFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlCreateFile&amp;diff=20907"/>
		<updated>2009-07-30T03:14:56Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function creates a new XML document, which can later be saved to a file by using [[xmlSaveFile]]. This function will overwrite the file specified if it already exists.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode xmlCreateFile ( string filePath, string rootNodeName )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''filePath:''' the path of the file you want to create in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file will be in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, if you want to create a file named 'new.xml' in the resource 'ctf', it can be created from another resource this way: ''xmlCreateFile(&amp;quot;:ctf/new.xml&amp;quot;, &amp;quot;newroot&amp;quot;)''.&lt;br /&gt;
:If the file is in the current resource, only the file path is necessary, e.g. ''xmlCreateFile(&amp;quot;new.xml&amp;quot;, &amp;quot;newroot&amp;quot;)''.&lt;br /&gt;
:Note that if a different resource than default is being accessed, the caller resource needs access to general.ModifyOtherObjects in the [[ACL]].&lt;br /&gt;
*'''rootNodeName:''' the name of the root node in the XML document.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the root [[xmlnode]] object of the new XML file if successful, or ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML_functions}}&lt;br /&gt;
[[Category:Needs Example]]&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=20906</id>
		<title>XmlCopyFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=20906"/>
		<updated>2009-07-30T02:35:32Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function copies all contents of a certain node in a XML document to a new document file, so the copied node becomes the new file's root node.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode xmlCopyFile ( xmlnode nodeToCopy, string newFilePath )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''nodeToCopy:''' the [[xmlnode]] that is to be copied to a new document.&lt;br /&gt;
*'''newFilePath:''' the path of the file that is to be created, in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, to create a file named 'newfile.xml' with myNode as the root node in the resource 'ctf', it can be done from another resource this way: ''xmlCopyFile(myNode, &amp;quot;:ctf/newfile.xml&amp;quot;)''.&lt;br /&gt;
:If the file is to be in the current resource, only the file path is necessary, e.g. ''xmlCopyFile(myNode, &amp;quot;newfile.xml&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[xmlnode]] if the node was successfully copied, ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML_functions}}&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetResourceConfig&amp;diff=20905</id>
		<title>GetResourceConfig</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetResourceConfig&amp;diff=20905"/>
		<updated>2009-07-30T02:30:58Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: updated to new 1.0 syntax&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{server client function}}&lt;br /&gt;
This function is used to return the root node of a configuration file. Config files must be predefined in a resource's [[Meta.xml|meta file]].  An alternative way to load XML files is to use [[xmlLoadFile]].&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode getResourceConfig ( string filePath )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''filePath:''' the path of the file in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, if there is a file named 'settings.xml' in the resource 'ctf', it can be accessed from another resource this way: ''getResourceConfig(&amp;quot;:ctf/settings.xml&amp;quot;)''.&lt;br /&gt;
:If the file is in the current resource, only the file path is necessary, e.g. ''getResourceConfig(&amp;quot;settings.xml&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the root node of the specified configuration file. If the file is corrupted, not defined in the meta file or doesn't exist, returns false.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example opens a configuration file and prints the value of the 'attr' attribute of the first 'group' node.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function resourceStart ( theResource )                         -- When a resource is started&lt;br /&gt;
    if ( theResource == getThisResource () ) then              -- and the resource is this one&lt;br /&gt;
        node = getResourceConfig( &amp;quot;:&amp;quot; .. getResourceName(theResource) .. &amp;quot;/config.xml&amp;quot; )  -- get the configuration file&lt;br /&gt;
        local subNode = xmlFindSubNode( node, &amp;quot;group&amp;quot;, 1 )      -- get a subnode in it&lt;br /&gt;
        outputChatBox( xmlNodeGetAttribute( subNode, &amp;quot;attr&amp;quot; ) )    -- output its attributes value to chatbox&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onResourceStart&amp;quot;, getRootElement(), resourceStart )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Resource_functions}}&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:GetGarageSize&amp;diff=20880</id>
		<title>Talk:GetGarageSize</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:GetGarageSize&amp;diff=20880"/>
		<updated>2009-07-29T08:38:51Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The first value returned by this (the X size/width) is way too big... 20 units and beyond. The Y size and height seem fine. --[[User:Erorr404|Erorr404]] 08:38, 29 July 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:GetGarageSize&amp;diff=20879</id>
		<title>Talk:GetGarageSize</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:GetGarageSize&amp;diff=20879"/>
		<updated>2009-07-29T08:38:28Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: Created page with 'The first value returned by this (the X size/width) is way too big... 20 units and beyond. The Y size and height seem fine. ----'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The first value returned by this (the X size/width) is way too big... 20 units and beyond. The Y size and height seem fine. ----&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Tasks&amp;diff=20668</id>
		<title>Tasks</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Tasks&amp;diff=20668"/>
		<updated>2009-07-19T08:31:37Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The task system is a system that is built into Grand Theft Auto: San Andreas. It is a large system that manages everything to do with how players and pedestrians behave. Every action a player or pedestrian performs is a task of some type. Each player can have a number of primary and secondary tasks. Primary tasks tend to be the most interesting to us when making scripts. Primary tasks are divided up into 5 slots ordered by priority, while secondary tasks are divided up into 6 slots each with a different purpose. The slots are as follows:&lt;br /&gt;
&lt;br /&gt;
'''PRIMARY TASKS'''&lt;br /&gt;
*'''0:''' TASK_PRIORITY_PHYSICAL_RESPONSE&lt;br /&gt;
*'''1:''' TASK_PRIORITY_EVENT_RESPONSE_TEMP&lt;br /&gt;
*'''2:''' TASK_PRIORITY_EVENT_RESPONSE_NONTEMP&lt;br /&gt;
*'''3:''' TASK_PRIORITY_PRIMARY&lt;br /&gt;
*'''4:''' TASK_PRIORITY_DEFAULT&lt;br /&gt;
'''SECONDARY TASKS'''&lt;br /&gt;
*'''0:''' TASK_SECONDARY_ATTACK&lt;br /&gt;
*'''1:''' TASK_SECONDARY_DUCK&lt;br /&gt;
*'''2:''' TASK_SECONDARY_SAY&lt;br /&gt;
*'''3:''' TASK_SECONDARY_FACIAL_COMPLEX&lt;br /&gt;
*'''4:''' TASK_SECONDARY_PARTIAL_ANIM&lt;br /&gt;
*'''5:''' TASK_SECONDARY_IK&lt;br /&gt;
Each slot can contain one task at a time, or be empty. &lt;br /&gt;
&lt;br /&gt;
There are two types of tasks - complex tasks and simple tasks. Simple tasks actually perform actions that affect the player, such as opening a car door, walking forwards etc. Complex tasks trigger off simple tasks in a sequence to perform more complex things, such as walking to a car, opening the door and getting in.&lt;br /&gt;
&lt;br /&gt;
If a complex task is in a slot, you can get what task that complex task is running using [[getPedTask]] and an index value of 1. If that itself has a child task, then you can retrieve that using an index value of 2 etc.&lt;br /&gt;
&lt;br /&gt;
You can see a complete list of tasks on the [[list of player tasks]] page.&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=20664</id>
		<title>User:Erorr404/My Resources</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=20664"/>
		<updated>2009-07-19T03:05:49Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will contain information and documentation for MTA:SA resources that I will release.&lt;br /&gt;
&lt;br /&gt;
==Works by Itself==&lt;br /&gt;
&lt;br /&gt;
===Capture the Orb===&lt;br /&gt;
A game mode with the same basic idea as CTF, but with an emphasis on vehicles.&lt;br /&gt;
&lt;br /&gt;
===Free Map/fr===&lt;br /&gt;
(command-based freeroam for testing purposes)&lt;br /&gt;
&lt;br /&gt;
===Stunt===&lt;br /&gt;
Detects stunts and shows a message with statistics.&lt;br /&gt;
&lt;br /&gt;
Resources: fr, freemap&lt;br /&gt;
&lt;br /&gt;
==Managed through Exported Functions==&lt;br /&gt;
&lt;br /&gt;
===Camera Tools===&lt;br /&gt;
Includes various camera functions such as following an element, rotating around a point, and free flying. Also allows recording and playing back camera movements.&lt;br /&gt;
&lt;br /&gt;
* [[User:Erorr404/My_Resources/Camera_Tools_Documentation|Documentation]]&lt;br /&gt;
&lt;br /&gt;
===Street Race===&lt;br /&gt;
Manages checkpoint races for selected players, includes a race GUI. Can run a given course, or create a random race.&lt;br /&gt;
&lt;br /&gt;
* [[User:Erorr404/My_Resources/Street_Race_Documentation|Documentation]]&lt;br /&gt;
&lt;br /&gt;
===Safehouse===&lt;br /&gt;
Allows players to save at selected houses, just as in single players. Stores weapons, clothes, and vehicles parked in garages or designated parking areas.&lt;br /&gt;
&lt;br /&gt;
* [[User:Erorr404/My_Resources/Safehouse_Documentation|Documentation]]&lt;br /&gt;
&lt;br /&gt;
===Spectator===&lt;br /&gt;
Allows players to spectate others while dead, includes options to limit visibility to team.&lt;br /&gt;
&lt;br /&gt;
* [[User:Erorr404/My_Resources/Spectator_Documentation|Documentation]]&lt;br /&gt;
&lt;br /&gt;
===Pager===&lt;br /&gt;
A pager pops up on the player's screen and displays a scrolling message, just like in GTA3.&lt;br /&gt;
&lt;br /&gt;
* [[User:Erorr404/My_Resources/Pager_Documentation|Documentation]]&lt;br /&gt;
&lt;br /&gt;
===Side Jobs===&lt;br /&gt;
Still thinking about this one..&lt;br /&gt;
&lt;br /&gt;
===Import/Export===&lt;br /&gt;
&lt;br /&gt;
===RC Van===&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Suggestions&amp;diff=20397</id>
		<title>User:Erorr404/My Suggestions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Suggestions&amp;diff=20397"/>
		<updated>2009-07-07T20:45:48Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Resource Categories==&lt;br /&gt;
'''Problem:''' Currently all resources on a server reside in a single folder (MTA San Andreas\server\mods\deathmatch\resources), but this is messy because the number of resources usually numbers in the 10s if not 100s. Thus, finding resources is difficult because of their sheer number and the lack of organization.&lt;br /&gt;
&lt;br /&gt;
'''Possible solution:''' One solution would be to put resources into seperate categories. These categories would be represented by folders under the resource directory, which would in turn contain the actual resources (folders and zip files, as we have now).&lt;br /&gt;
&lt;br /&gt;
These categories can either be MTA imposed, or the user can be allowed to create arbirtrary categories to organize the resorces on their server as they see fit.&lt;br /&gt;
&lt;br /&gt;
In the case of imposed categories, here are some possible ones:&lt;br /&gt;
* Essentials - contains important background resources that are most often used - admin, resourcemanager, scoreboard, etc.&lt;br /&gt;
* Game modes - game mode resources as well as their corresponding map resources&lt;br /&gt;
* Services - scripts that provide neat little features but are not game modes (such as building interiors, ammunations, and clothes shops)&lt;br /&gt;
* Utilities - useful scripts that are more technical than the ones listed above: the effects of these are not directly visible to players in the world - they do not create and manage elements - rather, they provide useful tools for scripters to assist in making their scripts&lt;br /&gt;
&lt;br /&gt;
These categories may or may not have any special significance to other parts of the mod. They can either be 'resource groups' with their own attributes that apply to all resources in the group, and with their own elements and objects that can be used in scripts (much as regular resources have now). Or, they can serve only an organizational role with no impact on other parts of the mod and no real difference between the resources they contain (they just have different paths). The first approach is harder to implement and may unnecessarily complicate the resource system, while the second approach should be trivial to implement but may not warrant the change. Other implementations of resource categorization are also possible. In any case, splitting resources into manageable categories is a good way to improve organization and makes resoures easier to find and edit.&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Suggestions&amp;diff=20396</id>
		<title>User:Erorr404/My Suggestions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Suggestions&amp;diff=20396"/>
		<updated>2009-07-07T20:31:59Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: New page: ==Resource Categories== Problem: Currently all resources on a server reside in a single folder (MTA San Andreas\server\mods\deathmatch\resources), but this is messy because the number of r...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Resource Categories==&lt;br /&gt;
Problem: Currently all resources on a server reside in a single folder (MTA San Andreas\server\mods\deathmatch\resources), but this is messy because the number of resources usually numbers in the dozens, if not over 100s. This sorting through and editing resources difficult because of the sheer number of resources and lack of organization.&lt;br /&gt;
&lt;br /&gt;
Possible solution: A possible solution would be to put resources into seperate categories. These categories would be represented by folders under the resource directory, which would in turn contain the actual resources.&lt;br /&gt;
&lt;br /&gt;
Here are some possible categories:&lt;br /&gt;
* Essentials - contains important background resources that are most often used - admin, resourcemanager, scoreboard, etc.&lt;br /&gt;
* Game modes - game mode resources as well as their corresponding map resources&lt;br /&gt;
* Services - scripts that provide neat little features but are not game modes (such as building interiors, ammunations, and clothes shops)&lt;br /&gt;
* Utilities - useful scripts that are more technical than the ones listed above: the effects of these are not directly visible to players in the world - they do not create and manage elements - rather, they provide useful tools for scripters to assist in making their scripts&lt;br /&gt;
&lt;br /&gt;
These categories may or may not have any special significance to other parts of the mod. They can either be 'resource groups' with their own attributes that apply to all resources in the group, along with their own elements and objects that can be used in scripts (much as regular resources have now). Or, they can serve only an organizational role with no impact on other parts of the mod and no real difference between the resources they contain (they just have different paths). The first approach is harder to implement and may unnecessarily complicate the resource system, while the second approach should be trivial to implement but may not warrant the change. Other implementations of resource categorization are also possible. In any case, splitting resources into manageable categories is a good way to improve organization and make resoures easier to find and edit.&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404&amp;diff=20395</id>
		<title>User:Erorr404</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404&amp;diff=20395"/>
		<updated>2009-07-07T19:58:50Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;HAI!&lt;br /&gt;
&lt;br /&gt;
[[User:Erorr404/My_Resources|My Resources]]&lt;br /&gt;
&lt;br /&gt;
[[User:Erorr404/My_Suggestions|My Suggestions]]&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=17950</id>
		<title>User:Erorr404/My Resources</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=17950"/>
		<updated>2008-12-19T08:54:12Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will contain information and documentation for MTA:SA resources that I will release.&lt;br /&gt;
&lt;br /&gt;
==Works by Itself==&lt;br /&gt;
&lt;br /&gt;
===Capture the Orb===&lt;br /&gt;
A game mode with the same basic idea as CTF, but with an emphasis on vehicles.&lt;br /&gt;
&lt;br /&gt;
===Free Map/fr===&lt;br /&gt;
(command-based freeroam for testing purposes)&lt;br /&gt;
&lt;br /&gt;
===Stunt===&lt;br /&gt;
Detects stunts and shows a message with statistics.&lt;br /&gt;
&lt;br /&gt;
Resources: fr, freemap&lt;br /&gt;
&lt;br /&gt;
==Managed through Exported Functions==&lt;br /&gt;
&lt;br /&gt;
===Camera Tools===&lt;br /&gt;
Includes various camera functions such as following an element, rotating around a point, and free flying. Also allows recording and playing back camera movements.&lt;br /&gt;
&lt;br /&gt;
* [[User:Erorr404/My_Resources/Camera_Tools_Documentation|Documentation]]&lt;br /&gt;
&lt;br /&gt;
===Street Race===&lt;br /&gt;
Manages checkpoint races for selected players, includes a race GUI. Can run a given course, or create a random race.&lt;br /&gt;
&lt;br /&gt;
* [[User:Erorr404/My_Resources/Street_Race_Documentation|Documentation]]&lt;br /&gt;
&lt;br /&gt;
===Safehouse===&lt;br /&gt;
Allows players to save at selected houses, just as in single players. Stores weapons, clothes, and vehicles parked in garages or designated parking areas.&lt;br /&gt;
&lt;br /&gt;
* [[User:Erorr404/My_Resources/Safehouse_Documentation|Documentation]]&lt;br /&gt;
&lt;br /&gt;
===Spectator===&lt;br /&gt;
Allows players to spectate others while dead, includes options to limit visibility to team.&lt;br /&gt;
&lt;br /&gt;
* [[User:Erorr404/My_Resources/Spectator_Documentation|Documentation]]&lt;br /&gt;
&lt;br /&gt;
===Pager===&lt;br /&gt;
A pager pops up on the player's screen and displays a scrolling message, just like in GTA3.&lt;br /&gt;
&lt;br /&gt;
* [[User:Erorr404/My_Resources/Pager_Documentation|Documentation]]&lt;br /&gt;
&lt;br /&gt;
===Side Jobs===&lt;br /&gt;
Still thinking about this one..&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources/Pager_Documentation&amp;diff=17949</id>
		<title>User:Erorr404/My Resources/Pager Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources/Pager_Documentation&amp;diff=17949"/>
		<updated>2008-12-19T08:50:57Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: New page: Shows pager messages to players. textUpdateTime indicates the scroll interval (the amount of milliseconds it takes for the message to shift by one letter).  Server-side functions: &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[l...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Shows pager messages to players. textUpdateTime indicates the scroll interval (the amount of milliseconds it takes for the message to shift by one letter).&lt;br /&gt;
&lt;br /&gt;
Server-side functions:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;nil displayPagerMessageForPlayer ( player thePlayer, string messageText, int textUpdateTimeInMilliSeconds )&lt;br /&gt;
nil endPagerMessageFirPlayer ( player thePlayer )&lt;br /&gt;
nil displayPagerMessageForAllPlayers ( string messageText, int textUpdateTimeInMilliSeconds )&lt;br /&gt;
nil endPagerMEssageForAllPlayers ()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Client-side functions:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool displayPagerMessage ( string messageText, int textUpdateTimeInMilliSeconds )&lt;br /&gt;
bool endPagerMessage ()&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources/Spectator_Documentation&amp;diff=17948</id>
		<title>User:Erorr404/My Resources/Spectator Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources/Spectator_Documentation&amp;diff=17948"/>
		<updated>2008-12-19T08:50:14Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: New page: Adding a spectator forces the player to spectate living players, if any. It is typically used after a player dies. Removing a spectator forces the player out of spectator mode, and is usua...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Adding a spectator forces the player to spectate living players, if any. It is typically used after a player dies. Removing a spectator forces the player out of spectator mode, and is usually called when the player becomes alive again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;nil addSpectator ( player theSpectator, team theTeam )&lt;br /&gt;
nil removeSpectator ( player theSpectator )&lt;br /&gt;
bool isSpectator ( player theSpectator )&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources/Safehouse_Documentation&amp;diff=17947</id>
		<title>User:Erorr404/My Resources/Safehouse Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources/Safehouse_Documentation&amp;diff=17947"/>
		<updated>2008-12-19T08:49:41Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: New page: This resource allows players to buy, sell, and use properties in much the same way as they can in single player. Properties are associated with account names, which are to be specified and...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This resource allows players to buy, sell, and use properties in much the same way as they can in single player. Properties are associated with account names, which are to be specified and managed by an outside resource. These associations are stored in databases managed by this resource.&lt;br /&gt;
&lt;br /&gt;
The characteristics of a property (it's location, interior, garage area, save marker, etc.) are stored in an XML file whose root node is passed to the loadPropertiesFromFile function. It has the following form:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;root&amp;gt;&lt;br /&gt;
	&amp;lt;property id=&amp;quot;vegas suburbs house 1&amp;quot; x=&amp;quot;1282.1369628906&amp;quot; y=&amp;quot;2522.3305664063&amp;quot; z=&amp;quot;10.8203125&amp;quot; r=&amp;quot;270&amp;quot; price=&amp;quot;320000&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;camera x=&amp;quot;1298.2105712891&amp;quot; y=&amp;quot;2530.1906738281&amp;quot; z=&amp;quot;16.638565063477&amp;quot; lax=&amp;quot;1297.2188720703&amp;quot; lay=&amp;quot;2530.1906738281&amp;quot; laz=&amp;quot;16.510410308838&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;interior heaven=&amp;quot;9&amp;quot; dimension=&amp;quot;1024&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;entrance x=&amp;quot;1273.953125&amp;quot; y=&amp;quot;2522.4836425781&amp;quot; z=&amp;quot;11.8203125&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;entrance_target x=&amp;quot;2317.82&amp;quot; y=&amp;quot;-1024.75&amp;quot; z=&amp;quot;1050.2177734375&amp;quot; r=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;exit x=&amp;quot;2317.82&amp;quot; y=&amp;quot;-1026.75&amp;quot; z=&amp;quot;1051.2177734375&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;exit_target x=&amp;quot;1276.47265625&amp;quot; y=&amp;quot;2522.4951171875&amp;quot; z=&amp;quot;10.8203125&amp;quot; r=&amp;quot;270&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;save_marker x=&amp;quot;2320.5356445313&amp;quot; y=&amp;quot;-1008.3101196289&amp;quot; z=&amp;quot;1050.2109375&amp;quot; r=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;parking_area x=&amp;quot;1269.6076660156&amp;quot; y=&amp;quot;2525.603515625&amp;quot; z=&amp;quot;9.8203125&amp;quot; width=&amp;quot;10&amp;quot; depth=&amp;quot;9&amp;quot; height=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;garage_door id=&amp;quot;38&amp;quot; x=&amp;quot;1279.1956787109&amp;quot; y=&amp;quot;2525.5373535156&amp;quot; z=&amp;quot;9.8203125&amp;quot; width=&amp;quot;6&amp;quot; depth=&amp;quot;8&amp;quot; height=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/property&amp;gt;&lt;br /&gt;
etc.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
where the entrance is the location of the entrance marker and the entrance target is the location the player is warped to upon hitting the marker. The exit locations are described similarly. The parking area and garage represent optional locations where vehicles can be parked to be saved.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool loadPropertiesFromFile ( fileRoot, [table loggedInPlayers = {}] )&lt;br /&gt;
bool unloadCurrentProperties ()&lt;br /&gt;
bool loginPlayerAccount ( string accountName, player thePlayer )&lt;br /&gt;
bool logoutPlayerAccount ( string accountName )&lt;br /&gt;
&lt;br /&gt;
table getPlayerProperties ( string accountName )&lt;br /&gt;
string getPlayerLastSavedProperty ( string accountName )&lt;br /&gt;
bool loadPlayerGameAtProperty ( string accountName, string propertyID )&lt;br /&gt;
bool loadVehiclesAtPlayerProperties ( string accountName )&lt;br /&gt;
bool unloadVehiclesAtPlayerProperties ( string accountName )&lt;br /&gt;
nil deletePlayerProperties ( string accountName )&lt;br /&gt;
nil deletePlayerProperty ( string accountName, string propertyID )&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources/Street_Race_Documentation&amp;diff=17946</id>
		<title>User:Erorr404/My Resources/Street Race Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources/Street_Race_Documentation&amp;diff=17946"/>
		<updated>2008-12-19T08:47:11Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: New page: The loadRace function loads a race and is the first function called when setting up a race. A race cannot be unloaded, but a new race can be loaded in place of the old one by calling the f...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The loadRace function loads a race and is the first function called when setting up a race. A race cannot be unloaded, but a new race can be loaded in place of the old one by calling the function a second time. It accepts an array of 3-D coordinates, representing the race checkpoints and in the checkpoint order. It is of the following form: { {float checkpointOneX, float checkpointOneY, float checkpointOneZ}, {float checkpointTwoX, float checkpointTwoY, float checkpointTwoZ}, etc. }. When a race is loaded, the race participants are shown the first checkpoint, but cannot yet hit it.&lt;br /&gt;
&lt;br /&gt;
The startRace function allows players to perform the race by allowing them to hit the checkpoints. A race can only be started when a race map is loaded, and not when there is already a race in progress. A race in progress can be ended with the endRace() function.&lt;br /&gt;
&lt;br /&gt;
addRacer adds a player to the race. A player can only be added to the race while a race is loaded, and before it is started.&lt;br /&gt;
&lt;br /&gt;
removeRacer can remove a racer while the race is loaded (can be used before or after a race is started).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool loadRace ( table orderedCheckpointCoordinates )&lt;br /&gt;
bool isRaceLoaded ()&lt;br /&gt;
bool startRace ()&lt;br /&gt;
bool endRace ()&lt;br /&gt;
bool isRaceStarted ()&lt;br /&gt;
bool addRacer ( player theRacer )&lt;br /&gt;
bool removeRacer ( player theRacer )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is also a function that generates a random race and returns a table of ordered coordinates that can be passed to the loadRace function. It accepts the root node of an xml file with a set of child nodes of the following form:&lt;br /&gt;
&amp;lt;node id=&amp;quot;6&amp;quot; posx=&amp;quot;-1966.7542724609&amp;quot; posy=&amp;quot;1176.3934326172&amp;quot; posz=&amp;quot;44.296875&amp;quot; neighbors=&amp;quot;5,7,153&amp;quot; region=&amp;quot;San Fierro&amp;quot; /&amp;gt;&lt;br /&gt;
where the id is an integer that uniquely identifies the node. The neighbors indicate the neighboring nodes (i.e. checkpoints that can follow the current checkpoint).&lt;br /&gt;
&lt;br /&gt;
startID indicates the first checkpoint of the race, and raceLength is the total number of checkpoints to be generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table generateCheckpointTable(xmlNode rootNode, int startID, [int raceLength = 25])&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources/Camera_Tools_Documentation&amp;diff=17945</id>
		<title>User:Erorr404/My Resources/Camera Tools Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources/Camera_Tools_Documentation&amp;diff=17945"/>
		<updated>2008-12-19T08:46:23Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: New page: Only one of the three camera modes can be enabled at a time (auto rotate, manual rotate, or freecam), and none can be enabled while a path is being played.  Auto rotate - rotates the camer...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Only one of the three camera modes can be enabled at a time (auto rotate, manual rotate, or freecam), and none can be enabled while a path is being played.&lt;br /&gt;
&lt;br /&gt;
Auto rotate - rotates the camera around an element, bouncing vertically from the lower boundary to the upper boundary (minVerticalAngle to maxVerticalAngle).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool enableAutoRotate ( float pointX, float pointY, float pointZ, [float cameraDistanceFromPoint = 10, float minVerticalAngleDeg = 75, float maxVerticalAngleDeg = 75, float degreesPerFrame = 1] )&lt;br /&gt;
bool enableAutoRotateAroundElement ( element theElementToRotateAround, [float cameraDistanceFromElement = 10, float minVerticalAngleDeg = 75, float maxVerticalAngleDeg = 75, float degreesPerFrame = 1] )&lt;br /&gt;
bool disableAutoRotate ()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Manual rotate - allows the player to rotate the camera using their mouse.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool enableManualRotate ( float pointX, float pointY, float pointZ, [float cameraDistanceFromPoint = 10, float minVerticalAngleDeg = 1, float maxVerticalAngleDeg = 179, float maxHorizontalDegreesPerFrame = 30, float maxVerticalDegreesPerFrame = 30] )&lt;br /&gt;
bool enableManualRotateAroundElement ( element theElementToRotateAround, [float cameraDistanceFromElement = 10, float minVerticalAngleDeg = 1, float maxVerticalAngleDeg = 179, float maxHorizontalDegreesPerFrame = 30, float maxVerticalDegreesPerFrame = 30] )&lt;br /&gt;
bool disableManualRotate ()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Free camera - allows the player to move the camera anywhere in the GTA world using keyboard and mouse.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool enableFreecam ( [float minVerticalAngleDeg = 1, float maxVerticalAngleDeg = 179, float maxHorizontalDegreesPerFrame = 30, float maxVerticalDegreesPerFrame = 30] )&lt;br /&gt;
bool disableFreecam ()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Paths - allows recording and playing back of the camera's motion. For example, paths can be used to record elaborate cut scenes made with the free camera.&lt;br /&gt;
&lt;br /&gt;
A path must be loaded from a file before it can be played back.&lt;br /&gt;
&lt;br /&gt;
Paths file are saved in and loaded from the player's client-side resource cache, in their local camera_tools folder.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool loadPathFromFileName ( string fileName )&lt;br /&gt;
bool playPath ( [float speed = 1] )&lt;br /&gt;
bool stopPath ()&lt;br /&gt;
bool pausePath ()&lt;br /&gt;
bool resumePath ()&lt;br /&gt;
nil startRecord ( string fileName, [int updateTimeMilliseconds = 50] )&lt;br /&gt;
nil stopRecord ()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: the smaller the update time, the larger the path file will be&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404&amp;diff=17944</id>
		<title>User:Erorr404</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404&amp;diff=17944"/>
		<updated>2008-12-19T02:35:44Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: New page: HAI!  My Resources&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;HAI!&lt;br /&gt;
&lt;br /&gt;
[[User:Erorr404/My_Resources|My Resources]]&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=17943</id>
		<title>User:Erorr404/My Resources</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=17943"/>
		<updated>2008-12-19T02:29:18Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will contain information and documentation for MTA:SA resources that I will release.&lt;br /&gt;
&lt;br /&gt;
==Works by Itself==&lt;br /&gt;
&lt;br /&gt;
===Capture the Orb===&lt;br /&gt;
A game mode with the same basic idea as CTF, but with an emphasis on vehicles.&lt;br /&gt;
&lt;br /&gt;
===Free Map/fr===&lt;br /&gt;
(command-based freeroam for testing purposes)&lt;br /&gt;
&lt;br /&gt;
===Stunt===&lt;br /&gt;
Detects stunts and shows a message with statistics.&lt;br /&gt;
&lt;br /&gt;
Resources: fr, freemap&lt;br /&gt;
&lt;br /&gt;
==Managed through Exported Functions==&lt;br /&gt;
&lt;br /&gt;
===Camera Tools===&lt;br /&gt;
Includes various camera functions such as following an element, rotating around a point, and free flying. Also allows recording and playing back camera movements.&lt;br /&gt;
&lt;br /&gt;
===Street Race===&lt;br /&gt;
Manages checkpoint races for selected players, includes a race GUI. Can run a given course, or create a random race.&lt;br /&gt;
&lt;br /&gt;
===Safehouse===&lt;br /&gt;
Allows players to save at selected houses, just as in single players. Stores weapons, clothes, and vehicles parked in garages or designated parking areas.&lt;br /&gt;
&lt;br /&gt;
===Spectator===&lt;br /&gt;
Allows players to spectate others while dead, includes options to limit visibility to team.&lt;br /&gt;
&lt;br /&gt;
===Pager===&lt;br /&gt;
A pager pops up on the player's screen and displays a scrolling message, just like in GTA3.&lt;br /&gt;
&lt;br /&gt;
===Side Jobs===&lt;br /&gt;
Still thinking about this one..&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=17942</id>
		<title>User:Erorr404/My Resources</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=17942"/>
		<updated>2008-12-19T02:18:58Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will contain information and documentation for MTA:SA resources that I will release.&lt;br /&gt;
&lt;br /&gt;
==Free Map/fr==&lt;br /&gt;
(command-based freeroam for testing purposes)&lt;br /&gt;
&lt;br /&gt;
Resources: fr, freemap&lt;br /&gt;
&lt;br /&gt;
==Stunt==&lt;br /&gt;
Detects stunts and shows a message with statistics.&lt;br /&gt;
&lt;br /&gt;
==Camera Tools==&lt;br /&gt;
Includes various camera functions such as following an element, rotating around a point, and free flying. Also allows recording and playing back camera movements.&lt;br /&gt;
&lt;br /&gt;
==Street Race==&lt;br /&gt;
Manages checkpoint races for selected players, includes a race GUI.&lt;br /&gt;
&lt;br /&gt;
==Safehouse==&lt;br /&gt;
Allows players to save at selected houses, just as in single players. Stores weapons, clothes, and vehicles parked in garages or designated parking areas.&lt;br /&gt;
&lt;br /&gt;
==Capture the Orb==&lt;br /&gt;
A game mode with the same basic idea as CTF, but with an emphasis on vehicles.&lt;br /&gt;
&lt;br /&gt;
==Spectator==&lt;br /&gt;
Allows players to spectate others while dead, includes options to limit visibility to team.&lt;br /&gt;
&lt;br /&gt;
==Pager==&lt;br /&gt;
A pager pops up on the player's screen and displays a scrolling message, just like in GTA3.&lt;br /&gt;
&lt;br /&gt;
==Side Jobs==&lt;br /&gt;
Still thinking about this one..&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=17941</id>
		<title>User:Erorr404/My Resources</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=17941"/>
		<updated>2008-12-19T02:03:21Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will contain information and documentation for MTA:SA resources that I will release.&lt;br /&gt;
&lt;br /&gt;
==Free Map/fr==&lt;br /&gt;
(command-based freeroam for testing purposes)&lt;br /&gt;
&lt;br /&gt;
Resources: fr, freemap&lt;br /&gt;
&lt;br /&gt;
==Stunt==&lt;br /&gt;
Detects stunts and shows a message with statistics.&lt;br /&gt;
&lt;br /&gt;
==Camera Tools==&lt;br /&gt;
Includes various camera functions such as following an element, rotating around a point, and free flying. Also allows recording and playing back camera movements.&lt;br /&gt;
&lt;br /&gt;
==Street Race==&lt;br /&gt;
Manages checkpoint races for selected players, includes a race GUI.&lt;br /&gt;
&lt;br /&gt;
==Safehouse==&lt;br /&gt;
Allows players to save at selected houses, just as in single players. Stores weapons, clothes, and vehicles parked in garages or designated parking areas.&lt;br /&gt;
&lt;br /&gt;
==Capture the Orb==&lt;br /&gt;
A game mode with the same basic idea as CTF, but with an emphasis on vehicles.&lt;br /&gt;
&lt;br /&gt;
==Spectator==&lt;br /&gt;
Allows players to spectate others while dead, includes options to limit visibility to team.&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=17940</id>
		<title>User:Erorr404/My Resources</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erorr404/My_Resources&amp;diff=17940"/>
		<updated>2008-12-19T02:00:48Z</updated>

		<summary type="html">&lt;p&gt;Erorr404: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will contain information and documentation for MTA:SA resources that I will release.&lt;br /&gt;
&lt;br /&gt;
==Free Map/fr==&lt;br /&gt;
(command-based freeroam for testing purposes)&lt;br /&gt;
&lt;br /&gt;
Resources: fr, freemap&lt;br /&gt;
&lt;br /&gt;
==Stunt==&lt;br /&gt;
Detects stunts and shows a message with statistics.&lt;br /&gt;
&lt;br /&gt;
==Camera Tools==&lt;br /&gt;
Includes various camera functions such as following an element, rotating around a point, and free flying. Also allows recording and playing back camera movements.&lt;br /&gt;
&lt;br /&gt;
==Street Race==&lt;br /&gt;
Manages checkpoint races for selected players, includes a race GUI.&lt;br /&gt;
&lt;br /&gt;
==Safehouse==&lt;br /&gt;
Allows players to save at selected houses, just as in single players. Stores weapons, clothes, and vehicles parked in garages or designated parking areas.&lt;br /&gt;
&lt;br /&gt;
==Capture the Orb==&lt;br /&gt;
A game mode with the same basic idea as CTF, but with an emphasis on vehicles.&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Erorr404</name></author>
	</entry>
</feed>