Zone::setZoneEnabled: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
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_function_c}}
{{Zone_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:35, 6 May 2017

Syntax

mp.game.zone.setZoneEnabled(zoneId, toggle);

Required Arguments

  • zoneId: int
  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also

Template:Zone s function c