<?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=Shr0x</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=Shr0x"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/Shr0x"/>
	<updated>2026-07-18T15:48:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Getting_Started_with_Events&amp;diff=27530</id>
		<title>Getting Started with Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Getting_Started_with_Events&amp;diff=27530"/>
		<updated>2026-04-07T00:42:32Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;max-width:1200px; margin:0 auto; font-family:system-ui, -apple-system, BlinkMacSystemFont, &#039;Segoe UI&#039;, sans-serif; line-height:1.65;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border:1px solid #334155; border-radius:18px; padding:28px 30px; margin:16px 0 24px 0; color:#f8fafc;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:13px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:#93c5fd; margin-bottom:10px;&amp;quot;&amp;gt;&lt;br /&gt;
RAGE:MP Documentation&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:34px; font-weight:800; line-height:1.15; margin-bottom:12px;&amp;quot;&amp;gt;&lt;br /&gt;
Events System&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:16px; color:#cbd5e1; max-width:850px;&amp;quot;&amp;gt;&lt;br /&gt;
Events are the backbone of scripting in RAGE:MP. This page explains what they are, how to register them, how communication works between server, client, and CEF, and how to manage them cleanly.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; margin:0 0 24px 0;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; padding:18px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:12px; font-weight:700; text-transform:uppercase; color:#64748b; margin-bottom:8px;&amp;quot;&amp;gt;Core Idea&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:18px; font-weight:800; color:#0f172a; margin-bottom:6px;&amp;quot;&amp;gt;Events react to things&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; font-size:14px;&amp;quot;&amp;gt;Built-in events react automatically. Custom events react when you trigger them.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; padding:18px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:12px; font-weight:700; text-transform:uppercase; color:#64748b; margin-bottom:8px;&amp;quot;&amp;gt;Communication&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:18px; font-weight:800; color:#0f172a; margin-bottom:6px;&amp;quot;&amp;gt;Know your direction&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; font-size:14px;&amp;quot;&amp;gt;Server, client, and CEF do not all communicate the same way.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; padding:18px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:12px; font-weight:700; text-transform:uppercase; color:#64748b; margin-bottom:8px;&amp;quot;&amp;gt;Rule&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:18px; font-weight:800; color:#0f172a; margin-bottom:6px;&amp;quot;&amp;gt;Register first&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; font-size:14px;&amp;quot;&amp;gt;An event must be registered before you can use or trigger it.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:16px; padding:22px; margin:0 0 20px 0;&amp;quot;&amp;gt;&lt;br /&gt;
Events are the &amp;lt;b&amp;gt;core scripting system&amp;lt;/b&amp;gt; for RAGE:MP.&lt;br /&gt;
&lt;br /&gt;
They are registered by you and triggered when a specific action or situation happens.&lt;br /&gt;
&lt;br /&gt;
For example, [[PlayerEnterCheckpoint|PlayerEnterCheckpoint]] is triggered when a player enters a checkpoint.  &lt;br /&gt;
That event gives you:&lt;br /&gt;
&amp;lt;ul style=&amp;quot;margin:10px 0 0 20px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;the &amp;lt;b&amp;gt;Player&amp;lt;/b&amp;gt; that entered it&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;the &amp;lt;b&amp;gt;Checkpoint&amp;lt;/b&amp;gt; that was entered&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Event Types ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:16px; margin:0 0 22px 0;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:linear-gradient(180deg, #eff6ff 0%, #ffffff 100%); border:1px solid #bfdbfe; border-radius:18px; padding:22px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:13px; font-weight:800; text-transform:uppercase; color:#1d4ed8; margin-bottom:8px;&amp;quot;&amp;gt;Type 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:24px; font-weight:800; color:#0f172a; margin-bottom:10px;&amp;quot;&amp;gt;Built-in Events&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#334155; margin-bottom:12px;&amp;quot;&amp;gt;&lt;br /&gt;
These are provided by &amp;lt;b&amp;gt;RAGE:MP&amp;lt;/b&amp;gt; and are triggered automatically in certain situations.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; font-size:14px; margin-bottom:10px;&amp;quot;&amp;gt;Examples:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;margin:0 0 12px 20px; color:#475569;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;player entering a checkpoint&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;player quitting&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;player spawning&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:14px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Lists:&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
* [[Server-side_events|Server-side events]]&amp;lt;br /&amp;gt;&lt;br /&gt;
* [[Client-side_events|Client-side events]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%); border:1px solid #bbf7d0; border-radius:18px; padding:22px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:13px; font-weight:800; text-transform:uppercase; color:#15803d; margin-bottom:8px;&amp;quot;&amp;gt;Type 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:24px; font-weight:800; color:#0f172a; margin-bottom:10px;&amp;quot;&amp;gt;Custom Events&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#334155; margin-bottom:12px;&amp;quot;&amp;gt;&lt;br /&gt;
These are created by &amp;lt;b&amp;gt;you&amp;lt;/b&amp;gt; and can be triggered whenever you want.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; font-size:14px; margin-bottom:10px;&amp;quot;&amp;gt;Use them to:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;margin:0 0 0 20px; color:#475569;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;connect systems together&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;trigger your own gameplay logic&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;send data between layers&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;create reusable scripting flows&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Registering Events ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#fff7ed; border:1px solid #fdba74; border-radius:16px; padding:16px 18px; margin:0 0 18px 0; color:#9a3412;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Important:&amp;lt;/b&amp;gt; You must register an event before using it anywhere.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Server-side Event ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:16px; padding:18px; margin:0 0 18px 0;&amp;quot;&amp;gt;&lt;br /&gt;
A normal server-side event can be registered like this:&lt;br /&gt;
{{ServersideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.add(&#039;eventName&#039;, (arg1, arg2) =&amp;gt; {&lt;br /&gt;
    // code&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Client → Server Event ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:16px; padding:18px; margin:0 0 18px 0;&amp;quot;&amp;gt;&lt;br /&gt;
If the event is &amp;lt;b&amp;gt;triggered from client-side&amp;lt;/b&amp;gt; but &amp;lt;b&amp;gt;registered on server-side&amp;lt;/b&amp;gt;, the first argument must be &amp;lt;b&amp;gt;player&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This happens because the client sends the local player together with the event data, allowing the server to know who triggered it.&lt;br /&gt;
{{ServersideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.add(&#039;eventName&#039;, (player, arg1, arg2) =&amp;gt; {&lt;br /&gt;
    // code&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CEF Notes ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#f8fafc; border:1px solid #cbd5e1; border-radius:16px; padding:18px; margin:0 0 22px 0;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:18px; font-weight:800; color:#0f172a; margin-bottom:10px;&amp;quot;&amp;gt;CEF behaves differently&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;margin:0 0 12px 20px; color:#475569;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;CEF cannot communicate directly with server-side&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;CEF mainly communicates with client-side&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Older documentation often describes CEF more restrictively, but newer support exists in later versions&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:14px; font-weight:700; color:#334155; margin-bottom:8px;&amp;quot;&amp;gt;In version 1.1:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#0f172a; color:#e2e8f0; border-radius:14px; padding:16px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;margin:0; white-space:pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
Added: CEF: mp.events.add(string eventName, function handler)&lt;br /&gt;
Added: CEF: mp.events.reset()&lt;br /&gt;
Added: CEF: mp.events.remove(string eventName)&lt;br /&gt;
Added: CEF: mp.events.call(string eventName) (alias to mp.trigger)&lt;br /&gt;
Added: Client-side: Browser.call(eventName, arguments...)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calling Events ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#eef2ff; border:1px solid #c7d2fe; border-radius:16px; padding:18px; margin:0 0 20px 0; color:#3730a3;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Tip:&amp;lt;/b&amp;gt; Most event confusion comes from not knowing which side is calling which side.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:16px; margin:0 0 24px 0;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:18px; padding:20px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:12px; font-weight:800; text-transform:uppercase; color:#64748b; margin-bottom:8px;&amp;quot;&amp;gt;Local&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:22px; font-weight:800; color:#0f172a; margin-bottom:10px;&amp;quot;&amp;gt;Same Side&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; margin-bottom:12px;&amp;quot;&amp;gt;Use this when you call an event on the same side it exists on.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-weight:700; margin-bottom:8px;&amp;quot;&amp;gt;Syntax&amp;lt;/div&amp;gt;&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.call(&#039;eventName&#039;, args);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:18px; padding:20px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:12px; font-weight:800; text-transform:uppercase; color:#64748b; margin-bottom:8px;&amp;quot;&amp;gt;Remote&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:22px; font-weight:800; color:#0f172a; margin-bottom:10px;&amp;quot;&amp;gt;Server → Client&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; margin-bottom:12px;&amp;quot;&amp;gt;The server tells one player or multiple players to execute a client-side event.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-weight:700; margin-bottom:8px;&amp;quot;&amp;gt;Single player&amp;lt;/div&amp;gt;&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
player.call(&#039;eventName&#039;, [arg1, arg2]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-weight:700; margin:14px 0 8px 0;&amp;quot;&amp;gt;All players&amp;lt;/div&amp;gt;&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.players.call(&#039;eventName&#039;, [arg1, arg2]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-weight:700; margin:14px 0 8px 0;&amp;quot;&amp;gt;Filtered players&amp;lt;/div&amp;gt;&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.players.call(&lt;br /&gt;
    mp.players.toArray().filter((_player) =&amp;gt; _player.name == &#039;WeirdNewbie&#039;),&lt;br /&gt;
    &#039;eventName&#039;,&lt;br /&gt;
    [args]&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:18px; padding:20px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:12px; font-weight:800; text-transform:uppercase; color:#64748b; margin-bottom:8px;&amp;quot;&amp;gt;Remote&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:22px; font-weight:800; color:#0f172a; margin-bottom:10px;&amp;quot;&amp;gt;Client → Server&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; margin-bottom:12px;&amp;quot;&amp;gt;Use this when the client wants to trigger a server-side event.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-weight:700; margin-bottom:8px;&amp;quot;&amp;gt;Syntax&amp;lt;/div&amp;gt;&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.callRemote(&#039;eventName&#039;, args);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:18px; padding:20px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:12px; font-weight:800; text-transform:uppercase; color:#64748b; margin-bottom:8px;&amp;quot;&amp;gt;Bridge&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:22px; font-weight:800; color:#0f172a; margin-bottom:10px;&amp;quot;&amp;gt;Client ↔ CEF&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; margin-bottom:12px;&amp;quot;&amp;gt;CEF does not directly talk to server-side. It goes through the client.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-weight:700; margin-bottom:8px;&amp;quot;&amp;gt;Client → CEF&amp;lt;/div&amp;gt;&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mbrowser.execute(`javascriptFunction(&#039;${variable1}&#039;, &#039;${variable2}&#039;);`);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-weight:700; margin:14px 0 8px 0;&amp;quot;&amp;gt;CEF → Client&amp;lt;/div&amp;gt;&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.trigger(&#039;eventName&#039;, args);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Flow ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:18px; padding:22px; margin:0 0 24px 0;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:22px; font-weight:800; color:#0f172a; margin-bottom:10px;&amp;quot;&amp;gt;Server command triggering a client effect&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; margin-bottom:18px;&amp;quot;&amp;gt;&lt;br /&gt;
In this example, a player uses a server command, and the server tells that player&#039;s client to start a screen effect.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:16px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:16px; font-weight:800; color:#0f172a; margin-bottom:8px;&amp;quot;&amp;gt;Server-side&amp;lt;/div&amp;gt;&lt;br /&gt;
{{ServersideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.addCommand(&#039;effect&#039;, (player, fullText, effect) =&amp;gt; {&lt;br /&gt;
    player.call(&#039;startEffectEvent&#039;, [effect]);&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:16px; font-weight:800; color:#0f172a; margin-bottom:8px;&amp;quot;&amp;gt;Client-side&amp;lt;/div&amp;gt;&lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.add(&#039;startEffectEvent&#039;, (effect) =&amp;gt; {&lt;br /&gt;
    mp.game.graphics.startScreenEffect(effect, 10000, false);&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cancelling and Managing Events ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:16px; margin:0 0 24px 0;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:18px; padding:20px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:12px; font-weight:800; text-transform:uppercase; color:#64748b; margin-bottom:8px;&amp;quot;&amp;gt;Method 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:22px; font-weight:800; color:#0f172a; margin-bottom:10px;&amp;quot;&amp;gt;Pause / Destroy&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; margin-bottom:12px;&amp;quot;&amp;gt;&lt;br /&gt;
To control an event instance directly, you can use &amp;lt;b&amp;gt;mp.Event&amp;lt;/b&amp;gt;.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{ServersideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
let ev = new mp.Event(&amp;quot;playerDeath&amp;quot;, (player, reason, killer) =&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    mp.players.broadcast(&#039;First blood!&#039;);&lt;br /&gt;
    ev.destroy(); // this event handler will not be called anymore&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
// ev.destroy(); // destroy it before it can execute again&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:18px; padding:20px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:12px; font-weight:800; text-transform:uppercase; color:#64748b; margin-bottom:8px;&amp;quot;&amp;gt;Method 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:22px; font-weight:800; color:#0f172a; margin-bottom:10px;&amp;quot;&amp;gt;Remove from Tree&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#475569; margin-bottom:12px;&amp;quot;&amp;gt;&lt;br /&gt;
You can remove a specific handler, remove all handlers for an event, remove multiple events, or reset the whole tree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{SharedCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Remove specified handler of specified event&lt;br /&gt;
function playerJoinHandler(player)&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
mp.events.add(&amp;quot;playerJoin&amp;quot;, playerJoinHandler);&lt;br /&gt;
mp.events.remove(&amp;quot;playerJoin&amp;quot;, playerJoinHandler);&lt;br /&gt;
&lt;br /&gt;
// Remove handler(s) of specified event(s)&lt;br /&gt;
mp.events.remove(&amp;quot;playerJoin&amp;quot;);&lt;br /&gt;
mp.events.remove([&amp;quot;playerJoin&amp;quot;, &amp;quot;playerQuit&amp;quot;]);&lt;br /&gt;
&lt;br /&gt;
// Reset whole event tree&lt;br /&gt;
mp.events.reset();&lt;br /&gt;
&lt;br /&gt;
// Get all handlers of specified event&lt;br /&gt;
mp.events.getAllOf(&amp;quot;playerJoin&amp;quot;).forEach(_ev =&amp;gt; _ev(null));&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Quick Reference ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#0f172a; border:1px solid #334155; border-radius:18px; padding:22px; margin:0 0 24px 0; color:#e2e8f0;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:22px; font-weight:800; margin-bottom:14px;&amp;quot;&amp;gt;Cheat Sheet&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%; background:#ffffff; color:#0f172a; border-radius:12px; overflow:hidden;&amp;quot;&lt;br /&gt;
! style=&amp;quot;padding:10px;&amp;quot; | Action&lt;br /&gt;
! style=&amp;quot;padding:10px;&amp;quot; | Method&lt;br /&gt;
|-&lt;br /&gt;
| Register local event&lt;br /&gt;
| &amp;lt;code&amp;gt;mp.events.add(...)&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Call local event&lt;br /&gt;
| &amp;lt;code&amp;gt;mp.events.call(...)&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Client to server&lt;br /&gt;
| &amp;lt;code&amp;gt;mp.events.callRemote(...)&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Server to one client&lt;br /&gt;
| &amp;lt;code&amp;gt;player.call(...)&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Server to all clients&lt;br /&gt;
| &amp;lt;code&amp;gt;mp.players.call(...)&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| CEF to client&lt;br /&gt;
| &amp;lt;code&amp;gt;mp.trigger(...)&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Client to CEF&lt;br /&gt;
| &amp;lt;code&amp;gt;browser.execute(...)&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Remove event&lt;br /&gt;
| &amp;lt;code&amp;gt;mp.events.remove(...)&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Reset all events&lt;br /&gt;
| &amp;lt;code&amp;gt;mp.events.reset()&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); border:1px solid #e2e8f0; border-radius:18px; padding:22px; margin:0 0 24px 0;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;margin:0 0 0 20px; color:#334155;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Events are the foundation of scripting in RAGE:MP&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Built-in events are automatic, custom events are created by you&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Always register events before using them&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Server, client, and CEF each have different communication rules&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;You can disable, destroy, remove, or reset events when needed&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#ffffff; border:1px solid #e2e8f0; border-radius:16px; padding:18px; margin:0 0 20px 0;&amp;quot;&amp;gt;&lt;br /&gt;
{{ScriptingTutorials}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=System::connectToServer&amp;diff=27529</id>
		<title>System::connectToServer</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=System::connectToServer&amp;diff=27529"/>
		<updated>2026-02-11T18:06:54Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  === Required Params === *&amp;#039;&amp;#039;&amp;#039;ip:&amp;#039;&amp;#039;&amp;#039; {{RageType|string}} *&amp;#039;&amp;#039;&amp;#039;port:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;sessionData:&amp;#039;&amp;#039;&amp;#039; {{RageType|string}} (Optional)  === Return value === *&amp;#039;&amp;#039;&amp;#039; {{RageType|void}} &amp;#039;&amp;#039;&amp;#039;  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.system.connectToServer(ip, port, sessionData); &amp;lt;/syntaxhighlight&amp;gt;  == Example == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.system.connectToServer(&amp;quot;127.0.0.1&amp;quot;, 22005, &amp;quot;playerAuthToken&amp;quot;); &amp;lt;/syntaxhi...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
=== Required Params ===&lt;br /&gt;
*&#039;&#039;&#039;ip:&#039;&#039;&#039; {{RageType|string}}&lt;br /&gt;
*&#039;&#039;&#039;port:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;sessionData:&#039;&#039;&#039; {{RageType|string}} (Optional)&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
*&#039;&#039;&#039; {{RageType|void}} &#039;&#039;&#039;&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.system.connectToServer(ip, port, sessionData);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&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.system.connectToServer(&amp;quot;127.0.0.1&amp;quot;, 22005, &amp;quot;playerAuthToken&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If &#039;&#039;&#039;sessionData&#039;&#039;&#039; is provided, it will be available in:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.storage.sessionData&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
after connection completes.&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{System_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=System::setConnectableServers&amp;diff=27528</id>
		<title>System::setConnectableServers</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=System::setConnectableServers&amp;diff=27528"/>
		<updated>2026-02-11T18:04:03Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  === Required Params === *&amp;#039;&amp;#039;&amp;#039;serverIps:&amp;#039;&amp;#039;&amp;#039; {{RageType|Array&amp;lt;string&amp;gt;}}  === Return value === *&amp;#039;&amp;#039;&amp;#039; {{RageType|void}} &amp;#039;&amp;#039;&amp;#039;  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.system.setConnectableServers(serverIps); &amp;lt;/syntaxhighlight&amp;gt;  == Example == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.system.setConnectableServers([&amp;quot;127.0.0.1&amp;quot;, &amp;quot;192.168.1.10&amp;quot;]); &amp;lt;/syntaxhighlight&amp;gt;  == Notes == * Can only be called once during script initialization....&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
=== Required Params ===&lt;br /&gt;
*&#039;&#039;&#039;serverIps:&#039;&#039;&#039; {{RageType|Array&amp;lt;string&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
*&#039;&#039;&#039; {{RageType|void}} &#039;&#039;&#039;&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.system.setConnectableServers(serverIps);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&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.system.setConnectableServers([&amp;quot;127.0.0.1&amp;quot;, &amp;quot;192.168.1.10&amp;quot;]);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Can only be called once during script initialization.&lt;br /&gt;
* Only servers sharing the same common resource folder can be added.&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{System_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Template:System_functions_c&amp;diff=27527</id>
		<title>Template:System functions c</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Template:System_functions_c&amp;diff=27527"/>
		<updated>2026-02-11T18:02:28Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[System::ceil|mp.game.system.ceil]]&lt;br /&gt;
*[[System::cos|mp.game.system.cos]]&lt;br /&gt;
*[[System::floor|mp.game.system.floor]]&lt;br /&gt;
*[[System::pow|mp.game.system.pow]]&lt;br /&gt;
*[[System::round|mp.game.system.round]]&lt;br /&gt;
*[[System::settimera|mp.game.system.settimera]]&lt;br /&gt;
*[[System::settimerb|mp.game.system.settimerb]]&lt;br /&gt;
*[[System::shiftLeft|mp.game.system.shiftLeft]]&lt;br /&gt;
*[[System::shiftRight|mp.game.system.shiftRight]]&lt;br /&gt;
*[[System::sin|mp.game.system.sin]]&lt;br /&gt;
*[[System::sqrt|mp.game.system.sqrt]]&lt;br /&gt;
*[[System::startNewScriptWithArgs|mp.game.system.startNewScriptWithArgs]]&lt;br /&gt;
*[[System::startNewScript|mp.game.system.startNewScript]]&lt;br /&gt;
*[[System::startNewStreamedScriptWithArgs|mp.game.system.startNewStreamedScriptWithArgs]]&lt;br /&gt;
*[[System::startNewStreamedScript|mp.game.system.startNewStreamedScript]]&lt;br /&gt;
*[[System::toFloat|mp.game.system.toFloat]]&lt;br /&gt;
*[[System::vdist2|mp.game.system.vdist2]]&lt;br /&gt;
*[[System::vdist|mp.game.system.vdist]]&lt;br /&gt;
*[[System::vmag2|mp.game.system.vmag2]]&lt;br /&gt;
*[[System::vmag|mp.game.system.vmag]]&lt;br /&gt;
*[[System::wait|mp.game.system.wait]]&lt;br /&gt;
*[[System::notify|mp.system.notify]]&lt;br /&gt;
*[[System::isFullscreen|mp.system.isFullscreen]]&lt;br /&gt;
*[[System::isFocused|mp.system.isFocused]]&lt;br /&gt;
*[[System::setConnectableServers|mp.system.setConnectableServers]]&lt;br /&gt;
*[[System::connectToServer|mp.system.connectToServer]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Template:Object_functions_c&amp;diff=27526</id>
		<title>Template:Object functions c</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Template:Object_functions_c&amp;diff=27526"/>
		<updated>2026-02-11T17:57:08Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Object::create|mp.game.object.create]]&lt;br /&gt;
*[[Object::createObject|mp.game.object.createObject]]&lt;br /&gt;
*[[Object::createNoOffset|mp.game.object.createNoOffset]]&lt;br /&gt;
*[[Object::createObjectNoOffset|mp.game.object.createObjectNoOffset]]&lt;br /&gt;
*[[Object::delete|mp.game.object.delete]]&lt;br /&gt;
*[[Object::deleteObject|mp.game.object.deleteObject]]&lt;br /&gt;
*[[Object::placeOnGroundProperly|mp.game.object.placeOnGroundProperly]]&lt;br /&gt;
*[[Object::placeOnGroundProperly2|mp.game.object.placeOnGroundProperly2]]&lt;br /&gt;
*[[Object::slide|mp.game.object.slide]]&lt;br /&gt;
*[[Object::setTargettable|mp.game.object.setTargettable]]&lt;br /&gt;
*[[Object::setForceVehiclesToAvoid|mp.game.object.setForceVehiclesToAvoid]]&lt;br /&gt;
*[[Object::getClosestOfType|mp.game.object.getClosestOfType]]&lt;br /&gt;
*[[Object::getClosestObjectOfType|mp.game.object.getClosestObjectOfType]]&lt;br /&gt;
*[[Object::hasBeenBroken|mp.game.object.hasBeenBroken]]&lt;br /&gt;
*[[Object::hasClosestOfTypeBeenBroken|mp.game.object.hasClosestOfTypeBeenBroken]]&lt;br /&gt;
*[[Object::hasClosestObjectOfTypeBeenBroken|mp.game.object.hasClosestObjectOfTypeBeenBroken]]&lt;br /&gt;
*[[Object::hasClosestOfTypeBeenCompletelyDestroyed|mp.game.object.hasClosestOfTypeBeenCompletelyDestroyed]]&lt;br /&gt;
*[[Object::getOffsetFromCoords|mp.game.object.getOffsetFromCoords]]&lt;br /&gt;
*[[Object::getObjectOffsetFromCoords|mp.game.object.getObjectOffsetFromCoords]]&lt;br /&gt;
*[[Object::getCoordsAndRotationOfClosestOfType|mp.game.object.getCoordsAndRotationOfClosestOfType]]&lt;br /&gt;
*[[Object::setStateOfClosestDoorOfType|mp.game.object.setStateOfClosestDoorOfType]]&lt;br /&gt;
*[[Object::getStateOfClosestDoorOfType|mp.game.object.getStateOfClosestDoorOfType]]&lt;br /&gt;
*[[Object::doorControl|mp.game.object.doorControl]]&lt;br /&gt;
*[[Object::addDoorToSystem|mp.game.object.addDoorToSystem]]&lt;br /&gt;
*[[Object::removeDoorFromSystem|mp.game.object.removeDoorFromSystem]]&lt;br /&gt;
*[[Object::doorSystemSetDoorState|mp.game.object.doorSystemSetDoorState]]&lt;br /&gt;
*[[Object::setDoorAccelerationLimit|mp.game.object.setDoorAccelerationLimit]]&lt;br /&gt;
*[[Object::doorSystemGetDoorState|mp.game.object.doorSystemGetDoorState]]&lt;br /&gt;
*[[Object::doorSystemGetDoorPendingState|mp.game.object.doorSystemGetDoorPendingState]]&lt;br /&gt;
*[[Object::doorSystemSetAutomaticRate|mp.game.object.doorSystemSetAutomaticRate]]&lt;br /&gt;
*[[Object::doorSystemSetAutomaticDistance|mp.game.object.doorSystemSetAutomaticDistance]]&lt;br /&gt;
*[[Object::doorSystemSetOpenRatio|mp.game.object.doorSystemSetOpenRatio]]&lt;br /&gt;
*[[Object::setDoorAjarAngle|mp.game.object.setDoorAjarAngle]]&lt;br /&gt;
*[[Object::doorSystemGetAutomaticDistance|mp.game.object.doorSystemGetAutomaticDistance]]&lt;br /&gt;
*[[Object::doorSystemGetOpenRatio|mp.game.object.doorSystemGetOpenRatio]]&lt;br /&gt;
*[[Object::doorSystemSetSpringRemoved|mp.game.object.doorSystemSetSpringRemoved]]&lt;br /&gt;
*[[Object::doorSystemSetHoldOpen|mp.game.object.doorSystemSetHoldOpen]]&lt;br /&gt;
*[[Object::isDoorRegisteredWithSystem|mp.game.object.isDoorRegisteredWithSystem]]&lt;br /&gt;
*[[Object::doesDoorExist|mp.game.object.doesDoorExist]]&lt;br /&gt;
*[[Object::isDoorClosed|mp.game.object.isDoorClosed]]&lt;br /&gt;
*[[Object::doorSystemGetIsPhysicsLoaded|mp.game.object.doorSystemGetIsPhysicsLoaded]]&lt;br /&gt;
*[[Object::doorSystemFindExistingDoor|mp.game.object.doorSystemFindExistingDoor]]&lt;br /&gt;
*[[Object::isGarageEmpty|mp.game.object.isGarageEmpty]]&lt;br /&gt;
*[[Object::isPlayerEntirelyInsideGarage|mp.game.object.isPlayerEntirelyInsideGarage]]&lt;br /&gt;
*[[Object::isPlayerPartiallyInsideGarage|mp.game.object.isPlayerPartiallyInsideGarage]]&lt;br /&gt;
*[[Object::areEntitiesEntirelyInsideGarage|mp.game.object.areEntitiesEntirelyInsideGarage]]&lt;br /&gt;
*[[Object::isAnyEntityEntirelyInsideGarage|mp.game.object.isAnyEntityEntirelyInsideGarage]]&lt;br /&gt;
*[[Object::isEntirelyInsideGarage|mp.game.object.isEntirelyInsideGarage]]&lt;br /&gt;
*[[Object::isPartiallyInsideGarage|mp.game.object.isPartiallyInsideGarage]]&lt;br /&gt;
*[[Object::clearGarageArea|mp.game.object.clearGarageArea]]&lt;br /&gt;
*[[Object::clearObjectsInsideGarage|mp.game.object.clearObjectsInsideGarage]]&lt;br /&gt;
*[[Object::enableSavingInGarage|mp.game.object.enableSavingInGarage]]&lt;br /&gt;
*[[Object::doesOfTypeExistAtCoords|mp.game.object.doesOfTypeExistAtCoords]]&lt;br /&gt;
*[[Object::doesObjectOfTypeExistAtCoords|mp.game.object.doesObjectOfTypeExistAtCoords]]&lt;br /&gt;
*[[Object::isPointInAngledArea|mp.game.object.isPointInAngledArea]]&lt;br /&gt;
*[[Object::setAllowLowLodBuoyancy|mp.game.object.setAllowLowLodBuoyancy]]&lt;br /&gt;
*[[Object::setPhysicsParams|mp.game.object.setPhysicsParams]]&lt;br /&gt;
*[[Object::getFragmentDamageHealth|mp.game.object.getFragmentDamageHealth]]&lt;br /&gt;
*[[Object::getObjectFragmentDamageHealth|mp.game.object.getObjectFragmentDamageHealth]]&lt;br /&gt;
*[[Object::setActivatePhysicsAsSoonAsItIsUnfrozen|mp.game.object.setActivatePhysicsAsSoonAsItIsUnfrozen]]&lt;br /&gt;
*[[Object::isAnyNearPoint|mp.game.object.isAnyNearPoint]]&lt;br /&gt;
*[[Object::isAnyObjectNearPoint|mp.game.object.isAnyObjectNearPoint]]&lt;br /&gt;
*[[Object::isNearPoint|mp.game.object.isNearPoint]]&lt;br /&gt;
*[[Object::isObjectNearPoint|mp.game.object.isObjectNearPoint]]&lt;br /&gt;
*[[Object::removeHighDetailModel|mp.game.object.removeHighDetailModel]]&lt;br /&gt;
*[[Object::breakFragmentChild|mp.game.object.breakFragmentChild]]&lt;br /&gt;
*[[Object::trackVisibility|mp.game.object.trackVisibility]]&lt;br /&gt;
*[[Object::trackObjectVisibility|mp.game.object.trackObjectVisibility]]&lt;br /&gt;
*[[Object::isVisible|mp.game.object.isVisible]]&lt;br /&gt;
*[[Object::setUnkGlobalBoolRelatedToDamage|mp.game.object.setUnkGlobalBoolRelatedToDamage]]&lt;br /&gt;
*[[Object::setCreateWeaponLightSource|mp.game.object.setCreateWeaponLightSource]]&lt;br /&gt;
*[[Object::getRayfireMap|mp.game.object.getRayfireMap]]&lt;br /&gt;
*[[Object::setStateOfRayfireMap|mp.game.object.setStateOfRayfireMap]]&lt;br /&gt;
*[[Object::getStateOfRayfireMap|mp.game.object.getStateOfRayfireMap]]&lt;br /&gt;
*[[Object::doesRayfireMapExist|mp.game.object.doesRayfireMapExist]]&lt;br /&gt;
*[[Object::getRayfireMapAnimPhase|mp.game.object.getRayfireMapAnimPhase]]&lt;br /&gt;
*[[Object::createPickup|mp.game.object.createPickup]]&lt;br /&gt;
*[[Object::createPickupRotate|mp.game.object.createPickupRotate]]&lt;br /&gt;
*[[Object::createAmbientPickup|mp.game.object.createAmbientPickup]]&lt;br /&gt;
*[[Object::createNonNetworkedAmbientPickup|mp.game.object.createNonNetworkedAmbientPickup]]&lt;br /&gt;
*[[Object::createPortablePickup|mp.game.object.createPortablePickup]]&lt;br /&gt;
*[[Object::createNonNetworkedPortablePickup|mp.game.object.createNonNetworkedPortablePickup]]&lt;br /&gt;
*[[Object::createPortablePickup2|mp.game.object.createPortablePickup2]]&lt;br /&gt;
*[[Object::attachPortablePickupToPed|mp.game.object.attachPortablePickupToPed]]&lt;br /&gt;
*[[Object::detachPortablePickupFromPed|mp.game.object.detachPortablePickupFromPed]]&lt;br /&gt;
*[[Object::hidePickup|mp.game.object.hidePickup]]&lt;br /&gt;
*[[Object::setMaxNumPortablePickupsCarriedByPlayer|mp.game.object.setMaxNumPortablePickupsCarriedByPlayer]]&lt;br /&gt;
*[[Object::setLocalPlayerCanCollectPortablePickups|mp.game.object.setLocalPlayerCanCollectPortablePickups]]&lt;br /&gt;
*[[Object::getSafePickupCoords|mp.game.object.getSafePickupCoords]]&lt;br /&gt;
*[[Object::getPickupCoords|mp.game.object.getPickupCoords]]&lt;br /&gt;
*[[Object::removeAllPickupsOfType|mp.game.object.removeAllPickupsOfType]]&lt;br /&gt;
*[[Object::hasPickupBeenCollected|mp.game.object.hasPickupBeenCollected]]&lt;br /&gt;
*[[Object::removePickup|mp.game.object.removePickup]]&lt;br /&gt;
*[[Object::createMoneyPickups|mp.game.object.createMoneyPickups]]&lt;br /&gt;
*[[Object::doesPickupExist|mp.game.object.doesPickupExist]]&lt;br /&gt;
*[[Object::doesPickupObjectExist|mp.game.object.doesPickupObjectExist]]&lt;br /&gt;
*[[Object::getPickup|mp.game.object.getPickup]]&lt;br /&gt;
*[[Object::isAPortablePickup|mp.game.object.isAPortablePickup]]&lt;br /&gt;
*[[Object::isAPickup|mp.game.object.isAPickup]]&lt;br /&gt;
*[[Object::doesPickupOfTypeExistInArea|mp.game.object.doesPickupOfTypeExistInArea]]&lt;br /&gt;
*[[Object::isPickupWithinRadius|mp.game.object.isPickupWithinRadius]]&lt;br /&gt;
*[[Object::setPickupRegenerationTime|mp.game.object.setPickupRegenerationTime]]&lt;br /&gt;
*[[Object::forcePickupRegenerate|mp.game.object.forcePickupRegenerate]]&lt;br /&gt;
*[[Object::toggleUsePickupsForPlayer|mp.game.object.toggleUsePickupsForPlayer]]&lt;br /&gt;
*[[Object::setLocalPlayerCanUsePickupsWithThisModel|mp.game.object.setLocalPlayerCanUsePickupsWithThisModel]]&lt;br /&gt;
*[[Object::setTeamPickup|mp.game.object.setTeamPickup]]&lt;br /&gt;
*[[Object::setTeamPickupObject|mp.game.object.setTeamPickupObject]]&lt;br /&gt;
*[[Object::preventCollectionOfPortablePickup|mp.game.object.preventCollectionOfPortablePickup]]&lt;br /&gt;
*[[Object::setPickupGenerationRangeMultiplier|mp.game.object.setPickupGenerationRangeMultiplier]]&lt;br /&gt;
*[[Object::getPickupGenerationRangeMultiplier|mp.game.object.getPickupGenerationRangeMultiplier]]&lt;br /&gt;
*[[Object::setPickupUncollectable|mp.game.object.setPickupUncollectable]]&lt;br /&gt;
*[[Object::setPickupHiddenWhenUncollectable|mp.game.object.setPickupHiddenWhenUncollectable]]&lt;br /&gt;
*[[Object::renderFakePickupGlow|mp.game.object.renderFakePickupGlow]]&lt;br /&gt;
*[[Object::highlightPlacementCoords|mp.game.object.highlightPlacementCoords]]&lt;br /&gt;
*[[Object::getWeaponTypeFromPickupType|mp.game.object.getWeaponTypeFromPickupType]]&lt;br /&gt;
*[[Object::getPickupHashFromWeapon|mp.game.object.getPickupHashFromWeapon]]&lt;br /&gt;
*[[Object::isPickupWeaponValid|mp.game.object.isPickupWeaponValid]]&lt;br /&gt;
*[[Object::getTextureVariation|mp.game.object.getTextureVariation]]&lt;br /&gt;
*[[Object::setTextureVariation|mp.game.object.setTextureVariation]]&lt;br /&gt;
*[[Object::setTextureVariationOfClosestOfType|mp.game.object.setTextureVariationOfClosestOfType]]&lt;br /&gt;
*[[Object::setLightColor|mp.game.object.setLightColor]]&lt;br /&gt;
*[[Object::setStuntPropSpeedup|mp.game.object.setStuntPropSpeedup]]&lt;br /&gt;
*[[Object::setStuntPropDuration|mp.game.object.setStuntPropDuration]]&lt;br /&gt;
*[[Object::getPickupHash|mp.game.object.getPickupHash]]&lt;br /&gt;
*[[Object::setForceThisFrame|mp.game.object.setForceThisFrame]]&lt;br /&gt;
*[[Object::setForceObjectThisFrame|mp.game.object.setForceObjectThisFrame]]&lt;br /&gt;
*[[Object::markForDeletion|mp.game.object.markForDeletion]]&lt;br /&gt;
*[[Object::setEnableArenaPropPhysics|mp.game.object.setEnableArenaPropPhysics]]&lt;br /&gt;
*[[Object::setEnableArenaPropPhysicsOnPed|mp.game.object.setEnableArenaPropPhysicsOnPed]]&lt;br /&gt;
*[[Object::getIsArenaPropPhysicsDisabled|mp.game.object.getIsArenaPropPhysicsDisabled]]&lt;br /&gt;
*[[Object::getAllByHash|mp.game.object.getAllByHash]]&lt;br /&gt;
*[[Object::getAllInRange|mp.game.object.getAllInRange]]&lt;br /&gt;
*[[Object::createGlowStyle|mp.game.object.createGlowStyle]]&lt;br /&gt;
*[[Object::releaseGlowStyle|mp.game.object.releaseGlowStyle]]&lt;br /&gt;
*[[Object::modifyGlowStyle|mp.game.object.modifyGlowStyle]]&lt;br /&gt;
*[[Object::enableGlow|mp.game.object.enableGlow]]&lt;br /&gt;
&lt;br /&gt;
*[[Object::disableGlow|mp.game.object.disableGlow&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Object::disableGlow&amp;diff=27525</id>
		<title>Object::disableGlow</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Object::disableGlow&amp;diff=27525"/>
		<updated>2026-02-11T17:51:57Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  === Required Params === *&amp;#039;&amp;#039;&amp;#039;handle:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}}  === Return value === *&amp;#039;&amp;#039;&amp;#039; {{RageType|void}} &amp;#039;&amp;#039;&amp;#039;  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.object.disableGlow(handle); &amp;lt;/syntaxhighlight&amp;gt;  == Example == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.object.disableGlow(object.handle); &amp;lt;/syntaxhighlight&amp;gt; }} ==See also== {{Object_function_c}} Category:Clientside API&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
=== Required Params ===&lt;br /&gt;
*&#039;&#039;&#039;handle:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
*&#039;&#039;&#039; {{RageType|void}} &#039;&#039;&#039;&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.game.object.disableGlow(handle);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&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.object.disableGlow(object.handle);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Object_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Object::enableGlow&amp;diff=27524</id>
		<title>Object::enableGlow</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Object::enableGlow&amp;diff=27524"/>
		<updated>2026-02-11T17:50:55Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  === Required Params === *&amp;#039;&amp;#039;&amp;#039;handle:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;glowStyle:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}}  === Return value === *&amp;#039;&amp;#039;&amp;#039; {{RageType|void}} &amp;#039;&amp;#039;&amp;#039;  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.object.enableGlow(handle, glowStyle); &amp;lt;/syntaxhighlight&amp;gt;  == Example == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.object.enableGlow(object.handle, glow); &amp;lt;/syntaxhighlight&amp;gt; }} ==See also== {{Object_function_c}} Category:Client...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
=== Required Params ===&lt;br /&gt;
*&#039;&#039;&#039;handle:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;glowStyle:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
*&#039;&#039;&#039; {{RageType|void}} &#039;&#039;&#039;&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.game.object.enableGlow(handle, glowStyle);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&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.object.enableGlow(object.handle, glow);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Object_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Object::modifyGlowStyle&amp;diff=27523</id>
		<title>Object::modifyGlowStyle</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Object::modifyGlowStyle&amp;diff=27523"/>
		<updated>2026-02-11T17:49:54Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  === Required Params === *&amp;#039;&amp;#039;&amp;#039;glowStyle:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;freq:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;minIntensity:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;maxIntensity:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}}  === Return value === *&amp;#039;&amp;#039;&amp;#039; {{RageType|void}} &amp;#039;&amp;#039;&amp;#039;  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.object.modifyGlowStyle(glowStyle, freq, minIntensity, maxIntensity); &amp;lt;/syntaxhighlight&amp;gt;  == Example == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.obj...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
=== Required Params ===&lt;br /&gt;
*&#039;&#039;&#039;glowStyle:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;freq:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;minIntensity:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;maxIntensity:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
*&#039;&#039;&#039; {{RageType|void}} &#039;&#039;&#039;&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.game.object.modifyGlowStyle(glowStyle, freq, minIntensity, maxIntensity);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&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.object.modifyGlowStyle(glow, 3.0, 0.5, 1.2);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Object_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Object::releaseGlowStyle&amp;diff=27522</id>
		<title>Object::releaseGlowStyle</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Object::releaseGlowStyle&amp;diff=27522"/>
		<updated>2026-02-11T17:48:46Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  === Required Params === *&amp;#039;&amp;#039;&amp;#039;glowStyle:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}}  === Return value === *&amp;#039;&amp;#039;&amp;#039; {{RageType|void}} &amp;#039;&amp;#039;&amp;#039;  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.object.releaseGlowStyle(glowStyle); &amp;lt;/syntaxhighlight&amp;gt;  == Example == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.object.releaseGlowStyle(glow); &amp;lt;/syntaxhighlight&amp;gt; }} ==See also== {{Object_function_c}} Category:Clientside API&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
=== Required Params ===&lt;br /&gt;
*&#039;&#039;&#039;glowStyle:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
*&#039;&#039;&#039; {{RageType|void}} &#039;&#039;&#039;&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.game.object.releaseGlowStyle(glowStyle);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&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.object.releaseGlowStyle(glow);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Object_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Object::createGlowStyle&amp;diff=27521</id>
		<title>Object::createGlowStyle</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Object::createGlowStyle&amp;diff=27521"/>
		<updated>2026-02-11T17:46:41Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  === Required Params === *&amp;#039;&amp;#039;&amp;#039;freq:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;minIntensity:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;maxIntensity:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}}  === Return value === *&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} &amp;#039;&amp;#039;&amp;#039; (glowStyle id)  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; const glowStyle = mp.game.object.createGlowStyle(freq, minIntensity, maxIntensity); &amp;lt;/syntaxhighlight&amp;gt;  == Example == &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; const glow = mp.game.obje...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
=== Required Params ===&lt;br /&gt;
*&#039;&#039;&#039;freq:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;minIntensity:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;maxIntensity:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
*&#039;&#039;&#039; {{RageType|number}} &#039;&#039;&#039; (glowStyle id)&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const glowStyle = mp.game.object.createGlowStyle(freq, minIntensity, maxIntensity);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const glow = mp.game.object.createGlowStyle(2.0, 0.3, 1.0);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Object_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Template:Object_definition_c&amp;diff=27520</id>
		<title>Template:Object definition c</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Template:Object_definition_c&amp;diff=27520"/>
		<updated>2026-02-11T17:44:14Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*Functions:&lt;br /&gt;
**[[Object::Object]]&lt;br /&gt;
**[[Object::ObjectWeak]]&lt;br /&gt;
**[[Object::ObjectWeapon]]&lt;br /&gt;
**[[Object::hasBeenBroken|Object.hasBeenBroken]]&lt;br /&gt;
**[[Object::isVisible|Object.isVisible]]&lt;br /&gt;
**[[Object::markForDeletion|Object.markForDeletion]]&lt;br /&gt;
**[[Object::placeOnGroundProperly|Object.placeOnGroundProperly]]&lt;br /&gt;
**[[Object::setActivatePhysicsAsSoonAsItIsUnfrozen|Object.setActivatePhysicsAsSoonAsItIsUnfrozen]]&lt;br /&gt;
**[[Object::setPhysicsParams|Object.setPhysicsParams]]&lt;br /&gt;
**[[Object::setTargettable|Object.setTargettable]]&lt;br /&gt;
**[[Object::slide|Object.slide]]&lt;br /&gt;
**[[Object::createGlowStyle|Object.createGlowStyle]]&lt;br /&gt;
**[[Object::releaseGlowStyle|Object.releaseGlowStyle]]&lt;br /&gt;
**[[Object::modifyGlowStyle|Object.modifyGlowStyle]]&lt;br /&gt;
**[[Object::enableGlow|Object.enableGlow]]&lt;br /&gt;
&lt;br /&gt;
**[[Object::disableGlow|Object.disableGlow]]&lt;br /&gt;
&lt;br /&gt;
*Properties:&lt;br /&gt;
**[[Entity::id]]&lt;br /&gt;
**[[Entity::handle]]&lt;br /&gt;
**[[Entity::model]]&lt;br /&gt;
**[[Object::hidden]]&lt;br /&gt;
**[[Object::isWeak]]&lt;br /&gt;
**[[Object::notifyStreaming]]&lt;br /&gt;
**[[Object::streamingRange]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Gameplay::startPerformanceTimer&amp;diff=27519</id>
		<title>Gameplay::startPerformanceTimer</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Gameplay::startPerformanceTimer&amp;diff=27519"/>
		<updated>2025-12-27T00:09:27Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*None&lt;br /&gt;
&lt;br /&gt;
==Instance==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
PerformanceTimer {&lt;br /&gt;
	getElapsedSec(): number;&lt;br /&gt;
	getElapsedMs(): number;&lt;br /&gt;
	getElapsedUs(): number;&lt;br /&gt;
	reset(): void;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|PerformanceTimer}}&#039;&#039;&#039; — A performance timer instance.&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.game.misc.startPerformanceTimer()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const timer = mp.game.misc.startPerformanceTimer();&lt;br /&gt;
&lt;br /&gt;
// some heavy logic here&lt;br /&gt;
&lt;br /&gt;
mp.gui.chat.push(`Elapsed ms: ${timer.getElapsedMs()}`);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Instance Methods==&lt;br /&gt;
*[[PerformanceTimer::getElapsedSec| PerformanceTimer.getElapsedSec]]&lt;br /&gt;
*[[PerformanceTimer::getElapsedMs| PerformanceTimer.getElapsedMs]]&lt;br /&gt;
*[[PerformanceTimer::getElapsedUs| PerformanceTimer.getElapsedUs]]&lt;br /&gt;
*[[PerformanceTimer::reset| PerformanceTimer.reset]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Gameplay_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=PerformanceTimer::reset&amp;diff=27518</id>
		<title>PerformanceTimer::reset</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=PerformanceTimer::reset&amp;diff=27518"/>
		<updated>2025-12-27T00:07:20Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|void}}&amp;#039;&amp;#039;&amp;#039;  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;  const timer = mp.game.misc.startPerformanceTimer(); timer.reset() &amp;lt;/syntaxhighlight&amp;gt; }}  ==See also== {{Gameplay_functions_c}} Category:Clientside API&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|void}}&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
const timer = mp.game.misc.startPerformanceTimer();&lt;br /&gt;
timer.reset()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Gameplay_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=PerformanceTimer::getElapsedUs&amp;diff=27517</id>
		<title>PerformanceTimer::getElapsedUs</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=PerformanceTimer::getElapsedUs&amp;diff=27517"/>
		<updated>2025-12-27T00:06:30Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|number}}&amp;#039;&amp;#039;&amp;#039; — Elapsed time in microseconds.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;  const timer = mp.game.misc.startPerformanceTimer(); timer.getElapsedUs() &amp;lt;/syntaxhighlight&amp;gt; }}  ==See also== {{Gameplay_functions_c}} Category:Clientside API&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|number}}&#039;&#039;&#039; — Elapsed time in microseconds.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
const timer = mp.game.misc.startPerformanceTimer();&lt;br /&gt;
timer.getElapsedUs()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Gameplay_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=PerformanceTimer::getElapsedMs&amp;diff=27516</id>
		<title>PerformanceTimer::getElapsedMs</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=PerformanceTimer::getElapsedMs&amp;diff=27516"/>
		<updated>2025-12-27T00:05:39Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|number}}&amp;#039;&amp;#039;&amp;#039; — Elapsed time in ms.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;  const timer = mp.game.misc.startPerformanceTimer(); timer.getElapsedMs() &amp;lt;/syntaxhighlight&amp;gt; }}  ==See also== {{Gameplay_functions_c}} Category:Clientside API&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|number}}&#039;&#039;&#039; — Elapsed time in ms.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
const timer = mp.game.misc.startPerformanceTimer();&lt;br /&gt;
timer.getElapsedMs()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Gameplay_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=PerformanceTimer::getElapsedSec&amp;diff=27515</id>
		<title>PerformanceTimer::getElapsedSec</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=PerformanceTimer::getElapsedSec&amp;diff=27515"/>
		<updated>2025-12-27T00:04:44Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|number}}&amp;#039;&amp;#039;&amp;#039; — Elapsed time in seconds.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;  const timer = mp.game.misc.startPerformanceTimer(); timer.getElapsedSec() &amp;lt;/syntaxhighlight&amp;gt; }}  ==See also== {{Gameplay_functions_c}} Category:Clientside API&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|number}}&#039;&#039;&#039; — Elapsed time in seconds.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
const timer = mp.game.misc.startPerformanceTimer();&lt;br /&gt;
timer.getElapsedSec()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Gameplay_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Gameplay::startPerformanceTimer&amp;diff=27514</id>
		<title>Gameplay::startPerformanceTimer</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Gameplay::startPerformanceTimer&amp;diff=27514"/>
		<updated>2025-12-27T00:02:04Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*None&lt;br /&gt;
&lt;br /&gt;
==Instance==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
PerformanceTimer {&lt;br /&gt;
	getElapsedSec(): number;&lt;br /&gt;
	getElapsedMs(): number;&lt;br /&gt;
	getElapsedUs(): number;&lt;br /&gt;
	reset(): void;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|PerformanceTimer}}&#039;&#039;&#039; — A performance timer instance.&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.game.misc.startPerformanceTimer()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const timer = mp.game.misc.startPerformanceTimer();&lt;br /&gt;
&lt;br /&gt;
// some heavy logic here&lt;br /&gt;
&lt;br /&gt;
mp.gui.chat.push(`Elapsed ms: ${timer.getElapsedMs()}`);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Gameplay_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Gameplay::startPerformanceTimer&amp;diff=27513</id>
		<title>Gameplay::startPerformanceTimer</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Gameplay::startPerformanceTimer&amp;diff=27513"/>
		<updated>2025-12-26T23:59:26Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *None  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|PerformanceTimer}}&amp;#039;&amp;#039;&amp;#039; — A performance timer instance.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.misc.startPerformanceTimer() &amp;lt;/syntaxhighlight&amp;gt;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; const timer = mp.game.misc.startPerformanceTimer();  // some heavy logic here  mp.gui.chat.push(`Elapsed ms: ${timer.getElapsedMs()}`); &amp;lt;/syntaxhighlight&amp;gt; }}  ==S...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*None&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|PerformanceTimer}}&#039;&#039;&#039; — A performance timer instance.&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.game.misc.startPerformanceTimer()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const timer = mp.game.misc.startPerformanceTimer();&lt;br /&gt;
&lt;br /&gt;
// some heavy logic here&lt;br /&gt;
&lt;br /&gt;
mp.gui.chat.push(`Elapsed ms: ${timer.getElapsedMs()}`);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Gameplay_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Template:Gameplay_functions_c&amp;diff=27512</id>
		<title>Template:Gameplay functions c</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Template:Gameplay_functions_c&amp;diff=27512"/>
		<updated>2025-12-26T23:58:53Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Gameplay::getAllocatedStackSize|mp.game.gameplay.getAllocatedStackSize]]&lt;br /&gt;
*[[Gameplay::getNumberOfFreeStacksOfThisSize|mp.game.gameplay.getNumberOfFreeStacksOfThisSize]]&lt;br /&gt;
*[[Gameplay::setRandomSeed|mp.game.gameplay.setRandomSeed]]&lt;br /&gt;
*[[Gameplay::setTimeScale|mp.game.gameplay.setTimeScale]]&lt;br /&gt;
*[[Gameplay::setMissionFlag|mp.game.gameplay.setMissionFlag]]&lt;br /&gt;
*[[Gameplay::getMissionFlag|mp.game.gameplay.getMissionFlag]]&lt;br /&gt;
*[[Gameplay::setRandomEventFlag|mp.game.gameplay.setRandomEventFlag]]&lt;br /&gt;
*[[Gameplay::getRandomEventFlag|mp.game.gameplay.getRandomEventFlag]]&lt;br /&gt;
*[[Gameplay::getGlobalCharBuffer|mp.game.gameplay.getGlobalCharBuffer]]&lt;br /&gt;
*[[Gameplay::hasResumedFromSuspend|mp.game.gameplay.hasResumedFromSuspend]]&lt;br /&gt;
*[[Gameplay::getBaseElementMetadata|mp.game.gameplay.getBaseElementMetadata]]&lt;br /&gt;
*[[Gameplay::getPrevWeatherTypeHashName|mp.game.gameplay.getPrevWeatherTypeHashName]]&lt;br /&gt;
*[[Gameplay::getNextWeatherTypeHashName|mp.game.gameplay.getNextWeatherTypeHashName]]&lt;br /&gt;
*[[Gameplay::isPrevWeatherType|mp.game.gameplay.isPrevWeatherType]]&lt;br /&gt;
*[[Gameplay::isNextWeatherType|mp.game.gameplay.isNextWeatherType]]&lt;br /&gt;
*[[Gameplay::setWeatherTypePersist|mp.game.gameplay.setWeatherTypePersist]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeNowPersist|mp.game.gameplay.setWeatherTypeNowPersist]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeNow|mp.game.gameplay.setWeatherTypeNow]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeOvertimePersist|mp.game.gameplay.setWeatherTypeOvertimePersist]]&lt;br /&gt;
*[[Gameplay::setRandomWeatherType|mp.game.gameplay.setRandomWeatherType]]&lt;br /&gt;
*[[Gameplay::clearWeatherTypePersist|mp.game.gameplay.clearWeatherTypePersist]]&lt;br /&gt;
*[[Gameplay::clearWeatherTypeOvertimePersist|mp.game.gameplay.clearWeatherTypeOvertimePersist]]&lt;br /&gt;
*[[Gameplay::getWeatherTypeTransition|mp.game.gameplay.getWeatherTypeTransition]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeTransition|mp.game.gameplay.setWeatherTypeTransition]]&lt;br /&gt;
*[[Gameplay::setOverrideWeather|mp.game.gameplay.setOverrideWeather]]&lt;br /&gt;
*[[Gameplay::clearOverrideWeather|mp.game.gameplay.clearOverrideWeather]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetShorewaveamplitude|mp.game.gameplay.waterOverrideSetShorewaveamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetShorewaveminamplitude|mp.game.gameplay.waterOverrideSetShorewaveminamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetShorewavemaxamplitude|mp.game.gameplay.waterOverrideSetShorewavemaxamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceannoiseminamplitude|mp.game.gameplay.waterOverrideSetOceannoiseminamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceanwaveamplitude|mp.game.gameplay.waterOverrideSetOceanwaveamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceanwaveminamplitude|mp.game.gameplay.waterOverrideSetOceanwaveminamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceanwavemaxamplitude|mp.game.gameplay.waterOverrideSetOceanwavemaxamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRipplebumpiness|mp.game.gameplay.waterOverrideSetRipplebumpiness]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRippleminbumpiness|mp.game.gameplay.waterOverrideSetRippleminbumpiness]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRipplemaxbumpiness|mp.game.gameplay.waterOverrideSetRipplemaxbumpiness]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRippledisturb|mp.game.gameplay.waterOverrideSetRippledisturb]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetStrength|mp.game.gameplay.waterOverrideSetStrength]]&lt;br /&gt;
*[[Gameplay::waterOverrideFadeIn|mp.game.gameplay.waterOverrideFadeIn]]&lt;br /&gt;
*[[Gameplay::waterOverrideFadeOut|mp.game.gameplay.waterOverrideFadeOut]]&lt;br /&gt;
*[[Gameplay::setWind|mp.game.gameplay.setWind]]&lt;br /&gt;
*[[Gameplay::setWindSpeed|mp.game.gameplay.setWindSpeed]]&lt;br /&gt;
*[[Gameplay::getWindSpeed|mp.game.gameplay.getWindSpeed]]&lt;br /&gt;
*[[Gameplay::setWindDirection|mp.game.gameplay.setWindDirection]]&lt;br /&gt;
*[[Gameplay::getWindDirection|mp.game.gameplay.getWindDirection]]&lt;br /&gt;
*[[Gameplay::setRainLevel|mp.game.gameplay.setRainLevel]]&lt;br /&gt;
*[[Gameplay::getRainLevel|mp.game.gameplay.getRainLevel]]&lt;br /&gt;
*[[Gameplay::setSnowLevel|mp.game.gameplay.setSnowLevel]]&lt;br /&gt;
*[[Gameplay::getSnowLevel|mp.game.gameplay.getSnowLevel]]&lt;br /&gt;
*[[Gameplay::forceLightningFlash|mp.game.gameplay.forceLightningFlash]]&lt;br /&gt;
*[[Gameplay::preloadCloudHat|mp.game.gameplay.preloadCloudHat]]&lt;br /&gt;
*[[Gameplay::loadCloudHat|mp.game.gameplay.loadCloudHat]]&lt;br /&gt;
*[[Gameplay::unloadCloudHat|mp.game.gameplay.unloadCloudHat]]&lt;br /&gt;
*[[Gameplay::clearCloudHat|mp.game.gameplay.clearCloudHat]]&lt;br /&gt;
*[[Gameplay::setCloudHatOpacity|mp.game.gameplay.setCloudHatOpacity]]&lt;br /&gt;
*[[Gameplay::getCloudHatOpacity|mp.game.gameplay.getCloudHatOpacity]]&lt;br /&gt;
*[[Gameplay::getGameTimer|mp.game.gameplay.getGameTimer]]&lt;br /&gt;
*[[Gameplay::getFrameTime|mp.game.gameplay.getFrameTime]]&lt;br /&gt;
*[[Gameplay::getBenchmarkTime|mp.game.gameplay.getBenchmarkTime]]&lt;br /&gt;
*[[Gameplay::getFrameCount|mp.game.gameplay.getFrameCount]]&lt;br /&gt;
*[[Gameplay::getRandomFloatInRange|mp.game.gameplay.getRandomFloatInRange]]&lt;br /&gt;
*[[Gameplay::getRandomIntInRange|mp.game.gameplay.getRandomIntInRange]]&lt;br /&gt;
*[[Gameplay::getRandomIntInRange2|mp.game.gameplay.getRandomIntInRange2]]&lt;br /&gt;
*[[Gameplay::getGroundZFor3dCoord|mp.game.gameplay.getGroundZFor3dCoord]]&lt;br /&gt;
*[[Gameplay::getGroundZAndNormalFor3DCoord|mp.game.gameplay.getGroundZAndNormalFor3DCoord]]&lt;br /&gt;
*[[Gameplay::getGroundZFor3DCoord2|mp.game.gameplay.getGroundZFor3DCoord2]]&lt;br /&gt;
*[[Gameplay::asin|mp.game.gameplay.asin]]&lt;br /&gt;
*[[Gameplay::acos|mp.game.gameplay.acos]]&lt;br /&gt;
*[[Gameplay::tan|mp.game.gameplay.tan]]&lt;br /&gt;
*[[Gameplay::atan|mp.game.gameplay.atan]]&lt;br /&gt;
*[[Gameplay::atan2|mp.game.gameplay.atan2]]&lt;br /&gt;
*[[Gameplay::getDistanceBetweenCoords|mp.game.gameplay.getDistanceBetweenCoords]]&lt;br /&gt;
*[[Gameplay::getAngleBetween2dVectors|mp.game.gameplay.getAngleBetween2dVectors]]&lt;br /&gt;
*[[Gameplay::getAngleBetween2DVectors|mp.game.gameplay.getAngleBetween2DVectors]]&lt;br /&gt;
*[[Gameplay::getHeadingFromVector2d|mp.game.gameplay.getHeadingFromVector2d]]&lt;br /&gt;
*[[Gameplay::getHeadingFromVector2D|mp.game.gameplay.getHeadingFromVector2D]]&lt;br /&gt;
*[[Gameplay::setBit|mp.game.gameplay.setBit]]&lt;br /&gt;
*[[Gameplay::clearBit|mp.game.gameplay.clearBit]]&lt;br /&gt;
*[[Gameplay::getHashKey|mp.game.gameplay.getHashKey]]&lt;br /&gt;
*[[Gameplay::slerpNearQuaternion|mp.game.gameplay.slerpNearQuaternion]]&lt;br /&gt;
*[[Gameplay::isAreaOccupied|mp.game.gameplay.isAreaOccupied]]&lt;br /&gt;
*[[Gameplay::isPositionOccupied|mp.game.gameplay.isPositionOccupied]]&lt;br /&gt;
*[[Gameplay::isPointObscuredByAMissionEntity|mp.game.gameplay.isPointObscuredByAMissionEntity]]&lt;br /&gt;
*[[Gameplay::clearArea|mp.game.gameplay.clearArea]]&lt;br /&gt;
*[[Gameplay::clearAreaLeaveVehicleHealth|mp.game.gameplay.clearAreaLeaveVehicleHealth]]&lt;br /&gt;
*[[Gameplay::clearAreaOfVehicles|mp.game.gameplay.clearAreaOfVehicles]]&lt;br /&gt;
*[[Gameplay::clearAngledAreaOfVehicles|mp.game.gameplay.clearAngledAreaOfVehicles]]&lt;br /&gt;
*[[Gameplay::clearAreaOfObjects|mp.game.gameplay.clearAreaOfObjects]]&lt;br /&gt;
*[[Gameplay::clearAreaOfPeds|mp.game.gameplay.clearAreaOfPeds]]&lt;br /&gt;
*[[Gameplay::clearAreaOfCops|mp.game.gameplay.clearAreaOfCops]]&lt;br /&gt;
*[[Gameplay::clearAreaOfProjectiles|mp.game.gameplay.clearAreaOfProjectiles]]&lt;br /&gt;
*[[Gameplay::setSaveMenuActive|mp.game.gameplay.setSaveMenuActive]]&lt;br /&gt;
*[[Gameplay::setCreditsActive|mp.game.gameplay.setCreditsActive]]&lt;br /&gt;
*[[Gameplay::haveCreditsReachedEnd|mp.game.gameplay.haveCreditsReachedEnd]]&lt;br /&gt;
*[[Gameplay::terminateAllScriptsWithThisName|mp.game.gameplay.terminateAllScriptsWithThisName]]&lt;br /&gt;
*[[Gameplay::networkSetScriptIsSafeForNetworkGame|mp.game.gameplay.networkSetScriptIsSafeForNetworkGame]]&lt;br /&gt;
*[[Gameplay::addHospitalRestart|mp.game.gameplay.addHospitalRestart]]&lt;br /&gt;
*[[Gameplay::disableHospitalRestart|mp.game.gameplay.disableHospitalRestart]]&lt;br /&gt;
*[[Gameplay::addPoliceRestart|mp.game.gameplay.addPoliceRestart]]&lt;br /&gt;
*[[Gameplay::disablePoliceRestart|mp.game.gameplay.disablePoliceRestart]]&lt;br /&gt;
*[[Gameplay::setRestartCustomPosition|mp.game.gameplay.setRestartCustomPosition]]&lt;br /&gt;
*[[Gameplay::clearRestartCustomPosition|mp.game.gameplay.clearRestartCustomPosition]]&lt;br /&gt;
*[[Gameplay::pauseDeathArrestRestart|mp.game.gameplay.pauseDeathArrestRestart]]&lt;br /&gt;
*[[Gameplay::ignoreNextRestart|mp.game.gameplay.ignoreNextRestart]]&lt;br /&gt;
*[[Gameplay::setFadeOutAfterDeath|mp.game.gameplay.setFadeOutAfterDeath]]&lt;br /&gt;
*[[Gameplay::setFadeOutAfterArrest|mp.game.gameplay.setFadeOutAfterArrest]]&lt;br /&gt;
*[[Gameplay::setFadeInAfterDeathArrest|mp.game.gameplay.setFadeInAfterDeathArrest]]&lt;br /&gt;
*[[Gameplay::setFadeInAfterLoad|mp.game.gameplay.setFadeInAfterLoad]]&lt;br /&gt;
*[[Gameplay::registerSaveHouse|mp.game.gameplay.registerSaveHouse]]&lt;br /&gt;
*[[Gameplay::setSaveHouse|mp.game.gameplay.setSaveHouse]]&lt;br /&gt;
*[[Gameplay::overrideSaveHouse|mp.game.gameplay.overrideSaveHouse]]&lt;br /&gt;
*[[Gameplay::doAutoSave|mp.game.gameplay.doAutoSave]]&lt;br /&gt;
*[[Gameplay::getIsAutoSaveOff|mp.game.gameplay.getIsAutoSaveOff]]&lt;br /&gt;
*[[Gameplay::isAutoSaveInProgress|mp.game.gameplay.isAutoSaveInProgress]]&lt;br /&gt;
*[[Gameplay::beginReplayStats|mp.game.gameplay.beginReplayStats]]&lt;br /&gt;
*[[Gameplay::addReplayStatValue|mp.game.gameplay.addReplayStatValue]]&lt;br /&gt;
*[[Gameplay::endReplayStats|mp.game.gameplay.endReplayStats]]&lt;br /&gt;
*[[Gameplay::getReplayStatMissionType|mp.game.gameplay.getReplayStatMissionType]]&lt;br /&gt;
*[[Gameplay::getReplayStatCount|mp.game.gameplay.getReplayStatCount]]&lt;br /&gt;
*[[Gameplay::getReplayStatAtIndex|mp.game.gameplay.getReplayStatAtIndex]]&lt;br /&gt;
*[[Gameplay::clearReplayStats|mp.game.gameplay.clearReplayStats]]&lt;br /&gt;
*[[Gameplay::isMemoryCardInUse|mp.game.gameplay.isMemoryCardInUse]]&lt;br /&gt;
*[[Gameplay::shootSingleBulletBetweenCoords|mp.game.gameplay.shootSingleBulletBetweenCoords]]&lt;br /&gt;
*[[Gameplay::shootSingleBulletBetweenCoordsIgnoreEntity|mp.game.gameplay.shootSingleBulletBetweenCoordsIgnoreEntity]]&lt;br /&gt;
*[[Gameplay::shootSingleBulletBetweenCoordsIgnoreEntityNew|mp.game.gameplay.shootSingleBulletBetweenCoordsIgnoreEntityNew]]&lt;br /&gt;
*[[Gameplay::getModelDimensions|mp.game.gameplay.getModelDimensions]]&lt;br /&gt;
*[[Gameplay::setFakeWantedLevel|mp.game.gameplay.setFakeWantedLevel]]&lt;br /&gt;
*[[Gameplay::getFakeWantedLevel|mp.game.gameplay.getFakeWantedLevel]]&lt;br /&gt;
*[[Gameplay::isBitSet|mp.game.gameplay.isBitSet]]&lt;br /&gt;
*[[Gameplay::usingMissionCreator|mp.game.gameplay.usingMissionCreator]]&lt;br /&gt;
*[[Gameplay::allowMissionCreatorWarp|mp.game.gameplay.allowMissionCreatorWarp]]&lt;br /&gt;
*[[Gameplay::setMinigameInProgress|mp.game.gameplay.setMinigameInProgress]]&lt;br /&gt;
*[[Gameplay::isMinigameInProgress|mp.game.gameplay.isMinigameInProgress]]&lt;br /&gt;
*[[Gameplay::isThisAMinigameScript|mp.game.gameplay.isThisAMinigameScript]]&lt;br /&gt;
*[[Gameplay::isSniperInverted|mp.game.gameplay.isSniperInverted]]&lt;br /&gt;
*[[Gameplay::shouldUseMetricMeasurements|mp.game.gameplay.shouldUseMetricMeasurements]]&lt;br /&gt;
*[[Gameplay::getProfileSetting|mp.game.gameplay.getProfileSetting]]&lt;br /&gt;
*[[Gameplay::areStringsEqual|mp.game.gameplay.areStringsEqual]]&lt;br /&gt;
*[[Gameplay::compareStrings|mp.game.gameplay.compareStrings]]&lt;br /&gt;
*[[Gameplay::absi|mp.game.gameplay.absi]]&lt;br /&gt;
*[[Gameplay::absf|mp.game.gameplay.absf]]&lt;br /&gt;
*[[Gameplay::isSniperBulletInArea|mp.game.gameplay.isSniperBulletInArea]]&lt;br /&gt;
*[[Gameplay::isProjectileInArea|mp.game.gameplay.isProjectileInArea]]&lt;br /&gt;
*[[Gameplay::isProjectileTypeInArea|mp.game.gameplay.isProjectileTypeInArea]]&lt;br /&gt;
*[[Gameplay::isProjectileTypeInAngledArea|mp.game.gameplay.isProjectileTypeInAngledArea]]&lt;br /&gt;
*[[Gameplay::isProjectileTypeWithinDistance|mp.game.gameplay.isProjectileTypeWithinDistance]]&lt;br /&gt;
*[[Gameplay::getCoordsOfProjectileTypeInArea|mp.game.gameplay.getCoordsOfProjectileTypeInArea]]&lt;br /&gt;
*[[Gameplay::getCoordsOfProjectileTypeWithinDistance|mp.game.gameplay.getCoordsOfProjectileTypeWithinDistance]]&lt;br /&gt;
*[[Gameplay::getProjectileNearPed|mp.game.gameplay.getProjectileNearPed]]&lt;br /&gt;
*[[Gameplay::isBulletInAngledArea|mp.game.gameplay.isBulletInAngledArea]]&lt;br /&gt;
*[[Gameplay::isBulletInArea|mp.game.gameplay.isBulletInArea]]&lt;br /&gt;
*[[Gameplay::isBulletInBox|mp.game.gameplay.isBulletInBox]]&lt;br /&gt;
*[[Gameplay::hasBulletImpactedInArea|mp.game.gameplay.hasBulletImpactedInArea]]&lt;br /&gt;
*[[Gameplay::hasBulletImpactedInBox|mp.game.gameplay.hasBulletImpactedInBox]]&lt;br /&gt;
*[[Gameplay::isOrbisVersion|mp.game.gameplay.isOrbisVersion]]&lt;br /&gt;
*[[Gameplay::isDurangoVersion|mp.game.gameplay.isDurangoVersion]]&lt;br /&gt;
*[[Gameplay::isPcVersion|mp.game.gameplay.isPcVersion]]&lt;br /&gt;
*[[Gameplay::isAussieVersion|mp.game.gameplay.isAussieVersion]]&lt;br /&gt;
*[[Gameplay::isStringNull|mp.game.gameplay.isStringNull]]&lt;br /&gt;
*[[Gameplay::isStringNullOrEmpty|mp.game.gameplay.isStringNullOrEmpty]]&lt;br /&gt;
*[[Gameplay::stringToInt|mp.game.gameplay.stringToInt]]&lt;br /&gt;
*[[Gameplay::setBitsInRange|mp.game.gameplay.setBitsInRange]]&lt;br /&gt;
*[[Gameplay::getBitsInRange|mp.game.gameplay.getBitsInRange]]&lt;br /&gt;
*[[Gameplay::addStuntJump|mp.game.gameplay.addStuntJump]]&lt;br /&gt;
*[[Gameplay::addStuntJumpAngled|mp.game.gameplay.addStuntJumpAngled]]&lt;br /&gt;
*[[Gameplay::deleteStuntJump|mp.game.gameplay.deleteStuntJump]]&lt;br /&gt;
*[[Gameplay::enableStuntJumpSet|mp.game.gameplay.enableStuntJumpSet]]&lt;br /&gt;
*[[Gameplay::disableStuntJumpSet|mp.game.gameplay.disableStuntJumpSet]]&lt;br /&gt;
*[[Gameplay::setStuntJumpsCanTrigger|mp.game.gameplay.setStuntJumpsCanTrigger]]&lt;br /&gt;
*[[Gameplay::isStuntJumpInProgress|mp.game.gameplay.isStuntJumpInProgress]]&lt;br /&gt;
*[[Gameplay::isStuntJumpMessageShowing|mp.game.gameplay.isStuntJumpMessageShowing]]&lt;br /&gt;
*[[Gameplay::getNumSuccessfulStuntJumps|mp.game.gameplay.getNumSuccessfulStuntJumps]]&lt;br /&gt;
*[[Gameplay::getTotalSuccessfulStuntJumps|mp.game.gameplay.getTotalSuccessfulStuntJumps]]&lt;br /&gt;
*[[Gameplay::cancelStuntJump|mp.game.gameplay.cancelStuntJump]]&lt;br /&gt;
*[[Gameplay::setGamePaused|mp.game.gameplay.setGamePaused]]&lt;br /&gt;
*[[Gameplay::setThisScriptCanBePaused|mp.game.gameplay.setThisScriptCanBePaused]]&lt;br /&gt;
*[[Gameplay::setThisScriptCanRemoveBlipsCreatedByAnyScript|mp.game.gameplay.setThisScriptCanRemoveBlipsCreatedByAnyScript]]&lt;br /&gt;
*[[Gameplay::hasButtonCombinationJustBeenEntered|mp.game.gameplay.hasButtonCombinationJustBeenEntered]]&lt;br /&gt;
*[[Gameplay::hasCheatStringJustBeenEntered|mp.game.gameplay.hasCheatStringJustBeenEntered]]&lt;br /&gt;
*[[Gameplay::setInstancePriorityMode|mp.game.gameplay.setInstancePriorityMode]]&lt;br /&gt;
*[[Gameplay::setInstancePriorityHint|mp.game.gameplay.setInstancePriorityHint]]&lt;br /&gt;
*[[Gameplay::isFrontendFading|mp.game.gameplay.isFrontendFading]]&lt;br /&gt;
*[[Gameplay::populateNow|mp.game.gameplay.populateNow]]&lt;br /&gt;
*[[Gameplay::getIndexOfCurrentLevel|mp.game.gameplay.getIndexOfCurrentLevel]]&lt;br /&gt;
*[[Gameplay::setGravityLevel|mp.game.gameplay.setGravityLevel]]&lt;br /&gt;
*[[Gameplay::getGravityLevel|mp.game.gameplay.getGravityLevel]]&lt;br /&gt;
*[[Gameplay::startSaveData|mp.game.gameplay.startSaveData]]&lt;br /&gt;
*[[Gameplay::stopSaveData|mp.game.gameplay.stopSaveData]]&lt;br /&gt;
*[[Gameplay::getSizeOfSaveData|mp.game.gameplay.getSizeOfSaveData]]&lt;br /&gt;
*[[Gameplay::registerIntToSave|mp.game.gameplay.registerIntToSave]]&lt;br /&gt;
*[[Gameplay::registerInt64ToSave|mp.game.gameplay.registerInt64ToSave]]&lt;br /&gt;
*[[Gameplay::registerEnumToSave|mp.game.gameplay.registerEnumToSave]]&lt;br /&gt;
*[[Gameplay::registerFloatToSave|mp.game.gameplay.registerFloatToSave]]&lt;br /&gt;
*[[Gameplay::registerBoolToSave|mp.game.gameplay.registerBoolToSave]]&lt;br /&gt;
*[[Gameplay::registerTextLabelToSave|mp.game.gameplay.registerTextLabelToSave]]&lt;br /&gt;
*[[Gameplay::registerTextLabelToSave2|mp.game.gameplay.registerTextLabelToSave2]]&lt;br /&gt;
*[[Gameplay::startSaveStructWithSize|mp.game.gameplay.startSaveStructWithSize]]&lt;br /&gt;
*[[Gameplay::stopSaveStruct|mp.game.gameplay.stopSaveStruct]]&lt;br /&gt;
*[[Gameplay::startSaveArrayWithSize|mp.game.gameplay.startSaveArrayWithSize]]&lt;br /&gt;
*[[Gameplay::stopSaveArray|mp.game.gameplay.stopSaveArray]]&lt;br /&gt;
*[[Gameplay::copyMemory|mp.game.gameplay.copyMemory]]&lt;br /&gt;
*[[Gameplay::enableDispatchService|mp.game.gameplay.enableDispatchService]]&lt;br /&gt;
*[[Gameplay::blockDispatchServiceResourceCreation|mp.game.gameplay.blockDispatchServiceResourceCreation]]&lt;br /&gt;
*[[Gameplay::getNumDispatchedUnitsForPlayer|mp.game.gameplay.getNumDispatchedUnitsForPlayer]]&lt;br /&gt;
*[[Gameplay::createIncident|mp.game.gameplay.createIncident]]&lt;br /&gt;
*[[Gameplay::createIncidentWithEntity|mp.game.gameplay.createIncidentWithEntity]]&lt;br /&gt;
*[[Gameplay::deleteIncident|mp.game.gameplay.deleteIncident]]&lt;br /&gt;
*[[Gameplay::isIncidentValid|mp.game.gameplay.isIncidentValid]]&lt;br /&gt;
*[[Gameplay::setIncidentRequestedUnits|mp.game.gameplay.setIncidentRequestedUnits]]&lt;br /&gt;
*[[Gameplay::setIncidentUnk|mp.game.gameplay.setIncidentUnk]]&lt;br /&gt;
*[[Gameplay::findSpawnPointInDirection|mp.game.gameplay.findSpawnPointInDirection]]&lt;br /&gt;
*[[Gameplay::addPopMultiplierArea|mp.game.gameplay.addPopMultiplierArea]]&lt;br /&gt;
*[[Gameplay::doesPopMultiplierAreaExist|mp.game.gameplay.doesPopMultiplierAreaExist]]&lt;br /&gt;
*[[Gameplay::removePopMultiplierArea|mp.game.gameplay.removePopMultiplierArea]]&lt;br /&gt;
*[[Gameplay::isPopMultiplierAreaUnk|mp.game.gameplay.isPopMultiplierAreaUnk]]&lt;br /&gt;
*[[Gameplay::addPopMultiplierSphere|mp.game.gameplay.addPopMultiplierSphere]]&lt;br /&gt;
*[[Gameplay::doesPopMultiplierSphereExist|mp.game.gameplay.doesPopMultiplierSphereExist]]&lt;br /&gt;
*[[Gameplay::removePopMultiplierSphere|mp.game.gameplay.removePopMultiplierSphere]]&lt;br /&gt;
*[[Gameplay::enableTennisMode|mp.game.gameplay.enableTennisMode]]&lt;br /&gt;
*[[Gameplay::isTennisMode|mp.game.gameplay.isTennisMode]]&lt;br /&gt;
*[[Gameplay::playTennisSwingAnim|mp.game.gameplay.playTennisSwingAnim]]&lt;br /&gt;
*[[Gameplay::getTennisSwingAnimComplete|mp.game.gameplay.getTennisSwingAnimComplete]]&lt;br /&gt;
*[[Gameplay::playTennisDiveAnim|mp.game.gameplay.playTennisDiveAnim]]&lt;br /&gt;
*[[Gameplay::resetDispatchSpawnLocation|mp.game.gameplay.resetDispatchSpawnLocation]]&lt;br /&gt;
*[[Gameplay::setDispatchSpawnLocation|mp.game.gameplay.setDispatchSpawnLocation]]&lt;br /&gt;
*[[Gameplay::resetDispatchIdealSpawnDistance|mp.game.gameplay.resetDispatchIdealSpawnDistance]]&lt;br /&gt;
*[[Gameplay::setDispatchIdealSpawnDistance|mp.game.gameplay.setDispatchIdealSpawnDistance]]&lt;br /&gt;
*[[Gameplay::resetDispatchTimeBetweenSpawnAttempts|mp.game.gameplay.resetDispatchTimeBetweenSpawnAttempts]]&lt;br /&gt;
*[[Gameplay::setDispatchTimeBetweenSpawnAttempts|mp.game.gameplay.setDispatchTimeBetweenSpawnAttempts]]&lt;br /&gt;
*[[Gameplay::setDispatchTimeBetweenSpawnAttemptsMultiplier|mp.game.gameplay.setDispatchTimeBetweenSpawnAttemptsMultiplier]]&lt;br /&gt;
*[[Gameplay::addDispatchSpawnBlockingAngledArea|mp.game.gameplay.addDispatchSpawnBlockingAngledArea]]&lt;br /&gt;
*[[Gameplay::addDispatchSpawnBlockingArea|mp.game.gameplay.addDispatchSpawnBlockingArea]]&lt;br /&gt;
*[[Gameplay::removeDispatchSpawnBlockingArea|mp.game.gameplay.removeDispatchSpawnBlockingArea]]&lt;br /&gt;
*[[Gameplay::resetDispatchSpawnBlockingAreas|mp.game.gameplay.resetDispatchSpawnBlockingAreas]]&lt;br /&gt;
*[[Gameplay::addTacticalAnalysisPoint|mp.game.gameplay.addTacticalAnalysisPoint]]&lt;br /&gt;
*[[Gameplay::clearTacticalAnalysisPoints|mp.game.gameplay.clearTacticalAnalysisPoints]]&lt;br /&gt;
*[[Gameplay::setRiotModeEnabled|mp.game.gameplay.setRiotModeEnabled]]&lt;br /&gt;
*[[Gameplay::displayOnscreenKeyboardWithLongerInitialString|mp.game.gameplay.displayOnscreenKeyboardWithLongerInitialString]]&lt;br /&gt;
*[[Gameplay::displayOnscreenKeyboard|mp.game.gameplay.displayOnscreenKeyboard]]&lt;br /&gt;
*[[Gameplay::updateOnscreenKeyboard|mp.game.gameplay.updateOnscreenKeyboard]]&lt;br /&gt;
*[[Gameplay::getOnscreenKeyboardResult|mp.game.gameplay.getOnscreenKeyboardResult]]&lt;br /&gt;
*[[Gameplay::cancelOnscreenKeyboard|mp.game.gameplay.cancelOnscreenKeyboard]]&lt;br /&gt;
*[[Gameplay::nextOnscreenKeyboardResultWillDisplayUsingTheseFonts|mp.game.gameplay.nextOnscreenKeyboardResultWillDisplayUsingTheseFonts]]&lt;br /&gt;
*[[Gameplay::removeStealthKill|mp.game.gameplay.removeStealthKill]]&lt;br /&gt;
*[[Gameplay::setExplosiveAmmoThisFrame|mp.game.gameplay.setExplosiveAmmoThisFrame]]&lt;br /&gt;
*[[Gameplay::setFireAmmoThisFrame|mp.game.gameplay.setFireAmmoThisFrame]]&lt;br /&gt;
*[[Gameplay::setExplosiveMeleeThisFrame|mp.game.gameplay.setExplosiveMeleeThisFrame]]&lt;br /&gt;
*[[Gameplay::setSuperJumpThisFrame|mp.game.gameplay.setSuperJumpThisFrame]]&lt;br /&gt;
*[[Gameplay::setBeastModeActive|mp.game.gameplay.setBeastModeActive]]&lt;br /&gt;
*[[Gameplay::setForcePlayerToJump|mp.game.gameplay.setForcePlayerToJump]]&lt;br /&gt;
*[[Gameplay::areProfileSettingsValid|mp.game.gameplay.areProfileSettingsValid]]&lt;br /&gt;
*[[Gameplay::forceGameStatePlaying|mp.game.gameplay.forceGameStatePlaying]]&lt;br /&gt;
*[[Gameplay::scriptRaceInit|mp.game.gameplay.scriptRaceInit]]&lt;br /&gt;
*[[Gameplay::scriptRaceShutdown|mp.game.gameplay.scriptRaceShutdown]]&lt;br /&gt;
*[[Gameplay::scriptRaceGetPlayerSplitTime|mp.game.gameplay.scriptRaceGetPlayerSplitTime]]&lt;br /&gt;
*[[Gameplay::startBenchmarkRecording|mp.game.gameplay.startBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::stopBenchmarkRecording|mp.game.gameplay.stopBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::resetBenchmarkRecording|mp.game.gameplay.resetBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::saveBenchmarkRecording|mp.game.gameplay.saveBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::uiIsSingleplayerPauseMenuActive|mp.game.gameplay.uiIsSingleplayerPauseMenuActive]]&lt;br /&gt;
*[[Gameplay::landingMenuIsActive|mp.game.gameplay.landingMenuIsActive]]&lt;br /&gt;
*[[Gameplay::isCommandLineBenchmarkValueSet|mp.game.gameplay.isCommandLineBenchmarkValueSet]]&lt;br /&gt;
*[[Gameplay::getBenchmarkIterationsFromCommandLine|mp.game.gameplay.getBenchmarkIterationsFromCommandLine]]&lt;br /&gt;
*[[Gameplay::getBenchmarkPassFromCommandLine|mp.game.gameplay.getBenchmarkPassFromCommandLine]]&lt;br /&gt;
*[[Gameplay::restartGame|mp.game.gameplay.restartGame]]&lt;br /&gt;
*[[Gameplay::forceSocialClubUpdate|mp.game.gameplay.forceSocialClubUpdate]]&lt;br /&gt;
*[[Gameplay::hasAsyncInstallFinished|mp.game.gameplay.hasAsyncInstallFinished]]&lt;br /&gt;
*[[Gameplay::cleanupAsyncInstall|mp.game.gameplay.cleanupAsyncInstall]]&lt;br /&gt;
*[[Gameplay::isInPowerSavingMode|mp.game.gameplay.isInPowerSavingMode]]&lt;br /&gt;
*[[Gameplay::getPowerSavingModeDuration|mp.game.gameplay.getPowerSavingModeDuration]]&lt;br /&gt;
*[[Gameplay::setPlayerIsInAnimalForm|mp.game.gameplay.setPlayerIsInAnimalForm]]&lt;br /&gt;
*[[Gameplay::getIsPlayerInAnimalForm|mp.game.gameplay.getIsPlayerInAnimalForm]]&lt;br /&gt;
*[[Gameplay::setPlayerRockstarEditorDisabled|mp.game.gameplay.setPlayerRockstarEditorDisabled]]&lt;br /&gt;
*[[Gameplay::enableSnow|mp.game.gameplay.enableSnow]]&lt;br /&gt;
*[[Gameplay::getFreeStackSlotsCount|mp.game.gameplay.getFreeStackSlotsCount]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeOverTime|mp.game.gameplay.setWeatherTypeOverTime]]&lt;br /&gt;
*[[Gameplay::setRainFxIntensity|mp.game.gameplay.setRainFxIntensity]]&lt;br /&gt;
*[[Gameplay::setCloudHatTransition|mp.game.gameplay.setCloudHatTransition]]&lt;br /&gt;
*[[Gameplay::clearAreaOfEverything|mp.game.gameplay.clearAreaOfEverything]]&lt;br /&gt;
*[[Gameplay::disableAutomaticRespawn|mp.game.gameplay.disableAutomaticRespawn]]&lt;br /&gt;
*[[Gameplay::enableMpDlcMaps|mp.game.gameplay.enableMpDlcMaps]]&lt;br /&gt;
*[[Gameplay::setUnkMapFlag|mp.game.gameplay.setUnkMapFlag]]&lt;br /&gt;
*[[Gameplay::startSaveStruct|mp.game.gameplay.startSaveStruct]]&lt;br /&gt;
*[[Gameplay::startSaveArray|mp.game.gameplay.startSaveArray]]&lt;br /&gt;
*[[Gameplay::startPerformanceTimer|mp.game.gameplay.startPerformanceTimer]]&lt;br /&gt;
**[[PerformanceTimer::getElapsedSec| PerformanceTimer.getElapsedSec]]&lt;br /&gt;
**[[PerformanceTimer::getElapsedMs| PerformanceTimer.getElapsedMs]]&lt;br /&gt;
**[[PerformanceTimer::getElapsedUs| PerformanceTimer.getElapsedUs]]&lt;br /&gt;
**[[PerformanceTimer::reset| PerformanceTimer.reset]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Template:Gameplay_functions_c&amp;diff=27511</id>
		<title>Template:Gameplay functions c</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Template:Gameplay_functions_c&amp;diff=27511"/>
		<updated>2025-12-26T23:53:15Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Gameplay::getAllocatedStackSize|mp.game.gameplay.getAllocatedStackSize]]&lt;br /&gt;
*[[Gameplay::getNumberOfFreeStacksOfThisSize|mp.game.gameplay.getNumberOfFreeStacksOfThisSize]]&lt;br /&gt;
*[[Gameplay::setRandomSeed|mp.game.gameplay.setRandomSeed]]&lt;br /&gt;
*[[Gameplay::setTimeScale|mp.game.gameplay.setTimeScale]]&lt;br /&gt;
*[[Gameplay::setMissionFlag|mp.game.gameplay.setMissionFlag]]&lt;br /&gt;
*[[Gameplay::getMissionFlag|mp.game.gameplay.getMissionFlag]]&lt;br /&gt;
*[[Gameplay::setRandomEventFlag|mp.game.gameplay.setRandomEventFlag]]&lt;br /&gt;
*[[Gameplay::getRandomEventFlag|mp.game.gameplay.getRandomEventFlag]]&lt;br /&gt;
*[[Gameplay::getGlobalCharBuffer|mp.game.gameplay.getGlobalCharBuffer]]&lt;br /&gt;
*[[Gameplay::hasResumedFromSuspend|mp.game.gameplay.hasResumedFromSuspend]]&lt;br /&gt;
*[[Gameplay::getBaseElementMetadata|mp.game.gameplay.getBaseElementMetadata]]&lt;br /&gt;
*[[Gameplay::getPrevWeatherTypeHashName|mp.game.gameplay.getPrevWeatherTypeHashName]]&lt;br /&gt;
*[[Gameplay::getNextWeatherTypeHashName|mp.game.gameplay.getNextWeatherTypeHashName]]&lt;br /&gt;
*[[Gameplay::isPrevWeatherType|mp.game.gameplay.isPrevWeatherType]]&lt;br /&gt;
*[[Gameplay::isNextWeatherType|mp.game.gameplay.isNextWeatherType]]&lt;br /&gt;
*[[Gameplay::setWeatherTypePersist|mp.game.gameplay.setWeatherTypePersist]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeNowPersist|mp.game.gameplay.setWeatherTypeNowPersist]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeNow|mp.game.gameplay.setWeatherTypeNow]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeOvertimePersist|mp.game.gameplay.setWeatherTypeOvertimePersist]]&lt;br /&gt;
*[[Gameplay::setRandomWeatherType|mp.game.gameplay.setRandomWeatherType]]&lt;br /&gt;
*[[Gameplay::clearWeatherTypePersist|mp.game.gameplay.clearWeatherTypePersist]]&lt;br /&gt;
*[[Gameplay::clearWeatherTypeOvertimePersist|mp.game.gameplay.clearWeatherTypeOvertimePersist]]&lt;br /&gt;
*[[Gameplay::getWeatherTypeTransition|mp.game.gameplay.getWeatherTypeTransition]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeTransition|mp.game.gameplay.setWeatherTypeTransition]]&lt;br /&gt;
*[[Gameplay::setOverrideWeather|mp.game.gameplay.setOverrideWeather]]&lt;br /&gt;
*[[Gameplay::clearOverrideWeather|mp.game.gameplay.clearOverrideWeather]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetShorewaveamplitude|mp.game.gameplay.waterOverrideSetShorewaveamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetShorewaveminamplitude|mp.game.gameplay.waterOverrideSetShorewaveminamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetShorewavemaxamplitude|mp.game.gameplay.waterOverrideSetShorewavemaxamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceannoiseminamplitude|mp.game.gameplay.waterOverrideSetOceannoiseminamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceanwaveamplitude|mp.game.gameplay.waterOverrideSetOceanwaveamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceanwaveminamplitude|mp.game.gameplay.waterOverrideSetOceanwaveminamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceanwavemaxamplitude|mp.game.gameplay.waterOverrideSetOceanwavemaxamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRipplebumpiness|mp.game.gameplay.waterOverrideSetRipplebumpiness]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRippleminbumpiness|mp.game.gameplay.waterOverrideSetRippleminbumpiness]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRipplemaxbumpiness|mp.game.gameplay.waterOverrideSetRipplemaxbumpiness]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRippledisturb|mp.game.gameplay.waterOverrideSetRippledisturb]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetStrength|mp.game.gameplay.waterOverrideSetStrength]]&lt;br /&gt;
*[[Gameplay::waterOverrideFadeIn|mp.game.gameplay.waterOverrideFadeIn]]&lt;br /&gt;
*[[Gameplay::waterOverrideFadeOut|mp.game.gameplay.waterOverrideFadeOut]]&lt;br /&gt;
*[[Gameplay::setWind|mp.game.gameplay.setWind]]&lt;br /&gt;
*[[Gameplay::setWindSpeed|mp.game.gameplay.setWindSpeed]]&lt;br /&gt;
*[[Gameplay::getWindSpeed|mp.game.gameplay.getWindSpeed]]&lt;br /&gt;
*[[Gameplay::setWindDirection|mp.game.gameplay.setWindDirection]]&lt;br /&gt;
*[[Gameplay::getWindDirection|mp.game.gameplay.getWindDirection]]&lt;br /&gt;
*[[Gameplay::setRainLevel|mp.game.gameplay.setRainLevel]]&lt;br /&gt;
*[[Gameplay::getRainLevel|mp.game.gameplay.getRainLevel]]&lt;br /&gt;
*[[Gameplay::setSnowLevel|mp.game.gameplay.setSnowLevel]]&lt;br /&gt;
*[[Gameplay::getSnowLevel|mp.game.gameplay.getSnowLevel]]&lt;br /&gt;
*[[Gameplay::forceLightningFlash|mp.game.gameplay.forceLightningFlash]]&lt;br /&gt;
*[[Gameplay::preloadCloudHat|mp.game.gameplay.preloadCloudHat]]&lt;br /&gt;
*[[Gameplay::loadCloudHat|mp.game.gameplay.loadCloudHat]]&lt;br /&gt;
*[[Gameplay::unloadCloudHat|mp.game.gameplay.unloadCloudHat]]&lt;br /&gt;
*[[Gameplay::clearCloudHat|mp.game.gameplay.clearCloudHat]]&lt;br /&gt;
*[[Gameplay::setCloudHatOpacity|mp.game.gameplay.setCloudHatOpacity]]&lt;br /&gt;
*[[Gameplay::getCloudHatOpacity|mp.game.gameplay.getCloudHatOpacity]]&lt;br /&gt;
*[[Gameplay::getGameTimer|mp.game.gameplay.getGameTimer]]&lt;br /&gt;
*[[Gameplay::getFrameTime|mp.game.gameplay.getFrameTime]]&lt;br /&gt;
*[[Gameplay::getBenchmarkTime|mp.game.gameplay.getBenchmarkTime]]&lt;br /&gt;
*[[Gameplay::getFrameCount|mp.game.gameplay.getFrameCount]]&lt;br /&gt;
*[[Gameplay::getRandomFloatInRange|mp.game.gameplay.getRandomFloatInRange]]&lt;br /&gt;
*[[Gameplay::getRandomIntInRange|mp.game.gameplay.getRandomIntInRange]]&lt;br /&gt;
*[[Gameplay::getRandomIntInRange2|mp.game.gameplay.getRandomIntInRange2]]&lt;br /&gt;
*[[Gameplay::getGroundZFor3dCoord|mp.game.gameplay.getGroundZFor3dCoord]]&lt;br /&gt;
*[[Gameplay::getGroundZAndNormalFor3DCoord|mp.game.gameplay.getGroundZAndNormalFor3DCoord]]&lt;br /&gt;
*[[Gameplay::getGroundZFor3DCoord2|mp.game.gameplay.getGroundZFor3DCoord2]]&lt;br /&gt;
*[[Gameplay::asin|mp.game.gameplay.asin]]&lt;br /&gt;
*[[Gameplay::acos|mp.game.gameplay.acos]]&lt;br /&gt;
*[[Gameplay::tan|mp.game.gameplay.tan]]&lt;br /&gt;
*[[Gameplay::atan|mp.game.gameplay.atan]]&lt;br /&gt;
*[[Gameplay::atan2|mp.game.gameplay.atan2]]&lt;br /&gt;
*[[Gameplay::getDistanceBetweenCoords|mp.game.gameplay.getDistanceBetweenCoords]]&lt;br /&gt;
*[[Gameplay::getAngleBetween2dVectors|mp.game.gameplay.getAngleBetween2dVectors]]&lt;br /&gt;
*[[Gameplay::getAngleBetween2DVectors|mp.game.gameplay.getAngleBetween2DVectors]]&lt;br /&gt;
*[[Gameplay::getHeadingFromVector2d|mp.game.gameplay.getHeadingFromVector2d]]&lt;br /&gt;
*[[Gameplay::getHeadingFromVector2D|mp.game.gameplay.getHeadingFromVector2D]]&lt;br /&gt;
*[[Gameplay::setBit|mp.game.gameplay.setBit]]&lt;br /&gt;
*[[Gameplay::clearBit|mp.game.gameplay.clearBit]]&lt;br /&gt;
*[[Gameplay::getHashKey|mp.game.gameplay.getHashKey]]&lt;br /&gt;
*[[Gameplay::slerpNearQuaternion|mp.game.gameplay.slerpNearQuaternion]]&lt;br /&gt;
*[[Gameplay::isAreaOccupied|mp.game.gameplay.isAreaOccupied]]&lt;br /&gt;
*[[Gameplay::isPositionOccupied|mp.game.gameplay.isPositionOccupied]]&lt;br /&gt;
*[[Gameplay::isPointObscuredByAMissionEntity|mp.game.gameplay.isPointObscuredByAMissionEntity]]&lt;br /&gt;
*[[Gameplay::clearArea|mp.game.gameplay.clearArea]]&lt;br /&gt;
*[[Gameplay::clearAreaLeaveVehicleHealth|mp.game.gameplay.clearAreaLeaveVehicleHealth]]&lt;br /&gt;
*[[Gameplay::clearAreaOfVehicles|mp.game.gameplay.clearAreaOfVehicles]]&lt;br /&gt;
*[[Gameplay::clearAngledAreaOfVehicles|mp.game.gameplay.clearAngledAreaOfVehicles]]&lt;br /&gt;
*[[Gameplay::clearAreaOfObjects|mp.game.gameplay.clearAreaOfObjects]]&lt;br /&gt;
*[[Gameplay::clearAreaOfPeds|mp.game.gameplay.clearAreaOfPeds]]&lt;br /&gt;
*[[Gameplay::clearAreaOfCops|mp.game.gameplay.clearAreaOfCops]]&lt;br /&gt;
*[[Gameplay::clearAreaOfProjectiles|mp.game.gameplay.clearAreaOfProjectiles]]&lt;br /&gt;
*[[Gameplay::setSaveMenuActive|mp.game.gameplay.setSaveMenuActive]]&lt;br /&gt;
*[[Gameplay::setCreditsActive|mp.game.gameplay.setCreditsActive]]&lt;br /&gt;
*[[Gameplay::haveCreditsReachedEnd|mp.game.gameplay.haveCreditsReachedEnd]]&lt;br /&gt;
*[[Gameplay::terminateAllScriptsWithThisName|mp.game.gameplay.terminateAllScriptsWithThisName]]&lt;br /&gt;
*[[Gameplay::networkSetScriptIsSafeForNetworkGame|mp.game.gameplay.networkSetScriptIsSafeForNetworkGame]]&lt;br /&gt;
*[[Gameplay::addHospitalRestart|mp.game.gameplay.addHospitalRestart]]&lt;br /&gt;
*[[Gameplay::disableHospitalRestart|mp.game.gameplay.disableHospitalRestart]]&lt;br /&gt;
*[[Gameplay::addPoliceRestart|mp.game.gameplay.addPoliceRestart]]&lt;br /&gt;
*[[Gameplay::disablePoliceRestart|mp.game.gameplay.disablePoliceRestart]]&lt;br /&gt;
*[[Gameplay::setRestartCustomPosition|mp.game.gameplay.setRestartCustomPosition]]&lt;br /&gt;
*[[Gameplay::clearRestartCustomPosition|mp.game.gameplay.clearRestartCustomPosition]]&lt;br /&gt;
*[[Gameplay::pauseDeathArrestRestart|mp.game.gameplay.pauseDeathArrestRestart]]&lt;br /&gt;
*[[Gameplay::ignoreNextRestart|mp.game.gameplay.ignoreNextRestart]]&lt;br /&gt;
*[[Gameplay::setFadeOutAfterDeath|mp.game.gameplay.setFadeOutAfterDeath]]&lt;br /&gt;
*[[Gameplay::setFadeOutAfterArrest|mp.game.gameplay.setFadeOutAfterArrest]]&lt;br /&gt;
*[[Gameplay::setFadeInAfterDeathArrest|mp.game.gameplay.setFadeInAfterDeathArrest]]&lt;br /&gt;
*[[Gameplay::setFadeInAfterLoad|mp.game.gameplay.setFadeInAfterLoad]]&lt;br /&gt;
*[[Gameplay::registerSaveHouse|mp.game.gameplay.registerSaveHouse]]&lt;br /&gt;
*[[Gameplay::setSaveHouse|mp.game.gameplay.setSaveHouse]]&lt;br /&gt;
*[[Gameplay::overrideSaveHouse|mp.game.gameplay.overrideSaveHouse]]&lt;br /&gt;
*[[Gameplay::doAutoSave|mp.game.gameplay.doAutoSave]]&lt;br /&gt;
*[[Gameplay::getIsAutoSaveOff|mp.game.gameplay.getIsAutoSaveOff]]&lt;br /&gt;
*[[Gameplay::isAutoSaveInProgress|mp.game.gameplay.isAutoSaveInProgress]]&lt;br /&gt;
*[[Gameplay::beginReplayStats|mp.game.gameplay.beginReplayStats]]&lt;br /&gt;
*[[Gameplay::addReplayStatValue|mp.game.gameplay.addReplayStatValue]]&lt;br /&gt;
*[[Gameplay::endReplayStats|mp.game.gameplay.endReplayStats]]&lt;br /&gt;
*[[Gameplay::getReplayStatMissionType|mp.game.gameplay.getReplayStatMissionType]]&lt;br /&gt;
*[[Gameplay::getReplayStatCount|mp.game.gameplay.getReplayStatCount]]&lt;br /&gt;
*[[Gameplay::getReplayStatAtIndex|mp.game.gameplay.getReplayStatAtIndex]]&lt;br /&gt;
*[[Gameplay::clearReplayStats|mp.game.gameplay.clearReplayStats]]&lt;br /&gt;
*[[Gameplay::isMemoryCardInUse|mp.game.gameplay.isMemoryCardInUse]]&lt;br /&gt;
*[[Gameplay::shootSingleBulletBetweenCoords|mp.game.gameplay.shootSingleBulletBetweenCoords]]&lt;br /&gt;
*[[Gameplay::shootSingleBulletBetweenCoordsIgnoreEntity|mp.game.gameplay.shootSingleBulletBetweenCoordsIgnoreEntity]]&lt;br /&gt;
*[[Gameplay::shootSingleBulletBetweenCoordsIgnoreEntityNew|mp.game.gameplay.shootSingleBulletBetweenCoordsIgnoreEntityNew]]&lt;br /&gt;
*[[Gameplay::getModelDimensions|mp.game.gameplay.getModelDimensions]]&lt;br /&gt;
*[[Gameplay::setFakeWantedLevel|mp.game.gameplay.setFakeWantedLevel]]&lt;br /&gt;
*[[Gameplay::getFakeWantedLevel|mp.game.gameplay.getFakeWantedLevel]]&lt;br /&gt;
*[[Gameplay::isBitSet|mp.game.gameplay.isBitSet]]&lt;br /&gt;
*[[Gameplay::usingMissionCreator|mp.game.gameplay.usingMissionCreator]]&lt;br /&gt;
*[[Gameplay::allowMissionCreatorWarp|mp.game.gameplay.allowMissionCreatorWarp]]&lt;br /&gt;
*[[Gameplay::setMinigameInProgress|mp.game.gameplay.setMinigameInProgress]]&lt;br /&gt;
*[[Gameplay::isMinigameInProgress|mp.game.gameplay.isMinigameInProgress]]&lt;br /&gt;
*[[Gameplay::isThisAMinigameScript|mp.game.gameplay.isThisAMinigameScript]]&lt;br /&gt;
*[[Gameplay::isSniperInverted|mp.game.gameplay.isSniperInverted]]&lt;br /&gt;
*[[Gameplay::shouldUseMetricMeasurements|mp.game.gameplay.shouldUseMetricMeasurements]]&lt;br /&gt;
*[[Gameplay::getProfileSetting|mp.game.gameplay.getProfileSetting]]&lt;br /&gt;
*[[Gameplay::areStringsEqual|mp.game.gameplay.areStringsEqual]]&lt;br /&gt;
*[[Gameplay::compareStrings|mp.game.gameplay.compareStrings]]&lt;br /&gt;
*[[Gameplay::absi|mp.game.gameplay.absi]]&lt;br /&gt;
*[[Gameplay::absf|mp.game.gameplay.absf]]&lt;br /&gt;
*[[Gameplay::isSniperBulletInArea|mp.game.gameplay.isSniperBulletInArea]]&lt;br /&gt;
*[[Gameplay::isProjectileInArea|mp.game.gameplay.isProjectileInArea]]&lt;br /&gt;
*[[Gameplay::isProjectileTypeInArea|mp.game.gameplay.isProjectileTypeInArea]]&lt;br /&gt;
*[[Gameplay::isProjectileTypeInAngledArea|mp.game.gameplay.isProjectileTypeInAngledArea]]&lt;br /&gt;
*[[Gameplay::isProjectileTypeWithinDistance|mp.game.gameplay.isProjectileTypeWithinDistance]]&lt;br /&gt;
*[[Gameplay::getCoordsOfProjectileTypeInArea|mp.game.gameplay.getCoordsOfProjectileTypeInArea]]&lt;br /&gt;
*[[Gameplay::getCoordsOfProjectileTypeWithinDistance|mp.game.gameplay.getCoordsOfProjectileTypeWithinDistance]]&lt;br /&gt;
*[[Gameplay::getProjectileNearPed|mp.game.gameplay.getProjectileNearPed]]&lt;br /&gt;
*[[Gameplay::isBulletInAngledArea|mp.game.gameplay.isBulletInAngledArea]]&lt;br /&gt;
*[[Gameplay::isBulletInArea|mp.game.gameplay.isBulletInArea]]&lt;br /&gt;
*[[Gameplay::isBulletInBox|mp.game.gameplay.isBulletInBox]]&lt;br /&gt;
*[[Gameplay::hasBulletImpactedInArea|mp.game.gameplay.hasBulletImpactedInArea]]&lt;br /&gt;
*[[Gameplay::hasBulletImpactedInBox|mp.game.gameplay.hasBulletImpactedInBox]]&lt;br /&gt;
*[[Gameplay::isOrbisVersion|mp.game.gameplay.isOrbisVersion]]&lt;br /&gt;
*[[Gameplay::isDurangoVersion|mp.game.gameplay.isDurangoVersion]]&lt;br /&gt;
*[[Gameplay::isPcVersion|mp.game.gameplay.isPcVersion]]&lt;br /&gt;
*[[Gameplay::isAussieVersion|mp.game.gameplay.isAussieVersion]]&lt;br /&gt;
*[[Gameplay::isStringNull|mp.game.gameplay.isStringNull]]&lt;br /&gt;
*[[Gameplay::isStringNullOrEmpty|mp.game.gameplay.isStringNullOrEmpty]]&lt;br /&gt;
*[[Gameplay::stringToInt|mp.game.gameplay.stringToInt]]&lt;br /&gt;
*[[Gameplay::setBitsInRange|mp.game.gameplay.setBitsInRange]]&lt;br /&gt;
*[[Gameplay::getBitsInRange|mp.game.gameplay.getBitsInRange]]&lt;br /&gt;
*[[Gameplay::addStuntJump|mp.game.gameplay.addStuntJump]]&lt;br /&gt;
*[[Gameplay::addStuntJumpAngled|mp.game.gameplay.addStuntJumpAngled]]&lt;br /&gt;
*[[Gameplay::deleteStuntJump|mp.game.gameplay.deleteStuntJump]]&lt;br /&gt;
*[[Gameplay::enableStuntJumpSet|mp.game.gameplay.enableStuntJumpSet]]&lt;br /&gt;
*[[Gameplay::disableStuntJumpSet|mp.game.gameplay.disableStuntJumpSet]]&lt;br /&gt;
*[[Gameplay::setStuntJumpsCanTrigger|mp.game.gameplay.setStuntJumpsCanTrigger]]&lt;br /&gt;
*[[Gameplay::isStuntJumpInProgress|mp.game.gameplay.isStuntJumpInProgress]]&lt;br /&gt;
*[[Gameplay::isStuntJumpMessageShowing|mp.game.gameplay.isStuntJumpMessageShowing]]&lt;br /&gt;
*[[Gameplay::getNumSuccessfulStuntJumps|mp.game.gameplay.getNumSuccessfulStuntJumps]]&lt;br /&gt;
*[[Gameplay::getTotalSuccessfulStuntJumps|mp.game.gameplay.getTotalSuccessfulStuntJumps]]&lt;br /&gt;
*[[Gameplay::cancelStuntJump|mp.game.gameplay.cancelStuntJump]]&lt;br /&gt;
*[[Gameplay::setGamePaused|mp.game.gameplay.setGamePaused]]&lt;br /&gt;
*[[Gameplay::setThisScriptCanBePaused|mp.game.gameplay.setThisScriptCanBePaused]]&lt;br /&gt;
*[[Gameplay::setThisScriptCanRemoveBlipsCreatedByAnyScript|mp.game.gameplay.setThisScriptCanRemoveBlipsCreatedByAnyScript]]&lt;br /&gt;
*[[Gameplay::hasButtonCombinationJustBeenEntered|mp.game.gameplay.hasButtonCombinationJustBeenEntered]]&lt;br /&gt;
*[[Gameplay::hasCheatStringJustBeenEntered|mp.game.gameplay.hasCheatStringJustBeenEntered]]&lt;br /&gt;
*[[Gameplay::setInstancePriorityMode|mp.game.gameplay.setInstancePriorityMode]]&lt;br /&gt;
*[[Gameplay::setInstancePriorityHint|mp.game.gameplay.setInstancePriorityHint]]&lt;br /&gt;
*[[Gameplay::isFrontendFading|mp.game.gameplay.isFrontendFading]]&lt;br /&gt;
*[[Gameplay::populateNow|mp.game.gameplay.populateNow]]&lt;br /&gt;
*[[Gameplay::getIndexOfCurrentLevel|mp.game.gameplay.getIndexOfCurrentLevel]]&lt;br /&gt;
*[[Gameplay::setGravityLevel|mp.game.gameplay.setGravityLevel]]&lt;br /&gt;
*[[Gameplay::getGravityLevel|mp.game.gameplay.getGravityLevel]]&lt;br /&gt;
*[[Gameplay::startSaveData|mp.game.gameplay.startSaveData]]&lt;br /&gt;
*[[Gameplay::stopSaveData|mp.game.gameplay.stopSaveData]]&lt;br /&gt;
*[[Gameplay::getSizeOfSaveData|mp.game.gameplay.getSizeOfSaveData]]&lt;br /&gt;
*[[Gameplay::registerIntToSave|mp.game.gameplay.registerIntToSave]]&lt;br /&gt;
*[[Gameplay::registerInt64ToSave|mp.game.gameplay.registerInt64ToSave]]&lt;br /&gt;
*[[Gameplay::registerEnumToSave|mp.game.gameplay.registerEnumToSave]]&lt;br /&gt;
*[[Gameplay::registerFloatToSave|mp.game.gameplay.registerFloatToSave]]&lt;br /&gt;
*[[Gameplay::registerBoolToSave|mp.game.gameplay.registerBoolToSave]]&lt;br /&gt;
*[[Gameplay::registerTextLabelToSave|mp.game.gameplay.registerTextLabelToSave]]&lt;br /&gt;
*[[Gameplay::registerTextLabelToSave2|mp.game.gameplay.registerTextLabelToSave2]]&lt;br /&gt;
*[[Gameplay::startSaveStructWithSize|mp.game.gameplay.startSaveStructWithSize]]&lt;br /&gt;
*[[Gameplay::stopSaveStruct|mp.game.gameplay.stopSaveStruct]]&lt;br /&gt;
*[[Gameplay::startSaveArrayWithSize|mp.game.gameplay.startSaveArrayWithSize]]&lt;br /&gt;
*[[Gameplay::stopSaveArray|mp.game.gameplay.stopSaveArray]]&lt;br /&gt;
*[[Gameplay::copyMemory|mp.game.gameplay.copyMemory]]&lt;br /&gt;
*[[Gameplay::enableDispatchService|mp.game.gameplay.enableDispatchService]]&lt;br /&gt;
*[[Gameplay::blockDispatchServiceResourceCreation|mp.game.gameplay.blockDispatchServiceResourceCreation]]&lt;br /&gt;
*[[Gameplay::getNumDispatchedUnitsForPlayer|mp.game.gameplay.getNumDispatchedUnitsForPlayer]]&lt;br /&gt;
*[[Gameplay::createIncident|mp.game.gameplay.createIncident]]&lt;br /&gt;
*[[Gameplay::createIncidentWithEntity|mp.game.gameplay.createIncidentWithEntity]]&lt;br /&gt;
*[[Gameplay::deleteIncident|mp.game.gameplay.deleteIncident]]&lt;br /&gt;
*[[Gameplay::isIncidentValid|mp.game.gameplay.isIncidentValid]]&lt;br /&gt;
*[[Gameplay::setIncidentRequestedUnits|mp.game.gameplay.setIncidentRequestedUnits]]&lt;br /&gt;
*[[Gameplay::setIncidentUnk|mp.game.gameplay.setIncidentUnk]]&lt;br /&gt;
*[[Gameplay::findSpawnPointInDirection|mp.game.gameplay.findSpawnPointInDirection]]&lt;br /&gt;
*[[Gameplay::addPopMultiplierArea|mp.game.gameplay.addPopMultiplierArea]]&lt;br /&gt;
*[[Gameplay::doesPopMultiplierAreaExist|mp.game.gameplay.doesPopMultiplierAreaExist]]&lt;br /&gt;
*[[Gameplay::removePopMultiplierArea|mp.game.gameplay.removePopMultiplierArea]]&lt;br /&gt;
*[[Gameplay::isPopMultiplierAreaUnk|mp.game.gameplay.isPopMultiplierAreaUnk]]&lt;br /&gt;
*[[Gameplay::addPopMultiplierSphere|mp.game.gameplay.addPopMultiplierSphere]]&lt;br /&gt;
*[[Gameplay::doesPopMultiplierSphereExist|mp.game.gameplay.doesPopMultiplierSphereExist]]&lt;br /&gt;
*[[Gameplay::removePopMultiplierSphere|mp.game.gameplay.removePopMultiplierSphere]]&lt;br /&gt;
*[[Gameplay::enableTennisMode|mp.game.gameplay.enableTennisMode]]&lt;br /&gt;
*[[Gameplay::isTennisMode|mp.game.gameplay.isTennisMode]]&lt;br /&gt;
*[[Gameplay::playTennisSwingAnim|mp.game.gameplay.playTennisSwingAnim]]&lt;br /&gt;
*[[Gameplay::getTennisSwingAnimComplete|mp.game.gameplay.getTennisSwingAnimComplete]]&lt;br /&gt;
*[[Gameplay::playTennisDiveAnim|mp.game.gameplay.playTennisDiveAnim]]&lt;br /&gt;
*[[Gameplay::resetDispatchSpawnLocation|mp.game.gameplay.resetDispatchSpawnLocation]]&lt;br /&gt;
*[[Gameplay::setDispatchSpawnLocation|mp.game.gameplay.setDispatchSpawnLocation]]&lt;br /&gt;
*[[Gameplay::resetDispatchIdealSpawnDistance|mp.game.gameplay.resetDispatchIdealSpawnDistance]]&lt;br /&gt;
*[[Gameplay::setDispatchIdealSpawnDistance|mp.game.gameplay.setDispatchIdealSpawnDistance]]&lt;br /&gt;
*[[Gameplay::resetDispatchTimeBetweenSpawnAttempts|mp.game.gameplay.resetDispatchTimeBetweenSpawnAttempts]]&lt;br /&gt;
*[[Gameplay::setDispatchTimeBetweenSpawnAttempts|mp.game.gameplay.setDispatchTimeBetweenSpawnAttempts]]&lt;br /&gt;
*[[Gameplay::setDispatchTimeBetweenSpawnAttemptsMultiplier|mp.game.gameplay.setDispatchTimeBetweenSpawnAttemptsMultiplier]]&lt;br /&gt;
*[[Gameplay::addDispatchSpawnBlockingAngledArea|mp.game.gameplay.addDispatchSpawnBlockingAngledArea]]&lt;br /&gt;
*[[Gameplay::addDispatchSpawnBlockingArea|mp.game.gameplay.addDispatchSpawnBlockingArea]]&lt;br /&gt;
*[[Gameplay::removeDispatchSpawnBlockingArea|mp.game.gameplay.removeDispatchSpawnBlockingArea]]&lt;br /&gt;
*[[Gameplay::resetDispatchSpawnBlockingAreas|mp.game.gameplay.resetDispatchSpawnBlockingAreas]]&lt;br /&gt;
*[[Gameplay::addTacticalAnalysisPoint|mp.game.gameplay.addTacticalAnalysisPoint]]&lt;br /&gt;
*[[Gameplay::clearTacticalAnalysisPoints|mp.game.gameplay.clearTacticalAnalysisPoints]]&lt;br /&gt;
*[[Gameplay::setRiotModeEnabled|mp.game.gameplay.setRiotModeEnabled]]&lt;br /&gt;
*[[Gameplay::displayOnscreenKeyboardWithLongerInitialString|mp.game.gameplay.displayOnscreenKeyboardWithLongerInitialString]]&lt;br /&gt;
*[[Gameplay::displayOnscreenKeyboard|mp.game.gameplay.displayOnscreenKeyboard]]&lt;br /&gt;
*[[Gameplay::updateOnscreenKeyboard|mp.game.gameplay.updateOnscreenKeyboard]]&lt;br /&gt;
*[[Gameplay::getOnscreenKeyboardResult|mp.game.gameplay.getOnscreenKeyboardResult]]&lt;br /&gt;
*[[Gameplay::cancelOnscreenKeyboard|mp.game.gameplay.cancelOnscreenKeyboard]]&lt;br /&gt;
*[[Gameplay::nextOnscreenKeyboardResultWillDisplayUsingTheseFonts|mp.game.gameplay.nextOnscreenKeyboardResultWillDisplayUsingTheseFonts]]&lt;br /&gt;
*[[Gameplay::removeStealthKill|mp.game.gameplay.removeStealthKill]]&lt;br /&gt;
*[[Gameplay::setExplosiveAmmoThisFrame|mp.game.gameplay.setExplosiveAmmoThisFrame]]&lt;br /&gt;
*[[Gameplay::setFireAmmoThisFrame|mp.game.gameplay.setFireAmmoThisFrame]]&lt;br /&gt;
*[[Gameplay::setExplosiveMeleeThisFrame|mp.game.gameplay.setExplosiveMeleeThisFrame]]&lt;br /&gt;
*[[Gameplay::setSuperJumpThisFrame|mp.game.gameplay.setSuperJumpThisFrame]]&lt;br /&gt;
*[[Gameplay::setBeastModeActive|mp.game.gameplay.setBeastModeActive]]&lt;br /&gt;
*[[Gameplay::setForcePlayerToJump|mp.game.gameplay.setForcePlayerToJump]]&lt;br /&gt;
*[[Gameplay::areProfileSettingsValid|mp.game.gameplay.areProfileSettingsValid]]&lt;br /&gt;
*[[Gameplay::forceGameStatePlaying|mp.game.gameplay.forceGameStatePlaying]]&lt;br /&gt;
*[[Gameplay::scriptRaceInit|mp.game.gameplay.scriptRaceInit]]&lt;br /&gt;
*[[Gameplay::scriptRaceShutdown|mp.game.gameplay.scriptRaceShutdown]]&lt;br /&gt;
*[[Gameplay::scriptRaceGetPlayerSplitTime|mp.game.gameplay.scriptRaceGetPlayerSplitTime]]&lt;br /&gt;
*[[Gameplay::startBenchmarkRecording|mp.game.gameplay.startBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::stopBenchmarkRecording|mp.game.gameplay.stopBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::resetBenchmarkRecording|mp.game.gameplay.resetBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::saveBenchmarkRecording|mp.game.gameplay.saveBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::uiIsSingleplayerPauseMenuActive|mp.game.gameplay.uiIsSingleplayerPauseMenuActive]]&lt;br /&gt;
*[[Gameplay::landingMenuIsActive|mp.game.gameplay.landingMenuIsActive]]&lt;br /&gt;
*[[Gameplay::isCommandLineBenchmarkValueSet|mp.game.gameplay.isCommandLineBenchmarkValueSet]]&lt;br /&gt;
*[[Gameplay::getBenchmarkIterationsFromCommandLine|mp.game.gameplay.getBenchmarkIterationsFromCommandLine]]&lt;br /&gt;
*[[Gameplay::getBenchmarkPassFromCommandLine|mp.game.gameplay.getBenchmarkPassFromCommandLine]]&lt;br /&gt;
*[[Gameplay::restartGame|mp.game.gameplay.restartGame]]&lt;br /&gt;
*[[Gameplay::forceSocialClubUpdate|mp.game.gameplay.forceSocialClubUpdate]]&lt;br /&gt;
*[[Gameplay::hasAsyncInstallFinished|mp.game.gameplay.hasAsyncInstallFinished]]&lt;br /&gt;
*[[Gameplay::cleanupAsyncInstall|mp.game.gameplay.cleanupAsyncInstall]]&lt;br /&gt;
*[[Gameplay::isInPowerSavingMode|mp.game.gameplay.isInPowerSavingMode]]&lt;br /&gt;
*[[Gameplay::getPowerSavingModeDuration|mp.game.gameplay.getPowerSavingModeDuration]]&lt;br /&gt;
*[[Gameplay::setPlayerIsInAnimalForm|mp.game.gameplay.setPlayerIsInAnimalForm]]&lt;br /&gt;
*[[Gameplay::getIsPlayerInAnimalForm|mp.game.gameplay.getIsPlayerInAnimalForm]]&lt;br /&gt;
*[[Gameplay::setPlayerRockstarEditorDisabled|mp.game.gameplay.setPlayerRockstarEditorDisabled]]&lt;br /&gt;
*[[Gameplay::enableSnow|mp.game.gameplay.enableSnow]]&lt;br /&gt;
*[[Gameplay::getFreeStackSlotsCount|mp.game.gameplay.getFreeStackSlotsCount]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeOverTime|mp.game.gameplay.setWeatherTypeOverTime]]&lt;br /&gt;
*[[Gameplay::setRainFxIntensity|mp.game.gameplay.setRainFxIntensity]]&lt;br /&gt;
*[[Gameplay::setCloudHatTransition|mp.game.gameplay.setCloudHatTransition]]&lt;br /&gt;
*[[Gameplay::clearAreaOfEverything|mp.game.gameplay.clearAreaOfEverything]]&lt;br /&gt;
*[[Gameplay::disableAutomaticRespawn|mp.game.gameplay.disableAutomaticRespawn]]&lt;br /&gt;
*[[Gameplay::enableMpDlcMaps|mp.game.gameplay.enableMpDlcMaps]]&lt;br /&gt;
*[[Gameplay::setUnkMapFlag|mp.game.gameplay.setUnkMapFlag]]&lt;br /&gt;
*[[Gameplay::startSaveStruct|mp.game.gameplay.startSaveStruct]]&lt;br /&gt;
*[[Gameplay::startSaveArray|mp.game.gameplay.startSaveArray]]&lt;br /&gt;
*[[Gameplay::startPerformanceTimer|mp.game.gameplay.startPerformanceTimer]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Template:Gameplay_functions_c&amp;diff=27510</id>
		<title>Template:Gameplay functions c</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Template:Gameplay_functions_c&amp;diff=27510"/>
		<updated>2025-12-26T23:52:54Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Gameplay::getAllocatedStackSize|mp.game.gameplay.getAllocatedStackSize]]&lt;br /&gt;
*[[Gameplay::getNumberOfFreeStacksOfThisSize|mp.game.gameplay.getNumberOfFreeStacksOfThisSize]]&lt;br /&gt;
*[[Gameplay::setRandomSeed|mp.game.gameplay.setRandomSeed]]&lt;br /&gt;
*[[Gameplay::setTimeScale|mp.game.gameplay.setTimeScale]]&lt;br /&gt;
*[[Gameplay::setMissionFlag|mp.game.gameplay.setMissionFlag]]&lt;br /&gt;
*[[Gameplay::getMissionFlag|mp.game.gameplay.getMissionFlag]]&lt;br /&gt;
*[[Gameplay::setRandomEventFlag|mp.game.gameplay.setRandomEventFlag]]&lt;br /&gt;
*[[Gameplay::getRandomEventFlag|mp.game.gameplay.getRandomEventFlag]]&lt;br /&gt;
*[[Gameplay::getGlobalCharBuffer|mp.game.gameplay.getGlobalCharBuffer]]&lt;br /&gt;
*[[Gameplay::hasResumedFromSuspend|mp.game.gameplay.hasResumedFromSuspend]]&lt;br /&gt;
*[[Gameplay::getBaseElementMetadata|mp.game.gameplay.getBaseElementMetadata]]&lt;br /&gt;
*[[Gameplay::getPrevWeatherTypeHashName|mp.game.gameplay.getPrevWeatherTypeHashName]]&lt;br /&gt;
*[[Gameplay::getNextWeatherTypeHashName|mp.game.gameplay.getNextWeatherTypeHashName]]&lt;br /&gt;
*[[Gameplay::isPrevWeatherType|mp.game.gameplay.isPrevWeatherType]]&lt;br /&gt;
*[[Gameplay::isNextWeatherType|mp.game.gameplay.isNextWeatherType]]&lt;br /&gt;
*[[Gameplay::setWeatherTypePersist|mp.game.gameplay.setWeatherTypePersist]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeNowPersist|mp.game.gameplay.setWeatherTypeNowPersist]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeNow|mp.game.gameplay.setWeatherTypeNow]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeOvertimePersist|mp.game.gameplay.setWeatherTypeOvertimePersist]]&lt;br /&gt;
*[[Gameplay::setRandomWeatherType|mp.game.gameplay.setRandomWeatherType]]&lt;br /&gt;
*[[Gameplay::clearWeatherTypePersist|mp.game.gameplay.clearWeatherTypePersist]]&lt;br /&gt;
*[[Gameplay::clearWeatherTypeOvertimePersist|mp.game.gameplay.clearWeatherTypeOvertimePersist]]&lt;br /&gt;
*[[Gameplay::getWeatherTypeTransition|mp.game.gameplay.getWeatherTypeTransition]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeTransition|mp.game.gameplay.setWeatherTypeTransition]]&lt;br /&gt;
*[[Gameplay::setOverrideWeather|mp.game.gameplay.setOverrideWeather]]&lt;br /&gt;
*[[Gameplay::clearOverrideWeather|mp.game.gameplay.clearOverrideWeather]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetShorewaveamplitude|mp.game.gameplay.waterOverrideSetShorewaveamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetShorewaveminamplitude|mp.game.gameplay.waterOverrideSetShorewaveminamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetShorewavemaxamplitude|mp.game.gameplay.waterOverrideSetShorewavemaxamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceannoiseminamplitude|mp.game.gameplay.waterOverrideSetOceannoiseminamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceanwaveamplitude|mp.game.gameplay.waterOverrideSetOceanwaveamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceanwaveminamplitude|mp.game.gameplay.waterOverrideSetOceanwaveminamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetOceanwavemaxamplitude|mp.game.gameplay.waterOverrideSetOceanwavemaxamplitude]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRipplebumpiness|mp.game.gameplay.waterOverrideSetRipplebumpiness]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRippleminbumpiness|mp.game.gameplay.waterOverrideSetRippleminbumpiness]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRipplemaxbumpiness|mp.game.gameplay.waterOverrideSetRipplemaxbumpiness]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetRippledisturb|mp.game.gameplay.waterOverrideSetRippledisturb]]&lt;br /&gt;
*[[Gameplay::waterOverrideSetStrength|mp.game.gameplay.waterOverrideSetStrength]]&lt;br /&gt;
*[[Gameplay::waterOverrideFadeIn|mp.game.gameplay.waterOverrideFadeIn]]&lt;br /&gt;
*[[Gameplay::waterOverrideFadeOut|mp.game.gameplay.waterOverrideFadeOut]]&lt;br /&gt;
*[[Gameplay::setWind|mp.game.gameplay.setWind]]&lt;br /&gt;
*[[Gameplay::setWindSpeed|mp.game.gameplay.setWindSpeed]]&lt;br /&gt;
*[[Gameplay::getWindSpeed|mp.game.gameplay.getWindSpeed]]&lt;br /&gt;
*[[Gameplay::setWindDirection|mp.game.gameplay.setWindDirection]]&lt;br /&gt;
*[[Gameplay::getWindDirection|mp.game.gameplay.getWindDirection]]&lt;br /&gt;
*[[Gameplay::setRainLevel|mp.game.gameplay.setRainLevel]]&lt;br /&gt;
*[[Gameplay::getRainLevel|mp.game.gameplay.getRainLevel]]&lt;br /&gt;
*[[Gameplay::setSnowLevel|mp.game.gameplay.setSnowLevel]]&lt;br /&gt;
*[[Gameplay::getSnowLevel|mp.game.gameplay.getSnowLevel]]&lt;br /&gt;
*[[Gameplay::forceLightningFlash|mp.game.gameplay.forceLightningFlash]]&lt;br /&gt;
*[[Gameplay::preloadCloudHat|mp.game.gameplay.preloadCloudHat]]&lt;br /&gt;
*[[Gameplay::loadCloudHat|mp.game.gameplay.loadCloudHat]]&lt;br /&gt;
*[[Gameplay::unloadCloudHat|mp.game.gameplay.unloadCloudHat]]&lt;br /&gt;
*[[Gameplay::clearCloudHat|mp.game.gameplay.clearCloudHat]]&lt;br /&gt;
*[[Gameplay::setCloudHatOpacity|mp.game.gameplay.setCloudHatOpacity]]&lt;br /&gt;
*[[Gameplay::getCloudHatOpacity|mp.game.gameplay.getCloudHatOpacity]]&lt;br /&gt;
*[[Gameplay::getGameTimer|mp.game.gameplay.getGameTimer]]&lt;br /&gt;
*[[Gameplay::getFrameTime|mp.game.gameplay.getFrameTime]]&lt;br /&gt;
*[[Gameplay::getBenchmarkTime|mp.game.gameplay.getBenchmarkTime]]&lt;br /&gt;
*[[Gameplay::getFrameCount|mp.game.gameplay.getFrameCount]]&lt;br /&gt;
*[[Gameplay::getRandomFloatInRange|mp.game.gameplay.getRandomFloatInRange]]&lt;br /&gt;
*[[Gameplay::getRandomIntInRange|mp.game.gameplay.getRandomIntInRange]]&lt;br /&gt;
*[[Gameplay::getRandomIntInRange2|mp.game.gameplay.getRandomIntInRange2]]&lt;br /&gt;
*[[Gameplay::getGroundZFor3dCoord|mp.game.gameplay.getGroundZFor3dCoord]]&lt;br /&gt;
*[[Gameplay::getGroundZAndNormalFor3DCoord|mp.game.gameplay.getGroundZAndNormalFor3DCoord]]&lt;br /&gt;
*[[Gameplay::getGroundZFor3DCoord2|mp.game.gameplay.getGroundZFor3DCoord2]]&lt;br /&gt;
*[[Gameplay::asin|mp.game.gameplay.asin]]&lt;br /&gt;
*[[Gameplay::acos|mp.game.gameplay.acos]]&lt;br /&gt;
*[[Gameplay::tan|mp.game.gameplay.tan]]&lt;br /&gt;
*[[Gameplay::atan|mp.game.gameplay.atan]]&lt;br /&gt;
*[[Gameplay::atan2|mp.game.gameplay.atan2]]&lt;br /&gt;
*[[Gameplay::getDistanceBetweenCoords|mp.game.gameplay.getDistanceBetweenCoords]]&lt;br /&gt;
*[[Gameplay::getAngleBetween2dVectors|mp.game.gameplay.getAngleBetween2dVectors]]&lt;br /&gt;
*[[Gameplay::getAngleBetween2DVectors|mp.game.gameplay.getAngleBetween2DVectors]]&lt;br /&gt;
*[[Gameplay::getHeadingFromVector2d|mp.game.gameplay.getHeadingFromVector2d]]&lt;br /&gt;
*[[Gameplay::getHeadingFromVector2D|mp.game.gameplay.getHeadingFromVector2D]]&lt;br /&gt;
*[[Gameplay::setBit|mp.game.gameplay.setBit]]&lt;br /&gt;
*[[Gameplay::clearBit|mp.game.gameplay.clearBit]]&lt;br /&gt;
*[[Gameplay::getHashKey|mp.game.gameplay.getHashKey]]&lt;br /&gt;
*[[Gameplay::slerpNearQuaternion|mp.game.gameplay.slerpNearQuaternion]]&lt;br /&gt;
*[[Gameplay::isAreaOccupied|mp.game.gameplay.isAreaOccupied]]&lt;br /&gt;
*[[Gameplay::isPositionOccupied|mp.game.gameplay.isPositionOccupied]]&lt;br /&gt;
*[[Gameplay::isPointObscuredByAMissionEntity|mp.game.gameplay.isPointObscuredByAMissionEntity]]&lt;br /&gt;
*[[Gameplay::clearArea|mp.game.gameplay.clearArea]]&lt;br /&gt;
*[[Gameplay::clearAreaLeaveVehicleHealth|mp.game.gameplay.clearAreaLeaveVehicleHealth]]&lt;br /&gt;
*[[Gameplay::clearAreaOfVehicles|mp.game.gameplay.clearAreaOfVehicles]]&lt;br /&gt;
*[[Gameplay::clearAngledAreaOfVehicles|mp.game.gameplay.clearAngledAreaOfVehicles]]&lt;br /&gt;
*[[Gameplay::clearAreaOfObjects|mp.game.gameplay.clearAreaOfObjects]]&lt;br /&gt;
*[[Gameplay::clearAreaOfPeds|mp.game.gameplay.clearAreaOfPeds]]&lt;br /&gt;
*[[Gameplay::clearAreaOfCops|mp.game.gameplay.clearAreaOfCops]]&lt;br /&gt;
*[[Gameplay::clearAreaOfProjectiles|mp.game.gameplay.clearAreaOfProjectiles]]&lt;br /&gt;
*[[Gameplay::setSaveMenuActive|mp.game.gameplay.setSaveMenuActive]]&lt;br /&gt;
*[[Gameplay::setCreditsActive|mp.game.gameplay.setCreditsActive]]&lt;br /&gt;
*[[Gameplay::haveCreditsReachedEnd|mp.game.gameplay.haveCreditsReachedEnd]]&lt;br /&gt;
*[[Gameplay::terminateAllScriptsWithThisName|mp.game.gameplay.terminateAllScriptsWithThisName]]&lt;br /&gt;
*[[Gameplay::networkSetScriptIsSafeForNetworkGame|mp.game.gameplay.networkSetScriptIsSafeForNetworkGame]]&lt;br /&gt;
*[[Gameplay::addHospitalRestart|mp.game.gameplay.addHospitalRestart]]&lt;br /&gt;
*[[Gameplay::disableHospitalRestart|mp.game.gameplay.disableHospitalRestart]]&lt;br /&gt;
*[[Gameplay::addPoliceRestart|mp.game.gameplay.addPoliceRestart]]&lt;br /&gt;
*[[Gameplay::disablePoliceRestart|mp.game.gameplay.disablePoliceRestart]]&lt;br /&gt;
*[[Gameplay::setRestartCustomPosition|mp.game.gameplay.setRestartCustomPosition]]&lt;br /&gt;
*[[Gameplay::clearRestartCustomPosition|mp.game.gameplay.clearRestartCustomPosition]]&lt;br /&gt;
*[[Gameplay::pauseDeathArrestRestart|mp.game.gameplay.pauseDeathArrestRestart]]&lt;br /&gt;
*[[Gameplay::ignoreNextRestart|mp.game.gameplay.ignoreNextRestart]]&lt;br /&gt;
*[[Gameplay::setFadeOutAfterDeath|mp.game.gameplay.setFadeOutAfterDeath]]&lt;br /&gt;
*[[Gameplay::setFadeOutAfterArrest|mp.game.gameplay.setFadeOutAfterArrest]]&lt;br /&gt;
*[[Gameplay::setFadeInAfterDeathArrest|mp.game.gameplay.setFadeInAfterDeathArrest]]&lt;br /&gt;
*[[Gameplay::setFadeInAfterLoad|mp.game.gameplay.setFadeInAfterLoad]]&lt;br /&gt;
*[[Gameplay::registerSaveHouse|mp.game.gameplay.registerSaveHouse]]&lt;br /&gt;
*[[Gameplay::setSaveHouse|mp.game.gameplay.setSaveHouse]]&lt;br /&gt;
*[[Gameplay::overrideSaveHouse|mp.game.gameplay.overrideSaveHouse]]&lt;br /&gt;
*[[Gameplay::doAutoSave|mp.game.gameplay.doAutoSave]]&lt;br /&gt;
*[[Gameplay::getIsAutoSaveOff|mp.game.gameplay.getIsAutoSaveOff]]&lt;br /&gt;
*[[Gameplay::isAutoSaveInProgress|mp.game.gameplay.isAutoSaveInProgress]]&lt;br /&gt;
*[[Gameplay::beginReplayStats|mp.game.gameplay.beginReplayStats]]&lt;br /&gt;
*[[Gameplay::addReplayStatValue|mp.game.gameplay.addReplayStatValue]]&lt;br /&gt;
*[[Gameplay::endReplayStats|mp.game.gameplay.endReplayStats]]&lt;br /&gt;
*[[Gameplay::getReplayStatMissionType|mp.game.gameplay.getReplayStatMissionType]]&lt;br /&gt;
*[[Gameplay::getReplayStatCount|mp.game.gameplay.getReplayStatCount]]&lt;br /&gt;
*[[Gameplay::getReplayStatAtIndex|mp.game.gameplay.getReplayStatAtIndex]]&lt;br /&gt;
*[[Gameplay::clearReplayStats|mp.game.gameplay.clearReplayStats]]&lt;br /&gt;
*[[Gameplay::isMemoryCardInUse|mp.game.gameplay.isMemoryCardInUse]]&lt;br /&gt;
*[[Gameplay::shootSingleBulletBetweenCoords|mp.game.gameplay.shootSingleBulletBetweenCoords]]&lt;br /&gt;
*[[Gameplay::shootSingleBulletBetweenCoordsIgnoreEntity|mp.game.gameplay.shootSingleBulletBetweenCoordsIgnoreEntity]]&lt;br /&gt;
*[[Gameplay::shootSingleBulletBetweenCoordsIgnoreEntityNew|mp.game.gameplay.shootSingleBulletBetweenCoordsIgnoreEntityNew]]&lt;br /&gt;
*[[Gameplay::getModelDimensions|mp.game.gameplay.getModelDimensions]]&lt;br /&gt;
*[[Gameplay::setFakeWantedLevel|mp.game.gameplay.setFakeWantedLevel]]&lt;br /&gt;
*[[Gameplay::getFakeWantedLevel|mp.game.gameplay.getFakeWantedLevel]]&lt;br /&gt;
*[[Gameplay::isBitSet|mp.game.gameplay.isBitSet]]&lt;br /&gt;
*[[Gameplay::usingMissionCreator|mp.game.gameplay.usingMissionCreator]]&lt;br /&gt;
*[[Gameplay::allowMissionCreatorWarp|mp.game.gameplay.allowMissionCreatorWarp]]&lt;br /&gt;
*[[Gameplay::setMinigameInProgress|mp.game.gameplay.setMinigameInProgress]]&lt;br /&gt;
*[[Gameplay::isMinigameInProgress|mp.game.gameplay.isMinigameInProgress]]&lt;br /&gt;
*[[Gameplay::isThisAMinigameScript|mp.game.gameplay.isThisAMinigameScript]]&lt;br /&gt;
*[[Gameplay::isSniperInverted|mp.game.gameplay.isSniperInverted]]&lt;br /&gt;
*[[Gameplay::shouldUseMetricMeasurements|mp.game.gameplay.shouldUseMetricMeasurements]]&lt;br /&gt;
*[[Gameplay::getProfileSetting|mp.game.gameplay.getProfileSetting]]&lt;br /&gt;
*[[Gameplay::areStringsEqual|mp.game.gameplay.areStringsEqual]]&lt;br /&gt;
*[[Gameplay::compareStrings|mp.game.gameplay.compareStrings]]&lt;br /&gt;
*[[Gameplay::absi|mp.game.gameplay.absi]]&lt;br /&gt;
*[[Gameplay::absf|mp.game.gameplay.absf]]&lt;br /&gt;
*[[Gameplay::isSniperBulletInArea|mp.game.gameplay.isSniperBulletInArea]]&lt;br /&gt;
*[[Gameplay::isProjectileInArea|mp.game.gameplay.isProjectileInArea]]&lt;br /&gt;
*[[Gameplay::isProjectileTypeInArea|mp.game.gameplay.isProjectileTypeInArea]]&lt;br /&gt;
*[[Gameplay::isProjectileTypeInAngledArea|mp.game.gameplay.isProjectileTypeInAngledArea]]&lt;br /&gt;
*[[Gameplay::isProjectileTypeWithinDistance|mp.game.gameplay.isProjectileTypeWithinDistance]]&lt;br /&gt;
*[[Gameplay::getCoordsOfProjectileTypeInArea|mp.game.gameplay.getCoordsOfProjectileTypeInArea]]&lt;br /&gt;
*[[Gameplay::getCoordsOfProjectileTypeWithinDistance|mp.game.gameplay.getCoordsOfProjectileTypeWithinDistance]]&lt;br /&gt;
*[[Gameplay::getProjectileNearPed|mp.game.gameplay.getProjectileNearPed]]&lt;br /&gt;
*[[Gameplay::isBulletInAngledArea|mp.game.gameplay.isBulletInAngledArea]]&lt;br /&gt;
*[[Gameplay::isBulletInArea|mp.game.gameplay.isBulletInArea]]&lt;br /&gt;
*[[Gameplay::isBulletInBox|mp.game.gameplay.isBulletInBox]]&lt;br /&gt;
*[[Gameplay::hasBulletImpactedInArea|mp.game.gameplay.hasBulletImpactedInArea]]&lt;br /&gt;
*[[Gameplay::hasBulletImpactedInBox|mp.game.gameplay.hasBulletImpactedInBox]]&lt;br /&gt;
*[[Gameplay::isOrbisVersion|mp.game.gameplay.isOrbisVersion]]&lt;br /&gt;
*[[Gameplay::isDurangoVersion|mp.game.gameplay.isDurangoVersion]]&lt;br /&gt;
*[[Gameplay::isPcVersion|mp.game.gameplay.isPcVersion]]&lt;br /&gt;
*[[Gameplay::isAussieVersion|mp.game.gameplay.isAussieVersion]]&lt;br /&gt;
*[[Gameplay::isStringNull|mp.game.gameplay.isStringNull]]&lt;br /&gt;
*[[Gameplay::isStringNullOrEmpty|mp.game.gameplay.isStringNullOrEmpty]]&lt;br /&gt;
*[[Gameplay::stringToInt|mp.game.gameplay.stringToInt]]&lt;br /&gt;
*[[Gameplay::setBitsInRange|mp.game.gameplay.setBitsInRange]]&lt;br /&gt;
*[[Gameplay::getBitsInRange|mp.game.gameplay.getBitsInRange]]&lt;br /&gt;
*[[Gameplay::addStuntJump|mp.game.gameplay.addStuntJump]]&lt;br /&gt;
*[[Gameplay::addStuntJumpAngled|mp.game.gameplay.addStuntJumpAngled]]&lt;br /&gt;
*[[Gameplay::deleteStuntJump|mp.game.gameplay.deleteStuntJump]]&lt;br /&gt;
*[[Gameplay::enableStuntJumpSet|mp.game.gameplay.enableStuntJumpSet]]&lt;br /&gt;
*[[Gameplay::disableStuntJumpSet|mp.game.gameplay.disableStuntJumpSet]]&lt;br /&gt;
*[[Gameplay::setStuntJumpsCanTrigger|mp.game.gameplay.setStuntJumpsCanTrigger]]&lt;br /&gt;
*[[Gameplay::isStuntJumpInProgress|mp.game.gameplay.isStuntJumpInProgress]]&lt;br /&gt;
*[[Gameplay::isStuntJumpMessageShowing|mp.game.gameplay.isStuntJumpMessageShowing]]&lt;br /&gt;
*[[Gameplay::getNumSuccessfulStuntJumps|mp.game.gameplay.getNumSuccessfulStuntJumps]]&lt;br /&gt;
*[[Gameplay::getTotalSuccessfulStuntJumps|mp.game.gameplay.getTotalSuccessfulStuntJumps]]&lt;br /&gt;
*[[Gameplay::cancelStuntJump|mp.game.gameplay.cancelStuntJump]]&lt;br /&gt;
*[[Gameplay::setGamePaused|mp.game.gameplay.setGamePaused]]&lt;br /&gt;
*[[Gameplay::setThisScriptCanBePaused|mp.game.gameplay.setThisScriptCanBePaused]]&lt;br /&gt;
*[[Gameplay::setThisScriptCanRemoveBlipsCreatedByAnyScript|mp.game.gameplay.setThisScriptCanRemoveBlipsCreatedByAnyScript]]&lt;br /&gt;
*[[Gameplay::hasButtonCombinationJustBeenEntered|mp.game.gameplay.hasButtonCombinationJustBeenEntered]]&lt;br /&gt;
*[[Gameplay::hasCheatStringJustBeenEntered|mp.game.gameplay.hasCheatStringJustBeenEntered]]&lt;br /&gt;
*[[Gameplay::setInstancePriorityMode|mp.game.gameplay.setInstancePriorityMode]]&lt;br /&gt;
*[[Gameplay::setInstancePriorityHint|mp.game.gameplay.setInstancePriorityHint]]&lt;br /&gt;
*[[Gameplay::isFrontendFading|mp.game.gameplay.isFrontendFading]]&lt;br /&gt;
*[[Gameplay::populateNow|mp.game.gameplay.populateNow]]&lt;br /&gt;
*[[Gameplay::getIndexOfCurrentLevel|mp.game.gameplay.getIndexOfCurrentLevel]]&lt;br /&gt;
*[[Gameplay::setGravityLevel|mp.game.gameplay.setGravityLevel]]&lt;br /&gt;
*[[Gameplay::getGravityLevel|mp.game.gameplay.getGravityLevel]]&lt;br /&gt;
*[[Gameplay::startSaveData|mp.game.gameplay.startSaveData]]&lt;br /&gt;
*[[Gameplay::stopSaveData|mp.game.gameplay.stopSaveData]]&lt;br /&gt;
*[[Gameplay::getSizeOfSaveData|mp.game.gameplay.getSizeOfSaveData]]&lt;br /&gt;
*[[Gameplay::registerIntToSave|mp.game.gameplay.registerIntToSave]]&lt;br /&gt;
*[[Gameplay::registerInt64ToSave|mp.game.gameplay.registerInt64ToSave]]&lt;br /&gt;
*[[Gameplay::registerEnumToSave|mp.game.gameplay.registerEnumToSave]]&lt;br /&gt;
*[[Gameplay::registerFloatToSave|mp.game.gameplay.registerFloatToSave]]&lt;br /&gt;
*[[Gameplay::registerBoolToSave|mp.game.gameplay.registerBoolToSave]]&lt;br /&gt;
*[[Gameplay::registerTextLabelToSave|mp.game.gameplay.registerTextLabelToSave]]&lt;br /&gt;
*[[Gameplay::registerTextLabelToSave2|mp.game.gameplay.registerTextLabelToSave2]]&lt;br /&gt;
*[[Gameplay::startSaveStructWithSize|mp.game.gameplay.startSaveStructWithSize]]&lt;br /&gt;
*[[Gameplay::stopSaveStruct|mp.game.gameplay.stopSaveStruct]]&lt;br /&gt;
*[[Gameplay::startSaveArrayWithSize|mp.game.gameplay.startSaveArrayWithSize]]&lt;br /&gt;
*[[Gameplay::stopSaveArray|mp.game.gameplay.stopSaveArray]]&lt;br /&gt;
*[[Gameplay::copyMemory|mp.game.gameplay.copyMemory]]&lt;br /&gt;
*[[Gameplay::enableDispatchService|mp.game.gameplay.enableDispatchService]]&lt;br /&gt;
*[[Gameplay::blockDispatchServiceResourceCreation|mp.game.gameplay.blockDispatchServiceResourceCreation]]&lt;br /&gt;
*[[Gameplay::getNumDispatchedUnitsForPlayer|mp.game.gameplay.getNumDispatchedUnitsForPlayer]]&lt;br /&gt;
*[[Gameplay::createIncident|mp.game.gameplay.createIncident]]&lt;br /&gt;
*[[Gameplay::createIncidentWithEntity|mp.game.gameplay.createIncidentWithEntity]]&lt;br /&gt;
*[[Gameplay::deleteIncident|mp.game.gameplay.deleteIncident]]&lt;br /&gt;
*[[Gameplay::isIncidentValid|mp.game.gameplay.isIncidentValid]]&lt;br /&gt;
*[[Gameplay::setIncidentRequestedUnits|mp.game.gameplay.setIncidentRequestedUnits]]&lt;br /&gt;
*[[Gameplay::setIncidentUnk|mp.game.gameplay.setIncidentUnk]]&lt;br /&gt;
*[[Gameplay::findSpawnPointInDirection|mp.game.gameplay.findSpawnPointInDirection]]&lt;br /&gt;
*[[Gameplay::addPopMultiplierArea|mp.game.gameplay.addPopMultiplierArea]]&lt;br /&gt;
*[[Gameplay::doesPopMultiplierAreaExist|mp.game.gameplay.doesPopMultiplierAreaExist]]&lt;br /&gt;
*[[Gameplay::removePopMultiplierArea|mp.game.gameplay.removePopMultiplierArea]]&lt;br /&gt;
*[[Gameplay::isPopMultiplierAreaUnk|mp.game.gameplay.isPopMultiplierAreaUnk]]&lt;br /&gt;
*[[Gameplay::addPopMultiplierSphere|mp.game.gameplay.addPopMultiplierSphere]]&lt;br /&gt;
*[[Gameplay::doesPopMultiplierSphereExist|mp.game.gameplay.doesPopMultiplierSphereExist]]&lt;br /&gt;
*[[Gameplay::removePopMultiplierSphere|mp.game.gameplay.removePopMultiplierSphere]]&lt;br /&gt;
*[[Gameplay::enableTennisMode|mp.game.gameplay.enableTennisMode]]&lt;br /&gt;
*[[Gameplay::isTennisMode|mp.game.gameplay.isTennisMode]]&lt;br /&gt;
*[[Gameplay::playTennisSwingAnim|mp.game.gameplay.playTennisSwingAnim]]&lt;br /&gt;
*[[Gameplay::getTennisSwingAnimComplete|mp.game.gameplay.getTennisSwingAnimComplete]]&lt;br /&gt;
*[[Gameplay::playTennisDiveAnim|mp.game.gameplay.playTennisDiveAnim]]&lt;br /&gt;
*[[Gameplay::resetDispatchSpawnLocation|mp.game.gameplay.resetDispatchSpawnLocation]]&lt;br /&gt;
*[[Gameplay::setDispatchSpawnLocation|mp.game.gameplay.setDispatchSpawnLocation]]&lt;br /&gt;
*[[Gameplay::resetDispatchIdealSpawnDistance|mp.game.gameplay.resetDispatchIdealSpawnDistance]]&lt;br /&gt;
*[[Gameplay::setDispatchIdealSpawnDistance|mp.game.gameplay.setDispatchIdealSpawnDistance]]&lt;br /&gt;
*[[Gameplay::resetDispatchTimeBetweenSpawnAttempts|mp.game.gameplay.resetDispatchTimeBetweenSpawnAttempts]]&lt;br /&gt;
*[[Gameplay::setDispatchTimeBetweenSpawnAttempts|mp.game.gameplay.setDispatchTimeBetweenSpawnAttempts]]&lt;br /&gt;
*[[Gameplay::setDispatchTimeBetweenSpawnAttemptsMultiplier|mp.game.gameplay.setDispatchTimeBetweenSpawnAttemptsMultiplier]]&lt;br /&gt;
*[[Gameplay::addDispatchSpawnBlockingAngledArea|mp.game.gameplay.addDispatchSpawnBlockingAngledArea]]&lt;br /&gt;
*[[Gameplay::addDispatchSpawnBlockingArea|mp.game.gameplay.addDispatchSpawnBlockingArea]]&lt;br /&gt;
*[[Gameplay::removeDispatchSpawnBlockingArea|mp.game.gameplay.removeDispatchSpawnBlockingArea]]&lt;br /&gt;
*[[Gameplay::resetDispatchSpawnBlockingAreas|mp.game.gameplay.resetDispatchSpawnBlockingAreas]]&lt;br /&gt;
*[[Gameplay::addTacticalAnalysisPoint|mp.game.gameplay.addTacticalAnalysisPoint]]&lt;br /&gt;
*[[Gameplay::clearTacticalAnalysisPoints|mp.game.gameplay.clearTacticalAnalysisPoints]]&lt;br /&gt;
*[[Gameplay::setRiotModeEnabled|mp.game.gameplay.setRiotModeEnabled]]&lt;br /&gt;
*[[Gameplay::displayOnscreenKeyboardWithLongerInitialString|mp.game.gameplay.displayOnscreenKeyboardWithLongerInitialString]]&lt;br /&gt;
*[[Gameplay::displayOnscreenKeyboard|mp.game.gameplay.displayOnscreenKeyboard]]&lt;br /&gt;
*[[Gameplay::updateOnscreenKeyboard|mp.game.gameplay.updateOnscreenKeyboard]]&lt;br /&gt;
*[[Gameplay::getOnscreenKeyboardResult|mp.game.gameplay.getOnscreenKeyboardResult]]&lt;br /&gt;
*[[Gameplay::cancelOnscreenKeyboard|mp.game.gameplay.cancelOnscreenKeyboard]]&lt;br /&gt;
*[[Gameplay::nextOnscreenKeyboardResultWillDisplayUsingTheseFonts|mp.game.gameplay.nextOnscreenKeyboardResultWillDisplayUsingTheseFonts]]&lt;br /&gt;
*[[Gameplay::removeStealthKill|mp.game.gameplay.removeStealthKill]]&lt;br /&gt;
*[[Gameplay::setExplosiveAmmoThisFrame|mp.game.gameplay.setExplosiveAmmoThisFrame]]&lt;br /&gt;
*[[Gameplay::setFireAmmoThisFrame|mp.game.gameplay.setFireAmmoThisFrame]]&lt;br /&gt;
*[[Gameplay::setExplosiveMeleeThisFrame|mp.game.gameplay.setExplosiveMeleeThisFrame]]&lt;br /&gt;
*[[Gameplay::setSuperJumpThisFrame|mp.game.gameplay.setSuperJumpThisFrame]]&lt;br /&gt;
*[[Gameplay::setBeastModeActive|mp.game.gameplay.setBeastModeActive]]&lt;br /&gt;
*[[Gameplay::setForcePlayerToJump|mp.game.gameplay.setForcePlayerToJump]]&lt;br /&gt;
*[[Gameplay::areProfileSettingsValid|mp.game.gameplay.areProfileSettingsValid]]&lt;br /&gt;
*[[Gameplay::forceGameStatePlaying|mp.game.gameplay.forceGameStatePlaying]]&lt;br /&gt;
*[[Gameplay::scriptRaceInit|mp.game.gameplay.scriptRaceInit]]&lt;br /&gt;
*[[Gameplay::scriptRaceShutdown|mp.game.gameplay.scriptRaceShutdown]]&lt;br /&gt;
*[[Gameplay::scriptRaceGetPlayerSplitTime|mp.game.gameplay.scriptRaceGetPlayerSplitTime]]&lt;br /&gt;
*[[Gameplay::startBenchmarkRecording|mp.game.gameplay.startBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::stopBenchmarkRecording|mp.game.gameplay.stopBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::resetBenchmarkRecording|mp.game.gameplay.resetBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::saveBenchmarkRecording|mp.game.gameplay.saveBenchmarkRecording]]&lt;br /&gt;
*[[Gameplay::uiIsSingleplayerPauseMenuActive|mp.game.gameplay.uiIsSingleplayerPauseMenuActive]]&lt;br /&gt;
*[[Gameplay::landingMenuIsActive|mp.game.gameplay.landingMenuIsActive]]&lt;br /&gt;
*[[Gameplay::isCommandLineBenchmarkValueSet|mp.game.gameplay.isCommandLineBenchmarkValueSet]]&lt;br /&gt;
*[[Gameplay::getBenchmarkIterationsFromCommandLine|mp.game.gameplay.getBenchmarkIterationsFromCommandLine]]&lt;br /&gt;
*[[Gameplay::getBenchmarkPassFromCommandLine|mp.game.gameplay.getBenchmarkPassFromCommandLine]]&lt;br /&gt;
*[[Gameplay::restartGame|mp.game.gameplay.restartGame]]&lt;br /&gt;
*[[Gameplay::forceSocialClubUpdate|mp.game.gameplay.forceSocialClubUpdate]]&lt;br /&gt;
*[[Gameplay::hasAsyncInstallFinished|mp.game.gameplay.hasAsyncInstallFinished]]&lt;br /&gt;
*[[Gameplay::cleanupAsyncInstall|mp.game.gameplay.cleanupAsyncInstall]]&lt;br /&gt;
*[[Gameplay::isInPowerSavingMode|mp.game.gameplay.isInPowerSavingMode]]&lt;br /&gt;
*[[Gameplay::getPowerSavingModeDuration|mp.game.gameplay.getPowerSavingModeDuration]]&lt;br /&gt;
*[[Gameplay::setPlayerIsInAnimalForm|mp.game.gameplay.setPlayerIsInAnimalForm]]&lt;br /&gt;
*[[Gameplay::getIsPlayerInAnimalForm|mp.game.gameplay.getIsPlayerInAnimalForm]]&lt;br /&gt;
*[[Gameplay::setPlayerRockstarEditorDisabled|mp.game.gameplay.setPlayerRockstarEditorDisabled]]&lt;br /&gt;
*[[Gameplay::enableSnow|mp.game.gameplay.enableSnow]]&lt;br /&gt;
*[[Gameplay::getFreeStackSlotsCount|mp.game.gameplay.getFreeStackSlotsCount]]&lt;br /&gt;
*[[Gameplay::setWeatherTypeOverTime|mp.game.gameplay.setWeatherTypeOverTime]]&lt;br /&gt;
*[[Gameplay::setRainFxIntensity|mp.game.gameplay.setRainFxIntensity]]&lt;br /&gt;
*[[Gameplay::setCloudHatTransition|mp.game.gameplay.setCloudHatTransition]]&lt;br /&gt;
*[[Gameplay::clearAreaOfEverything|mp.game.gameplay.clearAreaOfEverything]]&lt;br /&gt;
*[[Gameplay::disableAutomaticRespawn|mp.game.gameplay.disableAutomaticRespawn]]&lt;br /&gt;
*[[Gameplay::enableMpDlcMaps|mp.game.gameplay.enableMpDlcMaps]]&lt;br /&gt;
*[[Gameplay::setUnkMapFlag|mp.game.gameplay.setUnkMapFlag]]&lt;br /&gt;
*[[Gameplay::startSaveStruct|mp.game.gameplay.startSaveStruct]]&lt;br /&gt;
*[[Gameplay::startSaveArray|mp.game.gameplay.startSaveArray]]&lt;br /&gt;
*[[GameMisc::startPerformanceTimer|mp.game.misc.startPerformanceTimer]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Player::getNearbyVehicles&amp;diff=27509</id>
		<title>Player::getNearbyVehicles</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::getNearbyVehicles&amp;diff=27509"/>
		<updated>2025-12-26T22:21:03Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;numVehicles:&#039;&#039;&#039; {{RageType|number}} — Maximum number of vehicles to return.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|Array&amp;lt;number&amp;gt;|null}}&#039;&#039;&#039; — Array of vehicle handles or null if none found.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
player.getNearbyVehicles(number numVehicles)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const vehicles = mp.players.local.getNearbyVehicles(10);&lt;br /&gt;
&lt;br /&gt;
if (vehicles) {&lt;br /&gt;
    vehicles.forEach(handle =&amp;gt; {&lt;br /&gt;
        mp.gui.chat.push(`Nearby vehicle handle: ${handle}`);&lt;br /&gt;
    });&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:Player]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Player::getNearbyPeds&amp;diff=27508</id>
		<title>Player::getNearbyPeds</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::getNearbyPeds&amp;diff=27508"/>
		<updated>2025-12-26T22:18:10Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;numPeds:&#039;&#039;&#039; {{RageType|number}} — Maximum number of peds to return.&lt;br /&gt;
*&#039;&#039;&#039;ignoreType:&#039;&#039;&#039; {{RageType|number}} — Ped type to ignore.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|Array&amp;lt;number&amp;gt;|null}}&#039;&#039;&#039; — Array of ped handles or null if none found.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
player.getNearbyPeds(number numPeds, number ignoreType)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const peds = mp.players.local.getNearbyPeds(5, 0);&lt;br /&gt;
&lt;br /&gt;
if (peds) {&lt;br /&gt;
    peds.forEach(handle =&amp;gt; {&lt;br /&gt;
        mp.gui.chat.push(`Nearby ped handle: ${handle}`);&lt;br /&gt;
    });&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:Player]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Player::getNearbyObjects&amp;diff=27507</id>
		<title>Player::getNearbyObjects</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::getNearbyObjects&amp;diff=27507"/>
		<updated>2025-12-26T22:17:10Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;numObjects:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} — Maximum number of objects to return. *&amp;#039;&amp;#039;&amp;#039;maxDistance:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} — Maximum search distance. *&amp;#039;&amp;#039;&amp;#039;ignoreDamaged:&amp;#039;&amp;#039;&amp;#039; {{RageType|boolean}} — Whether to ignore damaged objects.  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|Array&amp;lt;NearbyObjectInfo&amp;gt;|null}}&amp;#039;&amp;#039;&amp;#039; — Array of nearby objects or null if none found.  &amp;#039;&amp;#039;NearbyObjectInfo contains:&amp;#039;&amp;#039; *&amp;#039;&amp;#039;&amp;#039;model&amp;#039;&amp;#039;&amp;#039; — {{RageType|n...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;numObjects:&#039;&#039;&#039; {{RageType|number}} — Maximum number of objects to return.&lt;br /&gt;
*&#039;&#039;&#039;maxDistance:&#039;&#039;&#039; {{RageType|number}} — Maximum search distance.&lt;br /&gt;
*&#039;&#039;&#039;ignoreDamaged:&#039;&#039;&#039; {{RageType|boolean}} — Whether to ignore damaged objects.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|Array&amp;lt;NearbyObjectInfo&amp;gt;|null}}&#039;&#039;&#039; — Array of nearby objects or null if none found.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NearbyObjectInfo contains:&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;model&#039;&#039;&#039; — {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;position&#039;&#039;&#039; — {{RageType|Vector3}}&lt;br /&gt;
*&#039;&#039;&#039;distance&#039;&#039;&#039; — {{RageType|number}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
player.getNearbyObjects(number numObjects, number maxDistance, boolean ignoreDamaged)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const objects = mp.players.local.getNearbyObjects(10, 20.0, true);&lt;br /&gt;
&lt;br /&gt;
if (objects) {&lt;br /&gt;
    objects.forEach(obj =&amp;gt; {&lt;br /&gt;
        mp.gui.chat.push(`Model: ${obj.model}, Distance: ${obj.distance}`);&lt;br /&gt;
    });&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:Player]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Player::getNearvyObjects&amp;diff=27506</id>
		<title>Player::getNearvyObjects</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::getNearvyObjects&amp;diff=27506"/>
		<updated>2025-12-26T22:16:51Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Replaced content with &amp;quot;{{delete}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{delete}}&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Player::getNearvyObjects&amp;diff=27505</id>
		<title>Player::getNearvyObjects</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::getNearvyObjects&amp;diff=27505"/>
		<updated>2025-12-26T22:16:01Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;numObjects:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} — Maximum number of objects to return. *&amp;#039;&amp;#039;&amp;#039;maxDistance:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} — Maximum search distance. *&amp;#039;&amp;#039;&amp;#039;ignoreDamaged:&amp;#039;&amp;#039;&amp;#039; {{RageType|boolean}} — Whether to ignore damaged objects.  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|Array&amp;lt;NearbyObjectInfo&amp;gt;|null}}&amp;#039;&amp;#039;&amp;#039; — Array of nearby objects or null if none found.  &amp;#039;&amp;#039;NearbyObjectInfo contains:&amp;#039;&amp;#039; *&amp;#039;&amp;#039;&amp;#039;model&amp;#039;&amp;#039;&amp;#039; — {{RageType|n...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;numObjects:&#039;&#039;&#039; {{RageType|number}} — Maximum number of objects to return.&lt;br /&gt;
*&#039;&#039;&#039;maxDistance:&#039;&#039;&#039; {{RageType|number}} — Maximum search distance.&lt;br /&gt;
*&#039;&#039;&#039;ignoreDamaged:&#039;&#039;&#039; {{RageType|boolean}} — Whether to ignore damaged objects.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|Array&amp;lt;NearbyObjectInfo&amp;gt;|null}}&#039;&#039;&#039; — Array of nearby objects or null if none found.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NearbyObjectInfo contains:&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;model&#039;&#039;&#039; — {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;position&#039;&#039;&#039; — {{RageType|Vector3}}&lt;br /&gt;
*&#039;&#039;&#039;distance&#039;&#039;&#039; — {{RageType|number}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
player.getNearbyObjects(number numObjects, number maxDistance, boolean ignoreDamaged)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const objects = mp.players.local.getNearbyObjects(10, 20.0, true);&lt;br /&gt;
&lt;br /&gt;
if (objects) {&lt;br /&gt;
    objects.forEach(obj =&amp;gt; {&lt;br /&gt;
        mp.gui.chat.push(`Model: ${obj.model}, Distance: ${obj.distance}`);&lt;br /&gt;
    });&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:Player]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Vehicle::modifyWheelBoneTransform&amp;diff=27504</id>
		<title>Vehicle::modifyWheelBoneTransform</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Vehicle::modifyWheelBoneTransform&amp;diff=27504"/>
		<updated>2025-12-26T22:12:22Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;wheelId:&#039;&#039;&#039; {{RageType|number}} — Wheel ID to modify. Use &#039;&#039;&#039;255&#039;&#039;&#039; to modify all wheels at once.&lt;br /&gt;
*&#039;&#039;&#039;rotationX:&#039;&#039;&#039; {{RageType|number}} — Rotation on X axis.&lt;br /&gt;
*&#039;&#039;&#039;rotationY:&#039;&#039;&#039; {{RageType|number}} — Rotation on Y axis.&lt;br /&gt;
*&#039;&#039;&#039;rotationZ:&#039;&#039;&#039; {{RageType|number}} — Rotation on Z axis.&lt;br /&gt;
*&#039;&#039;&#039;offsetX:&#039;&#039;&#039; {{RageType|number}} — Offset on X axis.&lt;br /&gt;
*&#039;&#039;&#039;offsetY:&#039;&#039;&#039; {{RageType|number}} — Offset on Y axis.&lt;br /&gt;
*&#039;&#039;&#039;offsetZ:&#039;&#039;&#039; {{RageType|number}} — Offset on Z axis.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|void}}&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
vehicle.modifyWheelBoneTransform(&lt;br /&gt;
    number wheelId,&lt;br /&gt;
    number rotationX,&lt;br /&gt;
    number rotationY,&lt;br /&gt;
    number rotationZ,&lt;br /&gt;
    number offsetX,&lt;br /&gt;
    number offsetY,&lt;br /&gt;
    number offsetZ&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Tilt all wheels slightly forward&lt;br /&gt;
vehicle.modifyWheelBoneTransform(&lt;br /&gt;
    255,&lt;br /&gt;
    5.0, 0.0, 0.0,&lt;br /&gt;
    0.0, 0.0, 0.0&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Vehicle_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:Vehicle]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemTicksVisible&amp;diff=27485</id>
		<title>Ui::pausemenu.setItemTicksVisible</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemTicksVisible&amp;diff=27485"/>
		<updated>2025-05-10T10:38:15Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;itemHash:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;isVisible:&#039;&#039;&#039; {{RageType|bool}}&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|void}}&#039;&#039;&#039;&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.game.ui.pausemenu.setItemTicksVisible(itemHash, isVisible)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Ui_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Weapon::getAllWeaponNames&amp;diff=27484</id>
		<title>Weapon::getAllWeaponNames</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Weapon::getAllWeaponNames&amp;diff=27484"/>
		<updated>2025-05-10T10:37:19Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039; {{RageType|number[]}} &#039;&#039;&#039;&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.game.weapon.getAllWeaponNames()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Weapon_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Template:Streaming_functions_c&amp;diff=27482</id>
		<title>Template:Streaming functions c</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Template:Streaming_functions_c&amp;diff=27482"/>
		<updated>2025-03-16T17:48:44Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Streaming::loadAllObjectsNow|mp.game.streaming.loadAllObjectsNow]]&lt;br /&gt;
*[[Streaming::loadScene|mp.game.streaming.loadScene]]&lt;br /&gt;
*[[Streaming::networkUpdateLoadScene|mp.game.streaming.networkUpdateLoadScene]]&lt;br /&gt;
*[[Streaming::isNetworkLoadingScene|mp.game.streaming.isNetworkLoadingScene]]&lt;br /&gt;
*[[Streaming::setInteriorActive|mp.game.streaming.setInteriorActive]]&lt;br /&gt;
*[[Streaming::requestModel|mp.game.streaming.requestModel]]&lt;br /&gt;
*[[Streaming::requestMenuPedModel|mp.game.streaming.requestMenuPedModel]]&lt;br /&gt;
*[[Streaming::requestModel2|mp.game.streaming.requestModel2]]&lt;br /&gt;
*[[Streaming::hasModelLoaded|mp.game.streaming.hasModelLoaded]]&lt;br /&gt;
*[[Streaming::requestModelsInRoom|mp.game.streaming.requestModelsInRoom]]&lt;br /&gt;
*[[Streaming::setModelAsNoLongerNeeded|mp.game.streaming.setModelAsNoLongerNeeded]]&lt;br /&gt;
*[[Streaming::isModelInCdimage|mp.game.streaming.isModelInCdimage]]&lt;br /&gt;
*[[Streaming::isModelValid|mp.game.streaming.isModelValid]]&lt;br /&gt;
*[[Streaming::isModelAPed|mp.game.streaming.isModelAPed]]&lt;br /&gt;
*[[Streaming::isModelAVehicle|mp.game.streaming.isModelAVehicle]]&lt;br /&gt;
*[[Streaming::requestCollisionAtCoord|mp.game.streaming.requestCollisionAtCoord]]&lt;br /&gt;
*[[Streaming::requestCollisionForModel|mp.game.streaming.requestCollisionForModel]]&lt;br /&gt;
*[[Streaming::hasCollisionForModelLoaded|mp.game.streaming.hasCollisionForModelLoaded]]&lt;br /&gt;
*[[Streaming::requestAdditionalCollisionAtCoord|mp.game.streaming.requestAdditionalCollisionAtCoord]]&lt;br /&gt;
*[[Streaming::doesAnimDictExist|mp.game.streaming.doesAnimDictExist]]&lt;br /&gt;
*[[Streaming::requestAnimDict|mp.game.streaming.requestAnimDict]]&lt;br /&gt;
*[[Streaming::hasAnimDictLoaded|mp.game.streaming.hasAnimDictLoaded]]&lt;br /&gt;
*[[Streaming::removeAnimDict|mp.game.streaming.removeAnimDict]]&lt;br /&gt;
*[[Streaming::requestAnimSet|mp.game.streaming.requestAnimSet]]&lt;br /&gt;
*[[Streaming::hasAnimSetLoaded|mp.game.streaming.hasAnimSetLoaded]]&lt;br /&gt;
*[[Streaming::removeAnimSet|mp.game.streaming.removeAnimSet]]&lt;br /&gt;
*[[Streaming::requestClipSet|mp.game.streaming.requestClipSet]]&lt;br /&gt;
*[[Streaming::hasClipSetLoaded|mp.game.streaming.hasClipSetLoaded]]&lt;br /&gt;
*[[Streaming::removeClipSet|mp.game.streaming.removeClipSet]]&lt;br /&gt;
*[[Streaming::requestIpl|mp.game.streaming.requestIpl]]&lt;br /&gt;
*[[Streaming::removeIpl|mp.game.streaming.removeIpl]]&lt;br /&gt;
*[[Streaming::isIplActive|mp.game.streaming.isIplActive]]&lt;br /&gt;
*[[Streaming::set|mp.game.streaming.set]]&lt;br /&gt;
*[[Streaming::setStreaming|mp.game.streaming.setStreaming]]&lt;br /&gt;
*[[Streaming::loadGlobalWaterType|mp.game.streaming.loadGlobalWaterType]]&lt;br /&gt;
*[[Streaming::getGlobalWaterType|mp.game.streaming.getGlobalWaterType]]&lt;br /&gt;
*[[Streaming::setGamePausesFor|mp.game.streaming.setGamePausesFor]]&lt;br /&gt;
*[[Streaming::setGamePausesForStreaming|mp.game.streaming.setGamePausesForStreaming]]&lt;br /&gt;
*[[Streaming::setReducePedModelBudget|mp.game.streaming.setReducePedModelBudget]]&lt;br /&gt;
*[[Streaming::setReduceVehicleModelBudget|mp.game.streaming.setReduceVehicleModelBudget]]&lt;br /&gt;
*[[Streaming::setDitchPoliceModels|mp.game.streaming.setDitchPoliceModels]]&lt;br /&gt;
*[[Streaming::getNumberOfRequests|mp.game.streaming.getNumberOfRequests]]&lt;br /&gt;
*[[Streaming::requestPtfxAsset|mp.game.streaming.requestPtfxAsset]]&lt;br /&gt;
*[[Streaming::hasPtfxAssetLoaded|mp.game.streaming.hasPtfxAssetLoaded]]&lt;br /&gt;
*[[Streaming::removePtfxAsset|mp.game.streaming.removePtfxAsset]]&lt;br /&gt;
*[[Streaming::requestNamedPtfxAsset|mp.game.streaming.requestNamedPtfxAsset]]&lt;br /&gt;
*[[Streaming::hasNamedPtfxAssetLoaded|mp.game.streaming.hasNamedPtfxAssetLoaded]]&lt;br /&gt;
*[[Streaming::removeNamedPtfxAsset|mp.game.streaming.removeNamedPtfxAsset]]&lt;br /&gt;
*[[Streaming::setVehiclePopulationBudget|mp.game.streaming.setVehiclePopulationBudget]]&lt;br /&gt;
*[[Streaming::setPedPopulationBudget|mp.game.streaming.setPedPopulationBudget]]&lt;br /&gt;
*[[Streaming::clearFocus|mp.game.streaming.clearFocus]]&lt;br /&gt;
*[[Streaming::setFocusPosAndVel|mp.game.streaming.setFocusPosAndVel]]&lt;br /&gt;
*[[Streaming::setFocusArea|mp.game.streaming.setFocusArea]]&lt;br /&gt;
*[[Streaming::setFocusEntity|mp.game.streaming.setFocusEntity]]&lt;br /&gt;
*[[Streaming::isEntityFocus|mp.game.streaming.isEntityFocus]]&lt;br /&gt;
*[[Streaming::setMapdatacullboxEnabled|mp.game.streaming.setMapdatacullboxEnabled]]&lt;br /&gt;
*[[Streaming::streamvolCreateSphere|mp.game.streaming.streamvolCreateSphere]]&lt;br /&gt;
*[[Streaming::setUnkCameraSettings|mp.game.streaming.setUnkCameraSettings]]&lt;br /&gt;
*[[Streaming::streamvolCreateFrustum|mp.game.streaming.streamvolCreateFrustum]]&lt;br /&gt;
*[[Streaming::streamvolCreateLine|mp.game.streaming.streamvolCreateLine]]&lt;br /&gt;
*[[Streaming::streamvolDelete|mp.game.streaming.streamvolDelete]]&lt;br /&gt;
*[[Streaming::streamvolHasLoaded|mp.game.streaming.streamvolHasLoaded]]&lt;br /&gt;
*[[Streaming::streamvolIsValid|mp.game.streaming.streamvolIsValid]]&lt;br /&gt;
*[[Streaming::isStreamvolActive|mp.game.streaming.isStreamvolActive]]&lt;br /&gt;
*[[Streaming::newLoadSceneStart|mp.game.streaming.newLoadSceneStart]]&lt;br /&gt;
*[[Streaming::newLoadSceneStartSphere|mp.game.streaming.newLoadSceneStartSphere]]&lt;br /&gt;
*[[Streaming::newLoadSceneStartSafe|mp.game.streaming.newLoadSceneStartSafe]]&lt;br /&gt;
*[[Streaming::newLoadSceneStop|mp.game.streaming.newLoadSceneStop]]&lt;br /&gt;
*[[Streaming::isNewLoadSceneActive|mp.game.streaming.isNewLoadSceneActive]]&lt;br /&gt;
*[[Streaming::isNewLoadSceneLoaded|mp.game.streaming.isNewLoadSceneLoaded]]&lt;br /&gt;
*[[Streaming::startPlayerSwitch|mp.game.streaming.startPlayerSwitch]]&lt;br /&gt;
*[[Streaming::stopPlayerSwitch|mp.game.streaming.stopPlayerSwitch]]&lt;br /&gt;
*[[Streaming::isPlayerSwitchInProgress|mp.game.streaming.isPlayerSwitchInProgress]]&lt;br /&gt;
*[[Streaming::getPlayerSwitchType|mp.game.streaming.getPlayerSwitchType]]&lt;br /&gt;
*[[Streaming::getIdealPlayerSwitchType|mp.game.streaming.getIdealPlayerSwitchType]]&lt;br /&gt;
*[[Streaming::getPlayerSwitchState|mp.game.streaming.getPlayerSwitchState]]&lt;br /&gt;
*[[Streaming::getPlayerShortSwitchState|mp.game.streaming.getPlayerShortSwitchState]]&lt;br /&gt;
*[[Streaming::getPlayerSwitchJumpCutIndex|mp.game.streaming.getPlayerSwitchJumpCutIndex]]&lt;br /&gt;
*[[Streaming::setPlayerSwitchOutro|mp.game.streaming.setPlayerSwitchOutro]]&lt;br /&gt;
*[[Streaming::setPlayerSwitchLocation|mp.game.streaming.setPlayerSwitchLocation]]&lt;br /&gt;
*[[Streaming::setPlayerSwitchEstablishingShot|mp.game.streaming.setPlayerSwitchEstablishingShot]]&lt;br /&gt;
*[[Streaming::allowPlayerSwitchPan|mp.game.streaming.allowPlayerSwitchPan]]&lt;br /&gt;
*[[Streaming::allowPlayerSwitchOutro|mp.game.streaming.allowPlayerSwitchOutro]]&lt;br /&gt;
*[[Streaming::allowPlayerSwitchAscent|mp.game.streaming.allowPlayerSwitchAscent]]&lt;br /&gt;
*[[Streaming::allowPlayerSwitchDescent|mp.game.streaming.allowPlayerSwitchDescent]]&lt;br /&gt;
*[[Streaming::isSwitchReadyForDescent|mp.game.streaming.isSwitchReadyForDescent]]&lt;br /&gt;
*[[Streaming::enableSwitchPauseBeforeDescent|mp.game.streaming.enableSwitchPauseBeforeDescent]]&lt;br /&gt;
*[[Streaming::disableSwitchOutroFx|mp.game.streaming.disableSwitchOutroFx]]&lt;br /&gt;
*[[Streaming::switchOutPlayer|mp.game.streaming.switchOutPlayer]]&lt;br /&gt;
*[[Streaming::switchInPlayer|mp.game.streaming.switchInPlayer]]&lt;br /&gt;
*[[Streaming::getPlayerSwitchInterpOutDuration|mp.game.streaming.getPlayerSwitchInterpOutDuration]]&lt;br /&gt;
*[[Streaming::getPlayerSwitchInterpOutCurrentTime|mp.game.streaming.getPlayerSwitchInterpOutCurrentTime]]&lt;br /&gt;
*[[Streaming::isSwitchSkippingDescent|mp.game.streaming.isSwitchSkippingDescent]]&lt;br /&gt;
*[[Streaming::getLodscale|mp.game.streaming.getLodscale]]&lt;br /&gt;
*[[Streaming::overrideLodscaleThisFrame|mp.game.streaming.overrideLodscaleThisFrame]]&lt;br /&gt;
*[[Streaming::setRenderHdOnly|mp.game.streaming.setRenderHdOnly]]&lt;br /&gt;
*[[Streaming::prefetchSrl|mp.game.streaming.prefetchSrl]]&lt;br /&gt;
*[[Streaming::isSrlLoaded|mp.game.streaming.isSrlLoaded]]&lt;br /&gt;
*[[Streaming::beginSrl|mp.game.streaming.beginSrl]]&lt;br /&gt;
*[[Streaming::endSrl|mp.game.streaming.endSrl]]&lt;br /&gt;
*[[Streaming::setSrlTime|mp.game.streaming.setSrlTime]]&lt;br /&gt;
*[[Streaming::setHdArea|mp.game.streaming.setHdArea]]&lt;br /&gt;
*[[Streaming::clearHdArea|mp.game.streaming.clearHdArea]]&lt;br /&gt;
*[[Streaming::initCreatorBudget|mp.game.streaming.initCreatorBudget]]&lt;br /&gt;
*[[Streaming::shutdownCreatorBudget|mp.game.streaming.shutdownCreatorBudget]]&lt;br /&gt;
*[[Streaming::addModelToCreatorBudget|mp.game.streaming.addModelToCreatorBudget]]&lt;br /&gt;
*[[Streaming::removeModelFromCreatorBudget|mp.game.streaming.removeModelFromCreatorBudget]]&lt;br /&gt;
*[[Streaming::getUsedCreatorModelMemoryPercentage|mp.game.streaming.getUsedCreatorModelMemoryPercentage]]&lt;br /&gt;
*[[Streaming::setIslandHopperEnabled|mp.game.streaming.setIslandHopperEnabled]]&lt;br /&gt;
*[[Streaming::getAllModelNames|mp.game.streaming.getAllModelNames]]&lt;br /&gt;
*[[Streaming::getAllModelHashes|mp.game.streaming.getAllModelHashes]]&lt;br /&gt;
*[[Streaming::getModelNameFromHash|mp.game.streaming.getModelNameFromHash]]&lt;br /&gt;
*[[Streaming::forceStreamingUpdate|mp.game.streaming.forceStreamingUpdate]]&lt;br /&gt;
*[[Streaming::requestAnimDictAsync|mp.game.streaming.requestAnimDictAsync]]&lt;br /&gt;
*[[Streaming::requestRuntimeAssetFromUrl|mp.game.streaming.requestRuntimeAssetFromUrl]]&lt;br /&gt;
*[[Streaming::releaseRuntimeAsset|mp.game.streaming.releaseRuntimeAsset]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Streaming::releaseRuntimeAsset&amp;diff=27481</id>
		<title>Streaming::releaseRuntimeAsset</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Streaming::releaseRuntimeAsset&amp;diff=27481"/>
		<updated>2025-03-16T17:48:26Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;resourceName:&amp;#039;&amp;#039;&amp;#039; {{RageType|string}} or {{RageType|number}} — The name or handle of the asset to release.  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|void}}&amp;#039;&amp;#039;&amp;#039;  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.streaming.releaseRuntimeAsset(resourceName) &amp;lt;/syntaxhighlight&amp;gt;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.streaming.releaseRuntimeAsset(&amp;quot;myAsset&amp;quot;); &amp;lt;/syntaxhighlight&amp;gt; }}  ==See also== {...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;resourceName:&#039;&#039;&#039; {{RageType|string}} or {{RageType|number}} — The name or handle of the asset to release.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|void}}&#039;&#039;&#039;&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.game.streaming.releaseRuntimeAsset(resourceName)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&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.releaseRuntimeAsset(&amp;quot;myAsset&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Streaming_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Template:Streaming_functions_c&amp;diff=27480</id>
		<title>Template:Streaming functions c</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Template:Streaming_functions_c&amp;diff=27480"/>
		<updated>2025-03-16T17:47:16Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Streaming::loadAllObjectsNow|mp.game.streaming.loadAllObjectsNow]]&lt;br /&gt;
*[[Streaming::loadScene|mp.game.streaming.loadScene]]&lt;br /&gt;
*[[Streaming::networkUpdateLoadScene|mp.game.streaming.networkUpdateLoadScene]]&lt;br /&gt;
*[[Streaming::isNetworkLoadingScene|mp.game.streaming.isNetworkLoadingScene]]&lt;br /&gt;
*[[Streaming::setInteriorActive|mp.game.streaming.setInteriorActive]]&lt;br /&gt;
*[[Streaming::requestModel|mp.game.streaming.requestModel]]&lt;br /&gt;
*[[Streaming::requestMenuPedModel|mp.game.streaming.requestMenuPedModel]]&lt;br /&gt;
*[[Streaming::requestModel2|mp.game.streaming.requestModel2]]&lt;br /&gt;
*[[Streaming::hasModelLoaded|mp.game.streaming.hasModelLoaded]]&lt;br /&gt;
*[[Streaming::requestModelsInRoom|mp.game.streaming.requestModelsInRoom]]&lt;br /&gt;
*[[Streaming::setModelAsNoLongerNeeded|mp.game.streaming.setModelAsNoLongerNeeded]]&lt;br /&gt;
*[[Streaming::isModelInCdimage|mp.game.streaming.isModelInCdimage]]&lt;br /&gt;
*[[Streaming::isModelValid|mp.game.streaming.isModelValid]]&lt;br /&gt;
*[[Streaming::isModelAPed|mp.game.streaming.isModelAPed]]&lt;br /&gt;
*[[Streaming::isModelAVehicle|mp.game.streaming.isModelAVehicle]]&lt;br /&gt;
*[[Streaming::requestCollisionAtCoord|mp.game.streaming.requestCollisionAtCoord]]&lt;br /&gt;
*[[Streaming::requestCollisionForModel|mp.game.streaming.requestCollisionForModel]]&lt;br /&gt;
*[[Streaming::hasCollisionForModelLoaded|mp.game.streaming.hasCollisionForModelLoaded]]&lt;br /&gt;
*[[Streaming::requestAdditionalCollisionAtCoord|mp.game.streaming.requestAdditionalCollisionAtCoord]]&lt;br /&gt;
*[[Streaming::doesAnimDictExist|mp.game.streaming.doesAnimDictExist]]&lt;br /&gt;
*[[Streaming::requestAnimDict|mp.game.streaming.requestAnimDict]]&lt;br /&gt;
*[[Streaming::hasAnimDictLoaded|mp.game.streaming.hasAnimDictLoaded]]&lt;br /&gt;
*[[Streaming::removeAnimDict|mp.game.streaming.removeAnimDict]]&lt;br /&gt;
*[[Streaming::requestAnimSet|mp.game.streaming.requestAnimSet]]&lt;br /&gt;
*[[Streaming::hasAnimSetLoaded|mp.game.streaming.hasAnimSetLoaded]]&lt;br /&gt;
*[[Streaming::removeAnimSet|mp.game.streaming.removeAnimSet]]&lt;br /&gt;
*[[Streaming::requestClipSet|mp.game.streaming.requestClipSet]]&lt;br /&gt;
*[[Streaming::hasClipSetLoaded|mp.game.streaming.hasClipSetLoaded]]&lt;br /&gt;
*[[Streaming::removeClipSet|mp.game.streaming.removeClipSet]]&lt;br /&gt;
*[[Streaming::requestIpl|mp.game.streaming.requestIpl]]&lt;br /&gt;
*[[Streaming::removeIpl|mp.game.streaming.removeIpl]]&lt;br /&gt;
*[[Streaming::isIplActive|mp.game.streaming.isIplActive]]&lt;br /&gt;
*[[Streaming::set|mp.game.streaming.set]]&lt;br /&gt;
*[[Streaming::setStreaming|mp.game.streaming.setStreaming]]&lt;br /&gt;
*[[Streaming::loadGlobalWaterType|mp.game.streaming.loadGlobalWaterType]]&lt;br /&gt;
*[[Streaming::getGlobalWaterType|mp.game.streaming.getGlobalWaterType]]&lt;br /&gt;
*[[Streaming::setGamePausesFor|mp.game.streaming.setGamePausesFor]]&lt;br /&gt;
*[[Streaming::setGamePausesForStreaming|mp.game.streaming.setGamePausesForStreaming]]&lt;br /&gt;
*[[Streaming::setReducePedModelBudget|mp.game.streaming.setReducePedModelBudget]]&lt;br /&gt;
*[[Streaming::setReduceVehicleModelBudget|mp.game.streaming.setReduceVehicleModelBudget]]&lt;br /&gt;
*[[Streaming::setDitchPoliceModels|mp.game.streaming.setDitchPoliceModels]]&lt;br /&gt;
*[[Streaming::getNumberOfRequests|mp.game.streaming.getNumberOfRequests]]&lt;br /&gt;
*[[Streaming::requestPtfxAsset|mp.game.streaming.requestPtfxAsset]]&lt;br /&gt;
*[[Streaming::hasPtfxAssetLoaded|mp.game.streaming.hasPtfxAssetLoaded]]&lt;br /&gt;
*[[Streaming::removePtfxAsset|mp.game.streaming.removePtfxAsset]]&lt;br /&gt;
*[[Streaming::requestNamedPtfxAsset|mp.game.streaming.requestNamedPtfxAsset]]&lt;br /&gt;
*[[Streaming::hasNamedPtfxAssetLoaded|mp.game.streaming.hasNamedPtfxAssetLoaded]]&lt;br /&gt;
*[[Streaming::removeNamedPtfxAsset|mp.game.streaming.removeNamedPtfxAsset]]&lt;br /&gt;
*[[Streaming::setVehiclePopulationBudget|mp.game.streaming.setVehiclePopulationBudget]]&lt;br /&gt;
*[[Streaming::setPedPopulationBudget|mp.game.streaming.setPedPopulationBudget]]&lt;br /&gt;
*[[Streaming::clearFocus|mp.game.streaming.clearFocus]]&lt;br /&gt;
*[[Streaming::setFocusPosAndVel|mp.game.streaming.setFocusPosAndVel]]&lt;br /&gt;
*[[Streaming::setFocusArea|mp.game.streaming.setFocusArea]]&lt;br /&gt;
*[[Streaming::setFocusEntity|mp.game.streaming.setFocusEntity]]&lt;br /&gt;
*[[Streaming::isEntityFocus|mp.game.streaming.isEntityFocus]]&lt;br /&gt;
*[[Streaming::setMapdatacullboxEnabled|mp.game.streaming.setMapdatacullboxEnabled]]&lt;br /&gt;
*[[Streaming::streamvolCreateSphere|mp.game.streaming.streamvolCreateSphere]]&lt;br /&gt;
*[[Streaming::setUnkCameraSettings|mp.game.streaming.setUnkCameraSettings]]&lt;br /&gt;
*[[Streaming::streamvolCreateFrustum|mp.game.streaming.streamvolCreateFrustum]]&lt;br /&gt;
*[[Streaming::streamvolCreateLine|mp.game.streaming.streamvolCreateLine]]&lt;br /&gt;
*[[Streaming::streamvolDelete|mp.game.streaming.streamvolDelete]]&lt;br /&gt;
*[[Streaming::streamvolHasLoaded|mp.game.streaming.streamvolHasLoaded]]&lt;br /&gt;
*[[Streaming::streamvolIsValid|mp.game.streaming.streamvolIsValid]]&lt;br /&gt;
*[[Streaming::isStreamvolActive|mp.game.streaming.isStreamvolActive]]&lt;br /&gt;
*[[Streaming::newLoadSceneStart|mp.game.streaming.newLoadSceneStart]]&lt;br /&gt;
*[[Streaming::newLoadSceneStartSphere|mp.game.streaming.newLoadSceneStartSphere]]&lt;br /&gt;
*[[Streaming::newLoadSceneStartSafe|mp.game.streaming.newLoadSceneStartSafe]]&lt;br /&gt;
*[[Streaming::newLoadSceneStop|mp.game.streaming.newLoadSceneStop]]&lt;br /&gt;
*[[Streaming::isNewLoadSceneActive|mp.game.streaming.isNewLoadSceneActive]]&lt;br /&gt;
*[[Streaming::isNewLoadSceneLoaded|mp.game.streaming.isNewLoadSceneLoaded]]&lt;br /&gt;
*[[Streaming::startPlayerSwitch|mp.game.streaming.startPlayerSwitch]]&lt;br /&gt;
*[[Streaming::stopPlayerSwitch|mp.game.streaming.stopPlayerSwitch]]&lt;br /&gt;
*[[Streaming::isPlayerSwitchInProgress|mp.game.streaming.isPlayerSwitchInProgress]]&lt;br /&gt;
*[[Streaming::getPlayerSwitchType|mp.game.streaming.getPlayerSwitchType]]&lt;br /&gt;
*[[Streaming::getIdealPlayerSwitchType|mp.game.streaming.getIdealPlayerSwitchType]]&lt;br /&gt;
*[[Streaming::getPlayerSwitchState|mp.game.streaming.getPlayerSwitchState]]&lt;br /&gt;
*[[Streaming::getPlayerShortSwitchState|mp.game.streaming.getPlayerShortSwitchState]]&lt;br /&gt;
*[[Streaming::getPlayerSwitchJumpCutIndex|mp.game.streaming.getPlayerSwitchJumpCutIndex]]&lt;br /&gt;
*[[Streaming::setPlayerSwitchOutro|mp.game.streaming.setPlayerSwitchOutro]]&lt;br /&gt;
*[[Streaming::setPlayerSwitchLocation|mp.game.streaming.setPlayerSwitchLocation]]&lt;br /&gt;
*[[Streaming::setPlayerSwitchEstablishingShot|mp.game.streaming.setPlayerSwitchEstablishingShot]]&lt;br /&gt;
*[[Streaming::allowPlayerSwitchPan|mp.game.streaming.allowPlayerSwitchPan]]&lt;br /&gt;
*[[Streaming::allowPlayerSwitchOutro|mp.game.streaming.allowPlayerSwitchOutro]]&lt;br /&gt;
*[[Streaming::allowPlayerSwitchAscent|mp.game.streaming.allowPlayerSwitchAscent]]&lt;br /&gt;
*[[Streaming::allowPlayerSwitchDescent|mp.game.streaming.allowPlayerSwitchDescent]]&lt;br /&gt;
*[[Streaming::isSwitchReadyForDescent|mp.game.streaming.isSwitchReadyForDescent]]&lt;br /&gt;
*[[Streaming::enableSwitchPauseBeforeDescent|mp.game.streaming.enableSwitchPauseBeforeDescent]]&lt;br /&gt;
*[[Streaming::disableSwitchOutroFx|mp.game.streaming.disableSwitchOutroFx]]&lt;br /&gt;
*[[Streaming::switchOutPlayer|mp.game.streaming.switchOutPlayer]]&lt;br /&gt;
*[[Streaming::switchInPlayer|mp.game.streaming.switchInPlayer]]&lt;br /&gt;
*[[Streaming::getPlayerSwitchInterpOutDuration|mp.game.streaming.getPlayerSwitchInterpOutDuration]]&lt;br /&gt;
*[[Streaming::getPlayerSwitchInterpOutCurrentTime|mp.game.streaming.getPlayerSwitchInterpOutCurrentTime]]&lt;br /&gt;
*[[Streaming::isSwitchSkippingDescent|mp.game.streaming.isSwitchSkippingDescent]]&lt;br /&gt;
*[[Streaming::getLodscale|mp.game.streaming.getLodscale]]&lt;br /&gt;
*[[Streaming::overrideLodscaleThisFrame|mp.game.streaming.overrideLodscaleThisFrame]]&lt;br /&gt;
*[[Streaming::setRenderHdOnly|mp.game.streaming.setRenderHdOnly]]&lt;br /&gt;
*[[Streaming::prefetchSrl|mp.game.streaming.prefetchSrl]]&lt;br /&gt;
*[[Streaming::isSrlLoaded|mp.game.streaming.isSrlLoaded]]&lt;br /&gt;
*[[Streaming::beginSrl|mp.game.streaming.beginSrl]]&lt;br /&gt;
*[[Streaming::endSrl|mp.game.streaming.endSrl]]&lt;br /&gt;
*[[Streaming::setSrlTime|mp.game.streaming.setSrlTime]]&lt;br /&gt;
*[[Streaming::setHdArea|mp.game.streaming.setHdArea]]&lt;br /&gt;
*[[Streaming::clearHdArea|mp.game.streaming.clearHdArea]]&lt;br /&gt;
*[[Streaming::initCreatorBudget|mp.game.streaming.initCreatorBudget]]&lt;br /&gt;
*[[Streaming::shutdownCreatorBudget|mp.game.streaming.shutdownCreatorBudget]]&lt;br /&gt;
*[[Streaming::addModelToCreatorBudget|mp.game.streaming.addModelToCreatorBudget]]&lt;br /&gt;
*[[Streaming::removeModelFromCreatorBudget|mp.game.streaming.removeModelFromCreatorBudget]]&lt;br /&gt;
*[[Streaming::getUsedCreatorModelMemoryPercentage|mp.game.streaming.getUsedCreatorModelMemoryPercentage]]&lt;br /&gt;
*[[Streaming::setIslandHopperEnabled|mp.game.streaming.setIslandHopperEnabled]]&lt;br /&gt;
*[[Streaming::getAllModelNames|mp.game.streaming.getAllModelNames]]&lt;br /&gt;
*[[Streaming::getAllModelHashes|mp.game.streaming.getAllModelHashes]]&lt;br /&gt;
*[[Streaming::getModelNameFromHash|mp.game.streaming.getModelNameFromHash]]&lt;br /&gt;
*[[Streaming::forceStreamingUpdate|mp.game.streaming.forceStreamingUpdate]]&lt;br /&gt;
*[[Streaming::requestAnimDictAsync|mp.game.streaming.requestAnimDictAsync]]&lt;br /&gt;
*[[Streaming::requestRuntimeAssetFromUrl|mp.game.streaming.requestRuntimeAssetFromUrl]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Streaming::requestRuntimeAssetFromUrl&amp;diff=27479</id>
		<title>Streaming::requestRuntimeAssetFromUrl</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Streaming::requestRuntimeAssetFromUrl&amp;diff=27479"/>
		<updated>2025-03-16T17:46:44Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;resourceName:&amp;#039;&amp;#039;&amp;#039; {{RageType|string}} — The name of the resource. *&amp;#039;&amp;#039;&amp;#039;url:&amp;#039;&amp;#039;&amp;#039; {{RageType|string}} — The URL from which to request the asset.  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|Promise&amp;lt;boolean&amp;gt;}}&amp;#039;&amp;#039;&amp;#039; — Resolves to `true` if the asset was successfully loaded, otherwise `false`.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.streaming.requestRuntimeAssetFromUrl(string resourceName, string url) &amp;lt;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;resourceName:&#039;&#039;&#039; {{RageType|string}} — The name of the resource.&lt;br /&gt;
*&#039;&#039;&#039;url:&#039;&#039;&#039; {{RageType|string}} — The URL from which to request the asset.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|Promise&amp;lt;boolean&amp;gt;}}&#039;&#039;&#039; — Resolves to `true` if the asset was successfully loaded, otherwise `false`.&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.game.streaming.requestRuntimeAssetFromUrl(string resourceName, string url)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&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.requestRuntimeAssetFromUrl(&amp;quot;myAsset&amp;quot;, &amp;quot;https://example.com/asset.ytd&amp;quot;)&lt;br /&gt;
    .then(success =&amp;gt; {&lt;br /&gt;
        if (success) {&lt;br /&gt;
            mp.gui.chat.push(&amp;quot;Asset successfully loaded.&amp;quot;);&lt;br /&gt;
        } else {&lt;br /&gt;
            mp.gui.chat.push(&amp;quot;Failed to load asset.&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    });&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Streaming_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Raycasting::testCapsule&amp;diff=27478</id>
		<title>Raycasting::testCapsule</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Raycasting::testCapsule&amp;diff=27478"/>
		<updated>2025-03-16T17:43:09Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Raycast from point to point, where the ray has a radius. &lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.raycasting.testCapsule(pos1, pos2, radius, [ignoredEntity], [flags]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;pos1:&#039;&#039;&#039; Vector3&lt;br /&gt;
*&#039;&#039;&#039;pos2:&#039;&#039;&#039; Vector3&lt;br /&gt;
*&#039;&#039;&#039;radius:&#039;&#039;&#039; Float&lt;br /&gt;
*&#039;&#039;&#039;ignoreEntity:&#039;&#039;&#039; Array of entities handle or object&lt;br /&gt;
*&#039;&#039;&#039;flags:&#039;&#039;&#039; Array of ints&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;object:&#039;&#039;&#039; position (Entity Coordinates) , surfaceNormal, material (Entity Model) , entity (Handle)&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.add(&#039;render&#039;, () =&amp;gt; {&lt;br /&gt;
	const startPosition = player.getBoneCoords(12844, 0.5, 0, 0);&lt;br /&gt;
	const endPosition = new mp.Vector3(0, 0, 75);&lt;br /&gt;
&lt;br /&gt;
	const hitData = mp.raycasting.testCapsule(startPosition, endPosition, 0.5);&lt;br /&gt;
	if (!hitData) {&lt;br /&gt;
		mp.game.graphics.drawLine(startPosition.x, startPosition.y, startPosition.z, endPosition.x, endPosition.y, endPosition.z, 255, 255, 255, 255); // Is in line of sight&lt;br /&gt;
	} else {&lt;br /&gt;
		mp.game.graphics.drawLine(startPosition.x, startPosition.y, startPosition.z, endPosition.x, endPosition.y, endPosition.z, 255, 0, 0, 255); // Is NOT in line of sight&lt;br /&gt;
	}&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;
{{Raycast_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Raycasting::testPointToPoint&amp;diff=27477</id>
		<title>Raycasting::testPointToPoint</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Raycasting::testPointToPoint&amp;diff=27477"/>
		<updated>2025-03-16T17:42:56Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This function casts a ray from Point1 to Point2 and returns the position and entity of what&#039;s in the way, or undefined if the way is cleared.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Flags are intersection bit flags.  They tell the ray what to care about and what not to care about when casting. Passing -1 will intersect with everything, presumably.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Flags:&amp;lt;br&amp;gt;1: Intersect with map&amp;lt;br&amp;gt;2: Intersect with vehicles (used to be mission entities?) (includes train)&amp;lt;br&amp;gt;4: Intersect with peds? (same as 8)&amp;lt;br&amp;gt;8: Intersect with peds? (same as 4)&amp;lt;br&amp;gt;16: Intersect with objects&amp;lt;br&amp;gt;32: Unknown&amp;lt;br&amp;gt;64: Unknown&amp;lt;br&amp;gt;128: Unknown&amp;lt;br&amp;gt;256: Intersect with vegetation (plants, coral. trees not included)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;NOTE: Raycasts that intersect with mission_entites (flag = 2) has limited range and will not register for far away entites. The range seems to be about 30 metres. &lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.raycasting.testPointToPoint(pos1, pos2, [ignoredEntity], [flags])&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required arguments ===&lt;br /&gt;
*&#039;&#039;&#039;pos1:&#039;&#039;&#039; Vector3&lt;br /&gt;
*&#039;&#039;&#039;pos2:&#039;&#039;&#039; Vector3&lt;br /&gt;
&lt;br /&gt;
=== Optional arguments ===&lt;br /&gt;
*&#039;&#039;&#039;ignoredEntity:&#039;&#039;&#039; Entity handle or object - example: mp.players.local&lt;br /&gt;
*&#039;&#039;&#039;flags:&#039;&#039;&#039; Int representing sum of flags - example: 17 (intersect with map [1] and objects [16])&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
*&#039;&#039;&#039;object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example of return object&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;position&amp;quot;: {&lt;br /&gt;
		&amp;quot;x&amp;quot;: 13.01,&lt;br /&gt;
		&amp;quot;y&amp;quot;: 12.23,&lt;br /&gt;
		&amp;quot;z&amp;quot;: 70.02&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;surfaceNormal&amp;quot;: {&lt;br /&gt;
		&amp;quot;x&amp;quot;: 0.93,&lt;br /&gt;
		&amp;quot;y&amp;quot;: -0.04,&lt;br /&gt;
		&amp;quot;z&amp;quot;: -0.34&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;entity&amp;quot;: &amp;lt;entity object&amp;gt;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.events.add(&#039;render&#039;, () =&amp;gt; {&lt;br /&gt;
	const startPosition = mp.players.local.getBoneCoords(12844, 0.5, 0, 0);&lt;br /&gt;
	const endPosition = new mp.Vector3(0, 0, 75);&lt;br /&gt;
&lt;br /&gt;
	const hitData = mp.raycasting.testPointToPoint(startPosition, endPosition);&lt;br /&gt;
	if (!hitData) {&lt;br /&gt;
		mp.game.graphics.drawLine(startPosition.x, startPosition.y, startPosition.z, endPosition.x, endPosition.y, endPosition.z, 255, 255, 255, 255); // Is in line of sight&lt;br /&gt;
	} else {&lt;br /&gt;
		mp.game.graphics.drawLine(startPosition.x, startPosition.y, startPosition.z, endPosition.x, endPosition.y, endPosition.z, 255, 0, 0, 255); // Is NOT in line of sight&lt;br /&gt;
	}&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This function returns undefined or a valid result, if you point with your camera on something. &lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function pointingAt(distance) {&lt;br /&gt;
    const camera = mp.cameras.new(&amp;quot;gameplay&amp;quot;); // gets the current gameplay camera&lt;br /&gt;
&lt;br /&gt;
    let position = camera.getCoord(); // grab the position of the gameplay camera as Vector3&lt;br /&gt;
&lt;br /&gt;
    let direction = camera.getDirection(); // get the forwarding vector of the direction you aim with the gameplay camera as Vector3&lt;br /&gt;
&lt;br /&gt;
    let farAway = new mp.Vector3((direction.x * distance) + (position.x), (direction.y * distance) + (position.y), (direction.z * distance) + (position.z)); // calculate a random point, drawn on a invisible line between camera position and direction (* distance)&lt;br /&gt;
&lt;br /&gt;
    let result = mp.raycasting.testPointToPoint(position, farAway, null, 17); // now test point to point - intersects with map and objects [1 + 16]&lt;br /&gt;
&lt;br /&gt;
    return result; // and return the result ( undefined, if no hit )&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;
{{Raycast_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Raycasting::testVisualDrawablePointToPoint&amp;diff=27476</id>
		<title>Raycasting::testVisualDrawablePointToPoint</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Raycasting::testVisualDrawablePointToPoint&amp;diff=27476"/>
		<updated>2025-03-16T17:42:40Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;rayStart:&#039;&#039;&#039; {{RageType|Vector3}} — The starting position of the raycast.&lt;br /&gt;
*&#039;&#039;&#039;rayEnd:&#039;&#039;&#039; {{RageType|Vector3}} — The ending position of the raycast.&lt;br /&gt;
*&#039;&#039;&#039;flags:&#039;&#039;&#039; {{RageType|number}} (optional, default: -1) — Flags that determine the behavior of the raycast.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|Object}}&#039;&#039;&#039; — Returns an object containing information about the hit result.&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.raycasting.testVisualDrawablePointToPoint(rayStart, rayEnd, flags = -1)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Raycast_functions_c}}&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Client-side_functions&amp;diff=27475</id>
		<title>Client-side functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Client-side_functions&amp;diff=27475"/>
		<updated>2025-03-16T17:42:26Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: /* Raycasting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==RAGE Classes==&lt;br /&gt;
===Entity pool===&lt;br /&gt;
{{EntityPool_Client_functions}}&lt;br /&gt;
&lt;br /&gt;
===Blip===&lt;br /&gt;
{{Blip_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Browser===&lt;br /&gt;
{{Browser_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Camera===&lt;br /&gt;
{{Camera_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Checkpoint===&lt;br /&gt;
*[[Checkpoint::Checkpoint]]&lt;br /&gt;
&lt;br /&gt;
===Dummy Entity===&lt;br /&gt;
{{Dummies_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Entity===&lt;br /&gt;
{{Entity_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Label===&lt;br /&gt;
{{Label_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Marker===&lt;br /&gt;
{{Marker_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
{{Object_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Peds===&lt;br /&gt;
*[[Ped::Ped]]&lt;br /&gt;
&lt;br /&gt;
===Pickup===&lt;br /&gt;
*[[Pickup::Pickup]]&lt;br /&gt;
&lt;br /&gt;
===Player===&lt;br /&gt;
{{Player_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Vector3===&lt;br /&gt;
{{Vector3_definition}}&lt;br /&gt;
&lt;br /&gt;
===Vehicle===&lt;br /&gt;
{{Vehicle_definition_c}}&lt;br /&gt;
&lt;br /&gt;
==RAGE Static Objects==&lt;br /&gt;
===Globals===&lt;br /&gt;
{{Global_properties_c}}&lt;br /&gt;
&lt;br /&gt;
=== Console ===&lt;br /&gt;
{{Console_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Cursor===&lt;br /&gt;
{{Cursor_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Discord===&lt;br /&gt;
*[[Discord::update|mp.discord.update]]&lt;br /&gt;
*[[Discord::requestOAuth2|mp.discord.requestOAuth2]]&lt;br /&gt;
&lt;br /&gt;
===Event===&lt;br /&gt;
{{Event_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Gui===&lt;br /&gt;
{{Gui_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Keys===&lt;br /&gt;
{{Keys_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Nametags===&lt;br /&gt;
{{Nametags_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Preferences===&lt;br /&gt;
{{Preferences_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Raycasting===&lt;br /&gt;
{{Raycast_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Storage===&lt;br /&gt;
{{Storage_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===System===&lt;br /&gt;
*Functions:&lt;br /&gt;
**[[system.notify()|mp.system.notify]]&lt;br /&gt;
*Properties:&lt;br /&gt;
**[[system.isFullscreen|mp.system.isFullscreen]]&lt;br /&gt;
**[[system.isFocused|mp.system.isFocused]]&lt;br /&gt;
&lt;br /&gt;
===Voice chat===&lt;br /&gt;
{{Voicechat}}&lt;br /&gt;
&lt;br /&gt;
==Game Static Objects==&lt;br /&gt;
===Game Globals===&lt;br /&gt;
{{GameGlobals}}&lt;br /&gt;
&lt;br /&gt;
*Properties:&lt;br /&gt;
**[[Client-side_functions#App|mp.game.app]]&lt;br /&gt;
**[[Client-side_functions#Audio|mp.game.audio]]&lt;br /&gt;
**[[Client-side_functions#Brain|mp.game.brain]]&lt;br /&gt;
**[[Client-side_functions#Cam|mp.game.cam]]&lt;br /&gt;
**[[Client-side_functions#Controls|mp.game.controls]]&lt;br /&gt;
**[[Client-side_functions#Cutscene|mp.game.cutscene]]&lt;br /&gt;
**[[Client-side_functions#Datafile|mp.game.datafile]]&lt;br /&gt;
**[[Client-side_functions#Decisionevent|mp.game.decisionevent]]&lt;br /&gt;
**[[Client-side_functions#Decorator|mp.game.decorator]]&lt;br /&gt;
**[[Client-side_functions#Task|mp.game.task]]&lt;br /&gt;
**[[Client-side_functions#Dlc1|mp.game.dlc1]]&lt;br /&gt;
**[[Client-side_functions#Dlc2|mp.game.dlc2]]&lt;br /&gt;
**[[Client-side_functions#GameEntity|mp.game.entity]]&lt;br /&gt;
**[[Client-side_functions#Fire|mp.game.fire]]&lt;br /&gt;
**[[Client-side_functions#Gameplay|mp.game.gameplay]]&lt;br /&gt;
**[[Client-side_functions#Graphics|mp.game.graphics]]&lt;br /&gt;
**[[Client-side_functions#GXT|mp.game.gxt]]&lt;br /&gt;
**[[Client-side_functions#Interior|mp.game.interior]]&lt;br /&gt;
**[[Client-side_functions#Itemset|mp.game.itemset]]&lt;br /&gt;
**[[Client-side_functions#Mobile|mp.game.mobile]]&lt;br /&gt;
**[[Client-side_functions#Object|mp.game.object]]&lt;br /&gt;
**[[Client-side_functions#Pathfind|mp.game.pathfind]]&lt;br /&gt;
**[[Client-side_functions#Ped|mp.game.ped]]&lt;br /&gt;
**[[Client-side_functions#Player|mp.game.player]]&lt;br /&gt;
**[[Client-side_functions#Rope|mp.game.rope]]&lt;br /&gt;
**[[Client-side_functions#Script|mp.game.script]]&lt;br /&gt;
**[[Client-side_functions#Stats|mp.game.stats]]&lt;br /&gt;
**[[Client-side_functions#Streaming|mp.game.streaming]]&lt;br /&gt;
**[[Client-side_functions#System (Game)|mp.game.system]]&lt;br /&gt;
**[[Client-side_functions#Time|mp.game.time]]&lt;br /&gt;
**[[Client-side_functions#Ui|mp.game.ui]]&lt;br /&gt;
**[[Client-side_functions#Unk|mp.game.unk]]&lt;br /&gt;
**[[Client-side_functions#Recorder|mp.game.recorder]]&lt;br /&gt;
**[[Client-side_functions#Vehicle|mp.game.vehicle]]&lt;br /&gt;
**[[Client-side_functions#Water|mp.game.water]]&lt;br /&gt;
**[[Client-side_functions#Weapon|mp.game.weapon]]&lt;br /&gt;
**[[Client-side_functions#Worldprobe|mp.game.worldprobe]]&lt;br /&gt;
**[[Client-side_functions#Zone|mp.game.zone]]&lt;br /&gt;
**[[Client-side_functions#Replay|mp.game.replay]]&lt;br /&gt;
**[[Client-side_functions#GameClock|mp.game.clock]]&lt;br /&gt;
**[[Client-side_functions#GameFiles|mp.game.files]]&lt;br /&gt;
&lt;br /&gt;
===App===&lt;br /&gt;
{{App_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Audio===&lt;br /&gt;
{{Audio_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Brain===&lt;br /&gt;
{{Brain_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Cam===&lt;br /&gt;
{{Cam_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Controls===&lt;br /&gt;
{{Controls_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Task===&lt;br /&gt;
{{Task_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===GameEntity===&lt;br /&gt;
{{Entity_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Cutscene===&lt;br /&gt;
{{Cutscene_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Datafile===&lt;br /&gt;
{{Datafile_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Decisionevent===&lt;br /&gt;
{{Decisionevent_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Decorator===&lt;br /&gt;
*[[Decorator::decorIsRegisteredAsType|mp.game.decorator.decorIsRegisteredAsType]]&lt;br /&gt;
*[[Decorator::decorRegister|mp.game.decorator.decorRegister]]&lt;br /&gt;
&lt;br /&gt;
===DLC===&lt;br /&gt;
{{Dlc1_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===DLC2===&lt;br /&gt;
*[[Dlc2::nullify|mp.game.dlc2.nullify]]&lt;br /&gt;
*[[Dlc2::isDlcPresent|mp.game.dlc2.isDlcPresent]]&lt;br /&gt;
&lt;br /&gt;
===Fire===&lt;br /&gt;
{{Fire_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Gameplay===&lt;br /&gt;
{{Gameplay_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Replay===&lt;br /&gt;
{{Replay_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===GameClock===&lt;br /&gt;
{{GameClock_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===GameFiles===&lt;br /&gt;
{{GameFiles_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Graphics===&lt;br /&gt;
{{Graphics_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===GXT===&lt;br /&gt;
{{GXT_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Interior===&lt;br /&gt;
{{Interior_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Itemset===&lt;br /&gt;
{{Itemset_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Mobile===&lt;br /&gt;
{{Mobile_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
{{Object_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Pathfind===&lt;br /&gt;
{{Path_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Ped===&lt;br /&gt;
{{Ped_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Player===&lt;br /&gt;
{{Player_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Recorder===&lt;br /&gt;
*[[Recorder::start|mp.game.recorder.start]]&lt;br /&gt;
*[[Recorder::stop|mp.game.recorder.stop]]&lt;br /&gt;
*[[Recorder::isRecording|mp.game.recorder.isRecording]]&lt;br /&gt;
&lt;br /&gt;
===Rope===&lt;br /&gt;
{{Rope_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Script===&lt;br /&gt;
{{Script_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Stats===&lt;br /&gt;
{{Stats_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Streaming===&lt;br /&gt;
{{Streaming_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===System (Game)===&lt;br /&gt;
{{System_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Time===&lt;br /&gt;
{{Time_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Ui===&lt;br /&gt;
{{Ui_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Unk===&lt;br /&gt;
*[[Unk::getBroadcastFinishedLosSound|mp.game.unk.getBroadcastFinishedLosSound]]&lt;br /&gt;
&lt;br /&gt;
===Vehicle===&lt;br /&gt;
{{Vehicle_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Water===&lt;br /&gt;
{{Water_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Weapon===&lt;br /&gt;
{{Weapon_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Worldprobe===&lt;br /&gt;
{{Worldprobe_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Zone===&lt;br /&gt;
{{Zone_functions_c}}&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Raycasting::testVisualDrawablePointToPointForEntity&amp;diff=27474</id>
		<title>Raycasting::testVisualDrawablePointToPointForEntity</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Raycasting::testVisualDrawablePointToPointForEntity&amp;diff=27474"/>
		<updated>2025-03-16T17:42:15Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;rayStart:&#039;&#039;&#039; {{RageType|Vector3}} — The starting position of the raycast.&lt;br /&gt;
*&#039;&#039;&#039;rayEnd:&#039;&#039;&#039; {{RageType|Vector3}} — The ending position of the raycast.&lt;br /&gt;
*&#039;&#039;&#039;entityHandle:&#039;&#039;&#039; {{RageType|number}} — The handle of the entity to test against.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|Object}}&#039;&#039;&#039; — Returns an object containing information about the hit result.&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.raycasting.testVisualDrawablePointToPointForEntity(rayStart, rayEnd, entityHandle)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Raycast_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Template:Raycast_functions_c&amp;diff=27473</id>
		<title>Template:Raycast functions c</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Template:Raycast_functions_c&amp;diff=27473"/>
		<updated>2025-03-16T17:42:01Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;*mp.raycasting.testVisualDrawablePointToPoint *mp.raycasting.testPointToPoint *mp.raycasting.testPointToPointAsync *mp.raycasting.testCapsule *mp.raycasting.testVisualDrawablePointToPointForEntity&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Raycasting::testVisualDrawablePointToPoint|mp.raycasting.testVisualDrawablePointToPoint]]&lt;br /&gt;
*[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]&lt;br /&gt;
*[[Raycasting::testPointToPoint|mp.raycasting.testPointToPointAsync]]&lt;br /&gt;
*[[Raycasting::testCapsule|mp.raycasting.testCapsule]]&lt;br /&gt;
*[[Raycasting::testVisualDrawablePointToPointForEntity|mp.raycasting.testVisualDrawablePointToPointForEntity]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Raycasting::testVisualDrawablePointToPointForEntity&amp;diff=27472</id>
		<title>Raycasting::testVisualDrawablePointToPointForEntity</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Raycasting::testVisualDrawablePointToPointForEntity&amp;diff=27472"/>
		<updated>2025-03-16T17:41:08Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;rayStart:&amp;#039;&amp;#039;&amp;#039; {{RageType|Vector3}} — The starting position of the raycast. *&amp;#039;&amp;#039;&amp;#039;rayEnd:&amp;#039;&amp;#039;&amp;#039; {{RageType|Vector3}} — The ending position of the raycast. *&amp;#039;&amp;#039;&amp;#039;entityHandle:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} — The handle of the entity to test against.  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|Object}}&amp;#039;&amp;#039;&amp;#039; — Returns an object containing information about the hit result.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.rayc...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;rayStart:&#039;&#039;&#039; {{RageType|Vector3}} — The starting position of the raycast.&lt;br /&gt;
*&#039;&#039;&#039;rayEnd:&#039;&#039;&#039; {{RageType|Vector3}} — The ending position of the raycast.&lt;br /&gt;
*&#039;&#039;&#039;entityHandle:&#039;&#039;&#039; {{RageType|number}} — The handle of the entity to test against.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|Object}}&#039;&#039;&#039; — Returns an object containing information about the hit result.&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.raycasting.testVisualDrawablePointToPointForEntity(rayStart, rayEnd, entityHandle)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Raycasting::testVisualDrawablePointToPoint|mp.raycasting.testVisualDrawablePointToPoint]]&lt;br /&gt;
*[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]&lt;br /&gt;
*[[Raycasting::testPointToPoint|mp.raycasting.testPointToPointAsync]]&lt;br /&gt;
*[[Raycasting::testCapsule|mp.raycasting.testCapsule]]&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Raycasting::testVisualDrawablePointToPoint&amp;diff=27471</id>
		<title>Raycasting::testVisualDrawablePointToPoint</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Raycasting::testVisualDrawablePointToPoint&amp;diff=27471"/>
		<updated>2025-03-16T17:39:09Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;rayStart:&amp;#039;&amp;#039;&amp;#039; {{RageType|Vector3}} — The starting position of the raycast. *&amp;#039;&amp;#039;&amp;#039;rayEnd:&amp;#039;&amp;#039;&amp;#039; {{RageType|Vector3}} — The ending position of the raycast. *&amp;#039;&amp;#039;&amp;#039;flags:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} (optional, default: -1) — Flags that determine the behavior of the raycast.  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|Object}}&amp;#039;&amp;#039;&amp;#039; — Returns an object containing information about the hit result.  ==Syntax== &amp;lt;syntaxhighlight l...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;rayStart:&#039;&#039;&#039; {{RageType|Vector3}} — The starting position of the raycast.&lt;br /&gt;
*&#039;&#039;&#039;rayEnd:&#039;&#039;&#039; {{RageType|Vector3}} — The ending position of the raycast.&lt;br /&gt;
*&#039;&#039;&#039;flags:&#039;&#039;&#039; {{RageType|number}} (optional, default: -1) — Flags that determine the behavior of the raycast.&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|Object}}&#039;&#039;&#039; — Returns an object containing information about the hit result.&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.raycasting.testVisualDrawablePointToPoint(rayStart, rayEnd, flags = -1)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
*[[Raycasting::testVisualDrawablePointToPoint|mp.raycasting.testVisualDrawablePointToPoint]]&lt;br /&gt;
*[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]&lt;br /&gt;
*[[Raycasting::testPointToPoint|mp.raycasting.testPointToPointAsync]]&lt;br /&gt;
*[[Raycasting::testCapsule|mp.raycasting.testCapsule]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=PauseMenuItemChange&amp;diff=27465</id>
		<title>PauseMenuItemChange</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=PauseMenuItemChange&amp;diff=27465"/>
		<updated>2025-02-01T21:55:36Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideEvent}} {{JSContainer|  ===Parameters=== *&amp;#039;&amp;#039;&amp;#039;itemHash:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;value:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;oldValue:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}}  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.events.add(&amp;quot;pauseMenuItemChange&amp;quot;, (itemHash, value, oldValue) =&amp;gt; {     // Your code here }); &amp;lt;/syntaxhighlight&amp;gt;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; //todo &amp;lt;/syntaxhighlight&amp;gt; }} ==See also== {{Player_events}} Category:Clientside Events Category:...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideEvent}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
*&#039;&#039;&#039;itemHash:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;value:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;oldValue:&#039;&#039;&#039; {{RageType|number}}&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.events.add(&amp;quot;pauseMenuItemChange&amp;quot;, (itemHash, value, oldValue) =&amp;gt; {&lt;br /&gt;
    // Your code here&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Player_events}}&lt;br /&gt;
[[Category:Clientside Events]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=PauseMenuItemSelect&amp;diff=27464</id>
		<title>PauseMenuItemSelect</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=PauseMenuItemSelect&amp;diff=27464"/>
		<updated>2025-02-01T21:55:08Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideEvent}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
*&#039;&#039;&#039;itemHash:&#039;&#039;&#039; {{RageType|number}}&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.events.add(&amp;quot;pauseMenuItemSelect&amp;quot;, (itemHash) =&amp;gt; {&lt;br /&gt;
    // Your code here&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Player_events}}&lt;br /&gt;
[[Category:Clientside Events]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=PauseMenuItemSelect&amp;diff=27463</id>
		<title>PauseMenuItemSelect</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=PauseMenuItemSelect&amp;diff=27463"/>
		<updated>2025-02-01T21:54:58Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideEvent}} {{JSContainer|  ===Parameters=== *&amp;#039;&amp;#039;&amp;#039;itemHash:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}}  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.events.add(&amp;quot;pauseMenuItemSelect&amp;quot;, (itemHash) =&amp;gt; {     // Your code here }); &amp;lt;/syntaxhighlight&amp;gt;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; //todo &amp;lt;/syntaxhighlight&amp;gt;  ==See also== {{Player_events}} Category:Clientside Events Category:TODO: Example }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideEvent}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
*&#039;&#039;&#039;itemHash:&#039;&#039;&#039; {{RageType|number}}&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.events.add(&amp;quot;pauseMenuItemSelect&amp;quot;, (itemHash) =&amp;gt; {&lt;br /&gt;
    // Your code here&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Player_events}}&lt;br /&gt;
[[Category:Clientside Events]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Template:Player_events_clientside&amp;diff=27462</id>
		<title>Template:Player events clientside</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Template:Player_events_clientside&amp;diff=27462"/>
		<updated>2025-02-01T21:54:11Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: /* Common */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Browser==&lt;br /&gt;
*[[browserCreated]]&lt;br /&gt;
*[[browserDomReady]]&lt;br /&gt;
*[[browserLoadingFailed]]&lt;br /&gt;
&lt;br /&gt;
==Checkpoints==&lt;br /&gt;
*[[playerEnterCheckpoint]]&lt;br /&gt;
*[[playerExitCheckpoint]]&lt;br /&gt;
&lt;br /&gt;
==Colshapes==&lt;br /&gt;
*[[playerEnterColshape]]&lt;br /&gt;
*[[playerExitColshape]]&lt;br /&gt;
&lt;br /&gt;
==Console==&lt;br /&gt;
*[[consoleCommand]]&lt;br /&gt;
&lt;br /&gt;
==Common==&lt;br /&gt;
*[[click]]&lt;br /&gt;
*[[playerChat]]&lt;br /&gt;
*[[playerCommand]]&lt;br /&gt;
*[[playerDeath]]&lt;br /&gt;
*[[playerJoin]]&lt;br /&gt;
*[[playerQuit]]&lt;br /&gt;
*[[playerReady]]&lt;br /&gt;
*[[playerResurrect]]&lt;br /&gt;
*[[playerRuleTriggered]]&lt;br /&gt;
*[[playerSpawn]]&lt;br /&gt;
*[[playerWeaponShot]]&lt;br /&gt;
*[[addDataHandler]]&lt;br /&gt;
*[[dummyEntityCreated]]&lt;br /&gt;
*[[dummyEntityDestroyed]]&lt;br /&gt;
*[[entityControllerChange]]&lt;br /&gt;
*[[replayEditorRequest]]&lt;br /&gt;
*[[pauseMenuItemSelect]]&lt;br /&gt;
*[[pauseMenuItemChange]]&lt;br /&gt;
&lt;br /&gt;
==Damage==&lt;br /&gt;
*[[explosion]]&lt;br /&gt;
*[[incomingDamage]]&lt;br /&gt;
*[[projectile]]&lt;br /&gt;
*[[outgoingDamage]]&lt;br /&gt;
*[[meleeActionDamage]]&lt;br /&gt;
&lt;br /&gt;
==Vehicles==&lt;br /&gt;
*[[playerStartEnterVehicle]]&lt;br /&gt;
*[[playerEnterVehicle]]&lt;br /&gt;
*[[playerLeaveVehicle]]&lt;br /&gt;
&lt;br /&gt;
==Voice chat==&lt;br /&gt;
*[[playerStartTalking]]&lt;br /&gt;
*[[playerStopTalking]]&lt;br /&gt;
&lt;br /&gt;
==Streaming==&lt;br /&gt;
*[[entityStreamIn]]&lt;br /&gt;
*[[entityStreamOut]]&lt;br /&gt;
&lt;br /&gt;
==Graphics==&lt;br /&gt;
*[[render]]&lt;br /&gt;
&lt;br /&gt;
==Waypoint==&lt;br /&gt;
*[[playerCreateWaypoint]]&lt;br /&gt;
*[[playerReachWaypoint]]&lt;br /&gt;
&lt;br /&gt;
==Misc==&lt;br /&gt;
*[[uncaughtException]]&lt;br /&gt;
*[[unhandledRejection]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemEnabled&amp;diff=27461</id>
		<title>Ui::pausemenu.setItemEnabled</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemEnabled&amp;diff=27461"/>
		<updated>2025-02-01T21:51:24Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;itemHash:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;isEnabled:&amp;#039;&amp;#039;&amp;#039; {{RageType|bool}}  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|void}}&amp;#039;&amp;#039;&amp;#039;  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.ui.pausemenu.setItemEnabled(itemHash, isEnabled) &amp;lt;/syntaxhighlight&amp;gt;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; //todo &amp;lt;/syntaxhighlight&amp;gt;  ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;itemHash:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;isEnabled:&#039;&#039;&#039; {{RageType|bool}}&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|void}}&#039;&#039;&#039;&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.game.ui.pausemenu.setItemEnabled(itemHash, isEnabled)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Ui_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemValue&amp;diff=27460</id>
		<title>Ui::pausemenu.setItemValue</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemValue&amp;diff=27460"/>
		<updated>2025-02-01T21:51:12Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;itemHash:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;value:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}}  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|void}}&amp;#039;&amp;#039;&amp;#039;  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.ui.pausemenu.setItemValue(itemHash, value) &amp;lt;/syntaxhighlight&amp;gt;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; //todo &amp;lt;/syntaxhighlight&amp;gt;  ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;itemHash:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;value:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|void}}&#039;&#039;&#039;&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.game.ui.pausemenu.setItemValue(itemHash, value)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Ui_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemColor&amp;diff=27459</id>
		<title>Ui::pausemenu.setItemColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemColor&amp;diff=27459"/>
		<updated>2025-02-01T21:50:59Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;itemHash:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;colorIndex:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}}  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|void}}&amp;#039;&amp;#039;&amp;#039;  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.ui.pausemenu.setItemColor(itemHash, colorIndex) &amp;lt;/syntaxhighlight&amp;gt;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; //todo &amp;lt;/syntaxhighlight&amp;gt;  ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;itemHash:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;colorIndex:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|void}}&#039;&#039;&#039;&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.game.ui.pausemenu.setItemColor(itemHash, colorIndex)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Ui_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemTicksVisible&amp;diff=27458</id>
		<title>Ui::pausemenu.setItemTicksVisible</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemTicksVisible&amp;diff=27458"/>
		<updated>2025-02-01T21:50:43Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;itemHash:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;isVisible:&amp;#039;&amp;#039;&amp;#039; {{RageType|bool}}  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|void}}&amp;#039;&amp;#039;&amp;#039;  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.ui.pausemenu.setItemTicksVisible(itemHash, isVisible) &amp;lt;/syntaxhighlight&amp;gt;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; //todo &amp;lt;/syntaxhighlight&amp;gt;  ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;itemHash:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;isVisible:&#039;&#039;&#039; {{RageType|bool}}&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|void}}&#039;&#039;&#039;&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.game.ui.pausemenu.setItemTicksVisible(itemHash, isVisible)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Ui_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemList&amp;diff=27457</id>
		<title>Ui::pausemenu.setItemList</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Ui::pausemenu.setItemList&amp;diff=27457"/>
		<updated>2025-02-01T21:48:53Z</updated>

		<summary type="html">&lt;p&gt;Shr0x: Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  ===Required Params=== *&amp;#039;&amp;#039;&amp;#039;itemHash:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} *&amp;#039;&amp;#039;&amp;#039;values:&amp;#039;&amp;#039;&amp;#039; {{RageType|Array&amp;lt;string&amp;gt;}}  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;{{RageType|void}}&amp;#039;&amp;#039;&amp;#039;  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; mp.game.ui.pausemenu.setItemList(itemHash, values) &amp;lt;/syntaxhighlight&amp;gt;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; //todo &amp;lt;/syntaxhighlight&amp;gt;  ==See also== {{Ui_functions_c}} Category:Clientside API Category:TODO: Example }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&#039;&#039;&#039;itemHash:&#039;&#039;&#039; {{RageType|number}}&lt;br /&gt;
*&#039;&#039;&#039;values:&#039;&#039;&#039; {{RageType|Array&amp;lt;string&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;{{RageType|void}}&#039;&#039;&#039;&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.game.ui.pausemenu.setItemList(itemHash, values)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&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;
{{Ui_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
</feed>