Streaming::requestIpl: Difference between revisions

From RAGE Multiplayer Wiki
(Added a simple example)
m (Replaced HTML with template)
Line 2: Line 2:


List of IPLs: http://pastebin.com/FyV5mMma
List of IPLs: http://pastebin.com/FyV5mMma
==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.removeIpl("FIBlobbyfake");
mp.game.streaming.removeIpl("FIBlobbyfake");
</syntaxhighlight>
</pre>
</div>
}}
 
==See also==
==See also==
{{Streaming_s_function_c}}
{{Streaming_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]

Revision as of 13:05, 26 October 2018

Requests for the IPL to be loaded into the map

List of IPLs: http://pastebin.com/FyV5mMma

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.removeIpl("FIBlobbyfake");

See also

Template:Streaming s function c