Streaming::requestIpl: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(6 intermediate revisions by 4 users not shown)
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 or https://wiki.rage.mp/index.php?title=Interiors_and_Locations
 
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">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==
<syntaxhighlight lang="javascript">
Loads the FIB interior so it can be accessed.
todo
 
</syntaxhighlight>
{{ClientsideCode|
<pre>
mp.game.streaming.requestIpl("FIBlobbyfake");
</pre>
}}
 
==See also==
==See also==
{{Streaming_function_c}}
{{Streaming_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]

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