<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jengas</id>
	<title>RAGE Multiplayer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jengas"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/Jengas"/>
	<updated>2026-06-04T05:30:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Events::delayInitialization&amp;diff=18232</id>
		<title>Events::delayInitialization</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Events::delayInitialization&amp;diff=18232"/>
		<updated>2019-11-21T08:49:41Z</updated>

		<summary type="html">&lt;p&gt;Jengas: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServersideJsFunction}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This function delays server&#039;s initialization of packages to run early functions.&lt;br /&gt;
&lt;br /&gt;
==Setter==&lt;br /&gt;
* {{RageType|Boolean}}&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{ServersideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.delayInitialization = true;&lt;br /&gt;
let asyncDone = false;&lt;br /&gt;
&lt;br /&gt;
(async () =&amp;gt; {&lt;br /&gt;
  // async calls done, now let it invoke &amp;quot;packagesLoaded&amp;quot;&lt;br /&gt;
  await someAsyncFunction();&lt;br /&gt;
  mp.events.delayInitialization = false;&lt;br /&gt;
  asyncDone = true;&lt;br /&gt;
})();&lt;br /&gt;
&lt;br /&gt;
mp.events.add(&#039;packagesLoaded&#039;, () =&amp;gt; {&lt;br /&gt;
  console.log(`async done: ${asyncDone}`); // Doesn&#039;t get triggered till mp.events.delayInitialization is true.&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Event_functions}}&lt;/div&gt;</summary>
		<author><name>Jengas</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Blip::Blip&amp;diff=18200</id>
		<title>Blip::Blip</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Blip::Blip&amp;diff=18200"/>
		<updated>2019-11-10T19:43:00Z</updated>

		<summary type="html">&lt;p&gt;Jengas: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SharedFunctionJS}}&lt;br /&gt;
&lt;br /&gt;
Creates a blip to display on your map &amp;amp; minimap.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.blips.new(sprite, position,&lt;br /&gt;
{&lt;br /&gt;
    name: name,&lt;br /&gt;
    scale: scale,&lt;br /&gt;
    color: color,&lt;br /&gt;
    alpha: alpha,&lt;br /&gt;
    drawDistance: drawDistance,&lt;br /&gt;
    shortRange: shortRange,&lt;br /&gt;
    rotation: rotation,&lt;br /&gt;
    dimension: dimension,&lt;br /&gt;
    radius: radius,&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;span style=&amp;quot;font-weight:bold; color:red;&amp;quot;&amp;gt;*&amp;lt;/span&amp;gt;sprite&#039;&#039;&#039;: {{RageType|Int}} ([[Blips#Blip_model|Blip sprites]])&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;span style=&amp;quot;font-weight:bold; color:red;&amp;quot;&amp;gt;*&amp;lt;/span&amp;gt;position&#039;&#039;&#039;: {{RageType|Vector3}}&lt;br /&gt;
*&#039;&#039;&#039;name&#039;&#039;&#039;: {{RageType|String}}&lt;br /&gt;
*&#039;&#039;&#039;scale&#039;&#039;&#039;: {{RageType|Float}}&lt;br /&gt;
*&#039;&#039;&#039;color&#039;&#039;&#039;: {{RageType|Color ID}} ([[Blips#Blip_colors|Blip colors]])&lt;br /&gt;
*&#039;&#039;&#039;alpha&#039;&#039;&#039;: {{RageType|Int}} [0:255]&lt;br /&gt;
*&#039;&#039;&#039;drawDistance&#039;&#039;&#039;: {{RageType|Float}}&lt;br /&gt;
*&#039;&#039;&#039;shortRange&#039;&#039;&#039;: {{RageType|Boolean}}: Auto-hide on the minimap&lt;br /&gt;
*&#039;&#039;&#039;rotation&#039;&#039;&#039;: {{RageType|Float}}&lt;br /&gt;
*&#039;&#039;&#039;dimension&#039;&#039;&#039;: {{RageType|Int}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-weight:bold; color:red;&amp;quot;&amp;gt;*&amp;lt;/span&amp;gt; = Required&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This creates a blip at the police station. The blip is assigned to the variable &#039;&#039;&#039;policeBlip&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;header&amp;quot; style=&amp;quot;background-color: #00baad; color: #FFFFFF; border: 2px solid #00baad;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 10px 10px 10px 10px;&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Shared&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
let policeBlip = mp.blips.new(60, new mp.Vector3(427.95, -981.05, 0),&lt;br /&gt;
    {&lt;br /&gt;
        name: &#039;Los Santos Police Station&#039;,&lt;br /&gt;
        color: 3,&lt;br /&gt;
        shortRange: true,&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{Blip_definition}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Blip API]]&lt;br /&gt;
[[Category:Shared Function]]&lt;/div&gt;</summary>
		<author><name>Jengas</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Colshapes::newCuboid&amp;diff=17762</id>
		<title>Colshapes::newCuboid</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Colshapes::newCuboid&amp;diff=17762"/>
		<updated>2019-07-20T16:50:46Z</updated>

		<summary type="html">&lt;p&gt;Jengas: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SharedFunctionJS}}&lt;br /&gt;
&lt;br /&gt;
Creates a cuboid ColShape in 3D space&lt;br /&gt;
==Parameters==&lt;br /&gt;
* &#039;&#039;&#039;x:&#039;&#039;&#039; {{RageType|Number}} in float&lt;br /&gt;
* &#039;&#039;&#039;y:&#039;&#039;&#039;  {{RageType|Number}} in float&lt;br /&gt;
* &#039;&#039;&#039;z:&#039;&#039;&#039;  {{RageType|Number}} in float&lt;br /&gt;
* &#039;&#039;&#039;width:&#039;&#039;&#039; {{RageType|Number}} in float&lt;br /&gt;
* &#039;&#039;&#039;depth:&#039;&#039;&#039; {{RageType|Number}} in float&lt;br /&gt;
* &#039;&#039;&#039;height:&#039;&#039;&#039; {{RageType|Number}} in float&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.colshapes.newCuboid(x, y, z, width, depth, height)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Colshapes_function}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ColShape API]]&lt;br /&gt;
[[Category:Shared Function]]&lt;/div&gt;</summary>
		<author><name>Jengas</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Streaming::requestModel&amp;diff=17676</id>
		<title>Streaming::requestModel</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Streaming::requestModel&amp;diff=17676"/>
		<updated>2019-05-27T17:17:10Z</updated>

		<summary type="html">&lt;p&gt;Jengas: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Request a model to be loaded into memory&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Looking it the disassembly, it seems like it actually returns the model if it&#039;s already loaded.&amp;lt;br&amp;gt;&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;mp.game.streaming.requestModel(modelHash);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;model:&#039;&#039;&#039; Model hash&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;Undefined&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.game.streaming.requestModel(mp.game.joaat(&#039;a_f_y_juggalo_01&#039;));&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Streaming_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Jengas</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Streaming::requestModel&amp;diff=17675</id>
		<title>Streaming::requestModel</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Streaming::requestModel&amp;diff=17675"/>
		<updated>2019-05-27T17:15:41Z</updated>

		<summary type="html">&lt;p&gt;Jengas: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Request a model to be loaded into memory&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Looking it the disassembly, it seems like it actually returns the model if it&#039;s already loaded.&amp;lt;br&amp;gt;&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;mp.game.streaming.requestModel(modelHash);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;model:&#039;&#039;&#039; Model hash&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;Undefined&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.game.streaming.requestModel(&amp;quot;infernus&amp;quot;, () =&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    mp.gui.outputChatBox(`${mp.game.streaming.hasModelLoaded(&amp;quot;infernus&amp;quot;)} is true`);&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See also==&lt;br /&gt;
{{Streaming_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Jengas</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=PlayerLeaveVehicle&amp;diff=16714</id>
		<title>PlayerLeaveVehicle</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=PlayerLeaveVehicle&amp;diff=16714"/>
		<updated>2018-12-27T20:04:27Z</updated>

		<summary type="html">&lt;p&gt;Jengas: Fixed typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Triggers when the player exits the vehicle&lt;br /&gt;
{{ServersideCsJsEvent}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
{{Example}}&lt;br /&gt;
To do&lt;br /&gt;
}}&lt;br /&gt;
{{ClientsideCsJsEvent}}&lt;br /&gt;
{{CSharpContainer|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public delegate void OnPlayerLeaveVehicleDelegate();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Parameters}}&lt;br /&gt;
* This event has no parameters&lt;br /&gt;
&lt;br /&gt;
{{Example}}&lt;br /&gt;
The example below send a chat message to the player when they exit a vehicle.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
Events.OnPlayerLeaveVehicle += OnPlayerLeaveVehicle();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public void OnPlayerLeaveVehicle()&lt;br /&gt;
{&lt;br /&gt;
    RAGE.Chat.Output(&amp;quot;You exited a vehicle&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
{{Example}}&lt;br /&gt;
This example outputs chat message, when player start leave from the car.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.add(&amp;quot;playerLeaveVehicle&amp;quot;, () =&amp;gt; {&lt;br /&gt;
    mp.gui.chat.push(&amp;quot;Player start leave the vehicle&amp;quot;);&lt;br /&gt;
})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Player_events}}&lt;/div&gt;</summary>
		<author><name>Jengas</name></author>
	</entry>
</feed>