<?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=Stevvo</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=Stevvo"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Stevvo"/>
	<updated>2026-05-27T00:55:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiSetFont&amp;diff=16634</id>
		<title>GuiSetFont</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiSetFont&amp;diff=16634"/>
		<updated>2008-04-28T08:45:32Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: Undo revision 16633 by Stevvo (Talk) Asshat next to me pressed random keys on edit page.jhg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the font of a GUI element to be used when drawing text.&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 guiSetFont ( element guiElement, string font )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiElement:''' The GUI element you wish to change the font of&lt;br /&gt;
*'''font:''' The font name. See [[GUI Fonts]]&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the font has been successfully set on the gui element, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
This example sets and gets the font of a pre-made gui element and outputs it to chat box.&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- We create a dummy gui label to get text of&lt;br /&gt;
local dummyGUIElement = guiCreateLabel ( 0.45, 0.48, 0.10, 0.04, &amp;quot;Hello world&amp;quot;, true )&lt;br /&gt;
guiSetFont ( dummyGUIElement, &amp;quot;sa-gothic&amp;quot; )&lt;br /&gt;
-- Output the font of the label to chat box&lt;br /&gt;
outputChatBox ( &amp;quot;Font used in the GUI label: &amp;quot; .. guiGetFont ( dummyGuiElement ) )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiSetFont&amp;diff=16633</id>
		<title>GuiSetFont</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiSetFont&amp;diff=16633"/>
		<updated>2008-04-28T08:44:27Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the font of a GUI element to be used when drawing text.&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 guiSetFont ( element guiElement, string font )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiElement:''' The GUI element you wish to change the font of&lt;br /&gt;
*'''font:''' The font name. See [[GUI Fonts]]&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the font has been successfully set on the gui element, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
This example sets and gets the font of a pre-made gui element and outputs it to chat box.&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- We create a dummy gui label to get text of&lt;br /&gt;
local dummyGUIElement = guiCreateLabel ( 0.45, 0.48, 0.10, 0.04, &amp;quot;Hello world&amp;quot;, true )&lt;br /&gt;
guiSetFont ( dummyGUIElement, &amp;quot;sa-gothic&amp;quot; )&lt;br /&gt;
-- Output the font of the label to chat box&lt;br /&gt;
outputChatBox ( &amp;quot;Font used in the GUI label: &amp;quot; .. guiGetFont ( dummyGuiElement ) )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;br /&gt;
]&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlFindSubNode&amp;diff=16611</id>
		<title>XmlFindSubNode</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlFindSubNode&amp;diff=16611"/>
		<updated>2008-04-27T19:23:07Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: Removed semicolons from example, it isn't normal to use semicolons in lua?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function returns a named sub node of a particular XML node.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;xmlnode xmlFindSubNode ( xmlnode parent, string subnode, int index )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''parent''': This is an [[xmlnode]] that you want to find the subnode under. This could be a node returned from another call to [[xmlFindSubNode]].&lt;br /&gt;
* '''subnode''': This is the name of the subnode you wish to find.&lt;br /&gt;
* '''index''': This is the index of the node you wish to find. For example, to find the 5th subnode with a particular name, you would use 4 as the index value. To find the first occurence, use 0.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an [[xmlnode]] object if the node was found, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
If you wanted to find the 'instructions' node in a map file like this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;map version=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;options&amp;gt;&lt;br /&gt;
            &amp;lt;instructions&amp;gt;Start at the begining and keep going until the end!&amp;lt;/instructions&amp;gt;&lt;br /&gt;
      &amp;lt;/options&amp;gt;&lt;br /&gt;
&amp;lt;/map&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could use the following code:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
maproot = getLoadedMapXMLRoot ()&lt;br /&gt;
optionsnode = xmlFindSubNode ( maproot, &amp;quot;options&amp;quot;, 0 )&lt;br /&gt;
instructionsnode = xmlFindSubNode ( optionsnode, &amp;quot;instructions&amp;quot;, 0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: You could use [[getMapOption]] to do the same thing.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML functions}}&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Help:Main_Page&amp;diff=16608</id>
		<title>Help:Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Help:Main_Page&amp;diff=16608"/>
		<updated>2008-04-25T12:18:34Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: Irrelevant content: Undo revision 16607 by KANiS (Talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Can you please add a link to the Italian main page(&amp;lt;nowiki&amp;gt;[[it:Pagina principale]]&amp;lt;/nowiki&amp;gt;)? Thanks.&amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-family:Courier New, Courier, monospace&amp;quot;&amp;gt;[[User:Shadd|Shadd]]&amp;lt;/span&amp;gt;&amp;lt;sub&amp;gt;([[User_talk:Shadd|Сто?]])&amp;lt;/sub&amp;gt; 11:49, 25 January 2008 (CST)&lt;br /&gt;
:Done :) Keep up the good work! [[User:EAi|eAi]] 20:06, 25 January 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
The Dutch one too please (&amp;lt;nowiki&amp;gt;[[nl:Main Page]]&amp;lt;/nowiki&amp;gt;)? :P&lt;br /&gt;
:Done :) [[User:EAi|eAi]] 11:24, 26 January 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
http://development.mtasa.com/index.php?title=Vehicle_Upgrades&lt;br /&gt;
There is no link in 'Vehicle Upgrades' in the 'ID list'. I already knew that there is this page, but unfortunately we can't modify this page... :( &amp;lt;br/&amp;gt; [[User:Atti|Atti]] 03:29, 27 January 2008 (CST)&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:CreateProjectile&amp;diff=16583</id>
		<title>Talk:CreateProjectile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:CreateProjectile&amp;diff=16583"/>
		<updated>2008-04-19T11:19:12Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If it isn't too much hastle could you add support for rocket id 58 in the future? You can set it at an offset of +0 at 0xC891A8 just like 19 and 20 for the normal rockets, however this function returns false if an ID that it deems invalid is passed through it.--[[User:Stevvo|Stevvo]] 17:14, 18 April 2008 (CDT)&lt;br /&gt;
:We could arrange that, I'm not sure why we haven't already got it. ['''Note to someone in QA''', can you add an issue for this (just that we should have projectile id 58, we don't need the offset stuff)?] [[User:EAi|eAi]] 19:38, 18 April 2008 (CDT)&lt;br /&gt;
::Thanks, much appreciated :D--[[User:Stevvo|Stevvo]] 06:19, 19 April 2008 (CDT)&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:CreateProjectile&amp;diff=16580</id>
		<title>Talk:CreateProjectile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:CreateProjectile&amp;diff=16580"/>
		<updated>2008-04-18T22:14:08Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: New page: If it isn't too much hastle could you add support for rocket id 58 in the future? You can set it at an offset of +0 at 0xC891A8 just like 19 and 20 for the normal rockets, however this fun...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If it isn't too much hastle could you add support for rocket id 58 in the future? You can set it at an offset of +0 at 0xC891A8 just like 19 and 20 for the normal rockets, however this function returns false if an ID that it deems invalid is passed through it.--[[User:Stevvo|Stevvo]] 17:14, 18 April 2008 (CDT)&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Weather&amp;diff=16578</id>
		<title>Talk:Weather</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Weather&amp;diff=16578"/>
		<updated>2008-04-18T04:08:46Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The page lists ID's up to 45, however the setWeather() function returns false if you try to set an ID over 19, should those above 19 be removed?&lt;br /&gt;
It is possible to use all the IDs listed on the page by manually editing the memory of your game.&lt;br /&gt;
:Are the IDs over 19 useful? Remove them for now, but if they're useful we can consider re-adding them. [[User:EAi|eAi]] 17:34, 17 April 2008 (CDT)&lt;br /&gt;
 They could be usefull after a future build is released if the Weather scripting functions are changed to allow ID's over 19.--[[User:Stevvo|Stevvo]] 23:08, 17 April 2008 (CDT)&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Weather&amp;diff=16577</id>
		<title>Weather</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Weather&amp;diff=16577"/>
		<updated>2008-04-18T04:06:30Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Weather can be changed using [[setWeather]] and [[setWeatherBlended]].&lt;br /&gt;
==Weather IDs==&lt;br /&gt;
* '''0 to 7:''' Different Versions of Blue Skies /  Clouds	&lt;br /&gt;
* '''8:''' Stormy&lt;br /&gt;
* '''9:''' Cloudy and Foggy&lt;br /&gt;
* '''10:''' Clear Blue Sky&lt;br /&gt;
* '''11:''' Scorching Hot (Los Santos heat waves)&lt;br /&gt;
* '''12 to 15:''' Very Dull, Colourless, Hazy&lt;br /&gt;
* '''16:''' Dull, Cloudy, Rainy&lt;br /&gt;
* '''17 to 18:''' Scorching Hot&lt;br /&gt;
* '''19:''' Sandstorm&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Weather&amp;diff=16574</id>
		<title>Talk:Weather</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Weather&amp;diff=16574"/>
		<updated>2008-04-17T19:36:27Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: New page: The page lists ID's up to 45, however the setWeather() function returns false if you try to set an ID over 19, should those above 19 be removed? It is possible to use all the IDs listed on...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The page lists ID's up to 45, however the setWeather() function returns false if you try to set an ID over 19, should those above 19 be removed?&lt;br /&gt;
It is possible to use all the IDs listed on the page by manually editing the memory of your game.&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:SetWeather&amp;diff=16573</id>
		<title>Talk:SetWeather</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:SetWeather&amp;diff=16573"/>
		<updated>2008-04-17T19:34:50Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: New page: Could you remove the check that looks if the weather id is below 19 in a future build? The weather id page lists weathers up to 45, manually editing the memory i have had success with weat...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Could you remove the check that looks if the weather id is below 19 in a future build?&lt;br /&gt;
The weather id page lists weathers up to 45, manually editing the memory i have had success with weather IDs as high as 900.&lt;br /&gt;
Some weather IDs, such as 700 produce really crazy effects that are similar to a nuke going off, there could be some creative use for these.&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetGameSpeed&amp;diff=16477</id>
		<title>SetGameSpeed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetGameSpeed&amp;diff=16477"/>
		<updated>2008-04-02T15:43:17Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: Confirmed to work client-side&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
==Description==&lt;br /&gt;
This function sets the game speed to the given value.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;setGameSpeed ( int value )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''value''': The int value of the game speed (Range 0 - 10)&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function gamespeedfunction ( sourcePlayer, command, value )&lt;br /&gt;
      setGameSpeed ( tonumber ( value ) )&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;setgamespeed&amp;quot;, gamespeedfunction )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{World functions}}&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetGameSpeed&amp;diff=16476</id>
		<title>SetGameSpeed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetGameSpeed&amp;diff=16476"/>
		<updated>2008-04-02T15:25:25Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Needs Checking| Is this function implemented client-side? if so, does it work correctly client-side? }}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
==Description==&lt;br /&gt;
This function sets the game speed to the given value.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;setGameSpeed ( int value )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''value''': The int value of the game speed (Range 0 - 10)&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function gamespeedfunction ( sourcePlayer, command, value )&lt;br /&gt;
      setGameSpeed ( tonumber ( value ) )&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;setgamespeed&amp;quot;, gamespeedfunction )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{World functions}}&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:PreloadMissionAudio&amp;diff=16475</id>
		<title>Talk:PreloadMissionAudio</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:PreloadMissionAudio&amp;diff=16475"/>
		<updated>2008-04-02T12:54:10Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: New page: Looks like the code for this function is fully working, but it has been left out for some reason? Any word on when it will be added? Sooner rather than later would be nice.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Looks like the code for this function is fully working, but it has been left out for some reason? Any word on when it will be added? Sooner rather than later would be nice.&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:PlayMissionAudio&amp;diff=16474</id>
		<title>Talk:PlayMissionAudio</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:PlayMissionAudio&amp;diff=16474"/>
		<updated>2008-04-02T12:53:02Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: New page: Looks like the code for this function is fully working, but it has been left out for some reason? Any word on when it will be added? Sooner rather than later would be nice.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Looks like the code for this function is fully working, but it has been left out for some reason?&lt;br /&gt;
Any word on when it will be added? Sooner rather than later would be nice.&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreatePed&amp;diff=16174</id>
		<title>CreatePed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreatePed&amp;diff=16174"/>
		<updated>2008-03-14T17:56:33Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Creates a Ped in the GTA world.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;ped createPed ( int modelid, float x, float y, float z, float r )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''modelid:''' A whole integer specifying the GTASA skin ID.&lt;br /&gt;
*'''x:''' A floating point number representing the X coordinate on the map.&lt;br /&gt;
*'''y:''' A floating point number representing the Y coordinate on the map.&lt;br /&gt;
*'''z:''' A floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Unknown, possibly the element of the ped?&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example creates an ped when the map starts:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function pedLoad ( name )&lt;br /&gt;
   -- create an object at a specified position with a specified rotation&lt;br /&gt;
   createPed ( 120, 5540.6654, 1020.55122, 1240.545 )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onResourceStart&amp;quot;, getRootElement(), pedLoad )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Ped functions}}&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreatePed&amp;diff=16172</id>
		<title>CreatePed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreatePed&amp;diff=16172"/>
		<updated>2008-03-13T21:45:26Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: New page: __NOTOC__  {{Server client function}} Creates a Ped in the GTA world.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;object createPed ( int modelid, float x, float y, float z, float r )&amp;lt;/syntaxhighlight&amp;gt;   ===Required Ar...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Creates a Ped in the GTA world.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;object createPed ( int modelid, float x, float y, float z, float r )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''modelid:''' A whole integer specifying the GTASA skin ID.&lt;br /&gt;
*'''x:''' A floating point number representing the X coordinate on the map.&lt;br /&gt;
*'''y:''' A floating point number representing the Y coordinate on the map.&lt;br /&gt;
*'''z:''' A floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Unknown&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example creates an ped when the map starts:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function pedLoad ( name )&lt;br /&gt;
   -- create an object at a specified position with a specified rotation&lt;br /&gt;
   createPed ( 120, 5540.6654, 1020.55122, 1240.545 )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onResourceStart&amp;quot;, getRootElement(), pedLoad )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Ped functions}}&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetAccountData&amp;diff=14574</id>
		<title>SetAccountData</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetAccountData&amp;diff=14574"/>
		<updated>2008-01-06T16:30:22Z</updated>

		<summary type="html">&lt;p&gt;Stevvo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Note_box|It is strongly recommended that you use the standard ''module.key'' naming for your keys, as shown in the example below. This prevents collisions between different scripts.}}&lt;br /&gt;
This function sets a string to be stored in an account. This can then be retrieved using [[getAccountData]]. Data stored as account data is persistent across user's sessions and maps, unless they are logged into a guest account.&lt;br /&gt;
&lt;br /&gt;
NOTE: Editing account data while the server is running currently deletes the account.&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 setAccountData ( account theAccount, string key, string value )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theAccount:''' The account you wish to retrieve the data from.&lt;br /&gt;
*'''key:''' The key under which you wish to store the data&lt;br /&gt;
*'''value:''' The value you wish to store&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a ''true'' if the account data was set, ''false'' if an invalid argument was specified.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
For a pirate roleplaying gametype, the amount of money a player has is made persistent by storing it in his account. Note the code uses &amp;quot;piraterpg.money&amp;quot; as key instead of just &amp;quot;money&amp;quot;, as the player may be participating in other gametypes that also save his money amount to his account. If both gametypes would use &amp;quot;money&amp;quot; as the account key, they'd overwrite each other's data.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerQuit ( )&lt;br /&gt;
      -- when a player leaves, store his current money amount in his account data&lt;br /&gt;
      local playeraccount = getClientAccount ( source )&lt;br /&gt;
      if ( playeraccount ) then&lt;br /&gt;
            local playermoney = getPlayerMoney ( source )&lt;br /&gt;
            setAccountData ( playeraccount, &amp;quot;piraterpg.money&amp;quot;, playermoney )&lt;br /&gt;
      end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function onPlayerJoin ( )&lt;br /&gt;
      -- when a player joins, retrieve his money amount from his account data and set it&lt;br /&gt;
      local playeraccount = getClientAccount ( source )&lt;br /&gt;
      if ( playeraccount ) then&lt;br /&gt;
            local playermoney = getAccountData ( playeraccount, &amp;quot;piraterpg.money&amp;quot; )&lt;br /&gt;
            -- make sure there was actually a value saved under this key (check if playermoney is not false).&lt;br /&gt;
            -- this will for example not be the case when a player plays the gametype for the first time&lt;br /&gt;
            if ( playermoney ) then&lt;br /&gt;
                  setPlayerMoney ( source, playermoney )&lt;br /&gt;
            end&lt;br /&gt;
      end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerQuit&amp;quot;, getRootElement ( ), onPlayerQuit )&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerJoin&amp;quot;, getRootElement ( ), onPlayerJoin )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Account_functions}}&lt;br /&gt;
[[Category:Incomplete]]&lt;/div&gt;</summary>
		<author><name>Stevvo</name></author>
	</entry>
</feed>