Pathfind::getNthClosestVehicleNodeId: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
Returns the id. | Returns the id. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">pathfind.getNthClosestVehicleNodeId(x, y, z, nth, nodetype, p5, p6);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.pathfind.getNthClosestVehicleNodeId(x, y, z, nth, nodetype, p5, p6);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''x:''' float | *'''x:''' float | ||
| Line 14: | Line 14: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Pathfind_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 21:28, 6 May 2017
Returns the id.
Syntax
mp.game.pathfind.getNthClosestVehicleNodeId(x, y, z, nth, nodetype, p5, p6);
Required Arguments
- x: float
- y: float
- z: float
- nth: int
- nodetype: int
- p5: float
- p6: float
Return value
- int
Example
// todo