Streaming::requestIpl: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(Added a simple example)
Line 1: Line 1:
Exemple: REQUEST_IPL('TrevorsTrailerTrash');<br><br>IPL + Coords: http://pastebin.com/FyV5mMma
Requests for the IPL to be loaded into the map
 
List of IPLs: http://pastebin.com/FyV5mMma
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.streaming.requestIpl(iplName);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.streaming.requestIpl(iplName);</syntaxhighlight>
Line 7: Line 9:
*'''Undefined'''
*'''Undefined'''
==Example==
==Example==
Loads the FIB interior so it can be accessed.
<div class="header" style="background-color: #AE4040; color: #FFFFFF; border: 2px solid #AE4040;">
<div style="margin: 10px 10px 10px 10px;"><b>Client-Side</b></div>
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
// todo
mp.game.streaming.removeIpl("FIBlobbyfake");
</syntaxhighlight>
</syntaxhighlight>
</div>
==See also==
==See also==
{{Streaming_s_function_c}}
{{Streaming_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]

Revision as of 04:42, 16 June 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