Object::doesObjectOfTypeExistAtCoords: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
p5 is usually 0.
p5 is usually 0.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">object.doesObjectOfTypeExistAtCoords(x, y, z, radius, hash, p5);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.object.doesObjectOfTypeExistAtCoords(x, y, z, radius, hash, p5);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 13: Line 13:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Object_function_c}}
{{Object_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:28, 6 May 2017

p5 is usually 0.

Syntax

mp.game.object.doesObjectOfTypeExistAtCoords(x, y, z, radius, hash, p5);

Required Arguments

  • x: float
  • y: float
  • z: float
  • radius: float
  • hash: Model hash or name
  • p5: Boolean

Return value

  • Boolean

Example

// todo

See also

  • [[Object::disableGlow|mp.game.object.disableGlow