Pathfind::getNthClosestVehicleNodeIdWithHeading: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
==Syntax==<syntaxhighlight lang="javascript">pathfind.getNthClosestVehicleNodeIdWithHeading(x, y, z, nthClosest, outPosition, outHeading, p6, p7, p8);</syntaxhighlight>=== Required Arguments ===*'''x:''' float*'''y:''' float*'''z:''' float*'''nthClosest:''' int*'''outPosition:''' Vector3*'''outHeading:''' float*'''p6:''' unknown (to be checked)*'''p7:''' float*'''p8:''' float===Return value===*'''Vector3'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{ | |||
==Syntax== | |||
<syntaxhighlight lang="javascript">mp.game.pathfind.getNthClosestVehicleNodeIdWithHeading(x, y, z, nthClosest, outPosition, outHeading, p6, p7, p8);</syntaxhighlight> | |||
=== Required Arguments === | |||
*'''x:''' float | |||
*'''y:''' float | |||
*'''z:''' float | |||
*'''nthClosest:''' int | |||
*'''outPosition:''' Vector3 | |||
*'''outHeading:''' float | |||
*'''p6:''' unknown (to be checked) | |||
*'''p7:''' float | |||
*'''p8:''' float | |||
===Return value=== | |||
*'''Vector3''' | |||
==Example== | |||
<syntaxhighlight lang="javascript"> | |||
// todo | |||
</syntaxhighlight> | |||
==See also== | |||
{{Pathfind_s_function_c}} | |||
[[Category:Clientside API]] | |||
[[Category:TODO: Example]] | |||
Latest revision as of 21:28, 6 May 2017
Syntax
mp.game.pathfind.getNthClosestVehicleNodeIdWithHeading(x, y, z, nthClosest, outPosition, outHeading, p6, p7, p8);
Required Arguments
- x: float
- y: float
- z: float
- nthClosest: int
- outPosition: Vector3
- outHeading: float
- p6: unknown (to be checked)
- p7: float
- p8: float
Return value
- Vector3
Example
// todo