World::requireIpl: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__TOC__
 
{{ServersideJsFunction}}
 
This function require an IPL and sync it to every client.
This function require an IPL and sync it to every client.


IPL`s: [https://wiki.rage.mp/index.php?title=IPLs link]
{{JSContainer|
== Syntax ==
<pre>mp.world.requireIpl(ipl);</pre>
 
== Required Arguments ==
* {{Required}}'''ipl''': {{RageType|String}} ([[Interiors_and_Locations|IPLs]])


==Example==
==Example==
<syntaxhighlight lang="javascript">
{{ServersideCode|
mp.world.requestIpl("gr_case10_bunkerclosed"); // THIS ADDS THE BUNKER ENTRANCE NEAR ZANCUDO. POSITION: (-3058.714, 3329.19, 12.5844)
<pre>
</syntaxhighlight>
mp.world.requireIpl("gr_case10_bunkerclosed"); // THIS ADDS THE BUNKER ENTRANCE NEAR ZANCUDO. POSITION: (-3058.714, 3329.19, 12.5844)
</pre>
}}
}}


==See Also==
==See Also==
{{World_definition}}
{{World_definition}}

Revision as of 08:57, 7 December 2019

Server-Side
Function

 JavaScript



This function require an IPL and sync it to every client.

JavaScript Syntax

Syntax

mp.world.requireIpl(ipl);

Required Arguments

Example

Server-Side
mp.world.requireIpl("gr_case10_bunkerclosed"); // THIS ADDS THE BUNKER ENTRANCE NEAR ZANCUDO. POSITION: (-3058.714, 3329.19, 12.5844)


See Also