Object::isObjectNearPoint: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">object.isObjectNearPoint(objectHash, x, y, z, range);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.object.isObjectNearPoint(objectHash, x, y, z, range);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''objectHash:''' Model hash or name
*'''objectHash:''' Model hash or name
Line 12: Line 12:
==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

Syntax

mp.game.object.isObjectNearPoint(objectHash, x, y, z, range);

Required Arguments

  • objectHash: Model hash or name
  • x: float
  • y: float
  • z: float
  • range: float

Return value

  • Boolean

Example

// todo

See also

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