Streaming::requestIpl: Difference between revisions

From RAGE Multiplayer Wiki
(Added a simple example)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Requests for the IPL to be loaded into the map
Requests for the IPL to be loaded into the map


List of IPLs: http://pastebin.com/FyV5mMma
List of IPLs: http://pastebin.com/FyV5mMma or https://wiki.rage.mp/index.php?title=Interiors_and_Locations
 
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.streaming.requestIpl(iplName);</syntaxhighlight>
<pre>
mp.game.streaming.requestIpl(iplName);
</pre>
 
=== Required Arguments ===
=== Required Arguments ===
*'''iplName:''' String
*'''iplName:''' String
===Return value===
===Return value===
*'''Undefined'''
*'''Undefined'''
==Example==
==Example==
Loads the FIB interior so it can be accessed.
Loads the FIB interior so it can be accessed.


<div class="header" style="background-color: #AE4040; color: #FFFFFF; border: 2px solid #AE4040;">
{{ClientsideCode|
<div style="margin: 10px 10px 10px 10px;"><b>Client-Side</b></div>
<pre>
<syntaxhighlight lang="javascript">
mp.game.streaming.requestIpl("FIBlobbyfake");
mp.game.streaming.removeIpl("FIBlobbyfake");
</pre>
</syntaxhighlight>
}}
</div>
 
==See also==
==See also==
{{Streaming_s_function_c}}
{{Streaming_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]

Latest revision as of 03:32, 27 May 2024

Requests for the IPL to be loaded into the map

List of IPLs: http://pastebin.com/FyV5mMma or https://wiki.rage.mp/index.php?title=Interiors_and_Locations

Syntax

mp.game.streaming.requestIpl(iplName);

Required Arguments

  • iplName: String

Return value

  • Undefined

Example

Loads the FIB interior so it can be accessed.

Client-Side
mp.game.streaming.requestIpl("FIBlobbyfake");

See also