<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=natives.requestScript</id>
	<title>natives.requestScript - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=natives.requestScript"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.requestScript&amp;action=history"/>
	<updated>2026-04-29T17:53:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=natives.requestScript&amp;diff=11291&amp;oldid=prev</id>
		<title>ChrisGame20: Created page with &quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.requestScript |parameters = string scriptName |parameter1 = string scriptName Name of the script to request |usage = Requests a script to be loaded into memory so it can be started later |notes =  - Must be called before natives.startNewScript to ensure the script is available - If the script does not exist, the request will silently fail |return1 = void |returnFail1 = void |exampleJS = bind...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.requestScript&amp;diff=11291&amp;oldid=prev"/>
		<updated>2025-11-28T16:42:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.requestScript |parameters = string scriptName |parameter1 = string scriptName Name of the script to request |usage = Requests a script to be loaded into memory so it can be started later |notes =  - Must be called before &lt;a href=&quot;/natives.startNewScript&quot; title=&quot;natives.startNewScript&quot;&gt;natives.startNewScript&lt;/a&gt; to ensure the script is available - If the script does not exist, the request will silently fail |return1 = void |returnFail1 = void |exampleJS = bind...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ScriptItem&lt;br /&gt;
|endpoint = client&lt;br /&gt;
|games = iv&lt;br /&gt;
|type = function&lt;br /&gt;
|name = natives.requestScript&lt;br /&gt;
|parameters = string scriptName&lt;br /&gt;
|parameter1 = string scriptName Name of the script to request&lt;br /&gt;
|usage = Requests a script to be loaded into memory so it can be started later&lt;br /&gt;
|notes = &lt;br /&gt;
- Must be called before [[natives.startNewScript]] to ensure the script is available&lt;br /&gt;
- If the script does not exist, the request will silently fail&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|exampleJS = bindEventHandler(&amp;quot;OnResourceReady&amp;quot;, thisResource, function() {&lt;br /&gt;
    // Request the &amp;quot;trafficControl&amp;quot; script&lt;br /&gt;
    natives.requestScript(&amp;quot;trafficControl&amp;quot;);&lt;br /&gt;
});&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>ChrisGame20</name></author>
	</entry>
</feed>