Gameplay::clearAreaOfObjects: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
I looked through the PC scripts that this site provides you with a link to find. It shows the last param mainly uses, (0, 2, 6, 16, and 17) so I am going to assume it is a type of flag. | I looked through the PC scripts that this site provides you with a link to find. It shows the last param mainly uses, (0, 2, 6, 16, and 17) so I am going to assume it is a type of flag. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">gameplay.clearAreaOfObjects(x, y, z, radius, flags);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.gameplay.clearAreaOfObjects(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_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Revision as of 21:12, 6 May 2017
I looked through the PC scripts that this site provides you with a link to find. It shows the last param mainly uses, (0, 2, 6, 16, and 17) so I am going to assume it is a type of flag.
Syntax
mp.game.gameplay.clearAreaOfObjects(x, y, z, radius, flags);
Required Arguments
- x: float
- y: float
- z: float
- radius: float
- flags: int
Return value
- Undefined
Example
// todo