<?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=Blue+Zircon</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=Blue+Zircon"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Blue_Zircon"/>
	<updated>2026-04-16T22:03:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateMarker&amp;diff=2114</id>
		<title>CreateMarker</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateMarker&amp;diff=2114"/>
		<updated>2006-05-01T01:30:55Z</updated>

		<summary type="html">&lt;p&gt;Blue Zircon: Added size argument&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Needs_Checking|Are there going to be more than the two marker types? what about ring markers?|[[User:Vandalite|Vandalite]]}}&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This function creates a marker and returns a handle to the created marker. If it fails, it will return false.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
 [[marker]] [[createMarker]] ( float x, float y, float z, [int type, int size, int r, int g, int b] )&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&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;
* '''type''': The visual type of the marker to be created.&lt;br /&gt;
* '''size''': The size of the marker to be created.&lt;br /&gt;
* '''r''': An integer number representing the amount of red to use in the colouring of the marker.&lt;br /&gt;
* '''g''': An integer number representing the amount of green to use in the colouring of the marker.&lt;br /&gt;
* '''b''': An integer number representing the amount of blue to use in the colouring of the marker.&lt;br /&gt;
&lt;br /&gt;
==Acceptable type values==&lt;br /&gt;
* '''0''': Checkpoint&lt;br /&gt;
* '''1''': Corona (doughnut-shaped)&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
 function [[onPlayerChat]] ( player, chat )&lt;br /&gt;
   if ( [[strtok]] ( chat, 1, 32 ) == &amp;quot;!createmarker&amp;quot; ) then&lt;br /&gt;
     x, y, z = [[getPlayerPosition]] ( player )&lt;br /&gt;
     [[createMarker]] ( x + 5, y, z, 0, 1, 255, 0, 0 )&lt;br /&gt;
     [[playerPM]] ( player, &amp;quot;You got a red marker&amp;quot; )&lt;br /&gt;
   end&lt;br /&gt;
 end&lt;/div&gt;</summary>
		<author><name>Blue Zircon</name></author>
	</entry>
</feed>