Gameplay::clearArea: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Example: CLEAR_AREA(0, 0, 0, 30, true, false, false, false);
Example: CLEAR_AREA(0, 0, 0, 30, true, false, false, false);
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">gameplay.clearArea(X, Y, Z, radius, p4, ignoreCopCars, ignoreObjects, p7);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.gameplay.clearArea(X, Y, Z, radius, p4, ignoreCopCars, ignoreObjects, p7);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''X:''' float
*'''X:''' float
Line 15: Line 15:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Gameplay_function_c}}
{{Gameplay_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:07, 6 May 2017

Example: CLEAR_AREA(0, 0, 0, 30, true, false, false, false);

Syntax

mp.game.gameplay.clearArea(X, Y, Z, radius, p4, ignoreCopCars, ignoreObjects, p7);

Required Arguments

  • X: float
  • Y: float
  • Z: float
  • radius: float
  • p4: Boolean
  • ignoreCopCars: Boolean
  • ignoreObjects: Boolean
  • p7: Boolean

Return value

  • Undefined

Example

// todo

See also

Template:Gameplay s function c