Gameplay::clearAreaOfPeds: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Example: CLEAR_AREA_OF_PEDS(0, 0, 0, 10000, 1);
Example: CLEAR_AREA_OF_PEDS(0, 0, 0, 10000, 1);
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">gameplay.clearAreaOfPeds(x, y, z, radius, flags);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.gameplay.clearAreaOfPeds(x, y, z, radius, flags);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 12: Line 12:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Gameplay_function_c}}
{{Gameplay_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 10:00, 22 July 2024

Example: CLEAR_AREA_OF_PEDS(0, 0, 0, 10000, 1);

Syntax

mp.game.gameplay.clearAreaOfPeds(x, y, z, radius, flags);

Required Arguments

  • x: float
  • y: float
  • z: float
  • radius: float
  • flags: int

Return value

  • Undefined

Example

// todo

See also