Streaming::requestIpl: Difference between revisions
(yay) |
MrPancakers (talk | contribs) (Added a simple example) |
||
| Line 1: | Line 1: | ||
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"> | ||
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]] | ||
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");