World::requireIpl: Difference between revisions
No edit summary |
KirillZver (talk | contribs) No edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__TOC__ | |||
{{ServersideJsFunction}} | |||
This function require an IPL and sync it to every client. | This function require an IPL and sync it to every client. | ||
{{JSContainer| | |||
== Syntax == | |||
<pre>mp.world.requestIpl(ipl);</pre> | |||
== Required Arguments == | |||
* {{Required}}'''ipl''': {{RageType|String}} ([[Interiors_and_Locations|IPLs]]) | |||
==Example== | ==Example== | ||
< | {{ServersideCode| | ||
<pre> | |||
mp.world.requestIpl("gr_case10_bunkerclosed"); // THIS ADDS THE BUNKER ENTRANCE NEAR ZANCUDO. POSITION: (-3058.714, 3329.19, 12.5844) | mp.world.requestIpl("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}} | ||
Latest revision as of 20:03, 30 October 2020
Server-Side Function
This function require an IPL and sync it to every client.
JavaScript Syntax
Syntax
mp.world.requestIpl(ipl);
Required Arguments
- *ipl: String (IPLs)
Example
Server-Side
mp.world.requestIpl("gr_case10_bunkerclosed"); // THIS ADDS THE BUNKER ENTRANCE NEAR ZANCUDO. POSITION: (-3058.714, 3329.19, 12.5844)