World::removeIpl: Difference between revisions
(Created page with "'''Function''': Remove an IPL and sync it to every client. ==Example== {{ServerSide}} <syntaxhighlight lang="javascript"> mp.world.requestIpl("gr_case10_bunkerclosed"); </syn...") |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
__TOC__ | |||
{{ServersideJsFunction}} | |||
This function remove an IPL and sync it to every client | |||
{{JSContainer| | |||
== Syntax == | |||
<pre>mp.world.removeIpl(ipl);</pre> | |||
== Required Arguments == | |||
* {{Required}}'''ipl''': {{RageType|String}} ([[Interiors_and_Locations|IPLs]]) | |||
==Example== | ==Example== | ||
{{ | {{ServersideCode| | ||
< | <pre> | ||
mp.world. | mp.world.removeIpl("gr_case10_bunkerclosed"); // THIS REMOVES THE BUNKER ENTRANCE NEAR ZANCUDO. POSITION: (-3058.714, 3329.19, 12.5844) | ||
</pre> | |||
}} | |||
}} | |||
==See Also== | |||
{{World_definition}} | |||
Latest revision as of 08:55, 7 December 2019
Server-Side Function
This function remove an IPL and sync it to every client
JavaScript Syntax
Syntax
mp.world.removeIpl(ipl);
Required Arguments
- *ipl: String (IPLs)
Example
Server-Side
mp.world.removeIpl("gr_case10_bunkerclosed"); // THIS REMOVES THE BUNKER ENTRANCE NEAR ZANCUDO. POSITION: (-3058.714, 3329.19, 12.5844)