Zone::setZoneEnabled: Difference between revisions
(yay) |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">zone.setZoneEnabled(zoneId, toggle);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.zone.setZoneEnabled(zoneId, toggle);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''zoneId:''' int | *'''zoneId:''' int | ||
| Line 9: | Line 9: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Zone_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:Zone API]] | |||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 21:10, 11 May 2017
Syntax
mp.game.zone.setZoneEnabled(zoneId, toggle);
Required Arguments
- zoneId: int
- toggle: Boolean
Return value
- Undefined
Example
// todo