Pathfind::getRandomVehicleNode: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
==Syntax==<syntaxhighlight lang="javascript">pathfind.getRandomVehicleNode(x, y, z, radius, p4, p5, p6, outPosition, heading);</syntaxhighlight>=== Required Arguments ===*'''x:''' float*'''y:''' float*'''z:''' float*'''radius:''' float*'''p4:''' Boolean*'''p5:''' Boolean*'''p6:''' Boolean*'''outPosition:''' Vector3*'''heading:''' float===Return value===*'''object:''' outPosition, heading==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{ | |||
==Syntax== | |||
<syntaxhighlight lang="javascript">mp.game.pathfind.getRandomVehicleNode(x, y, z, radius, p4, p5, p6, outPosition, heading);</syntaxhighlight> | |||
=== Required Arguments === | |||
*'''x:''' float | |||
*'''y:''' float | |||
*'''z:''' float | |||
*'''radius:''' float | |||
*'''p4:''' Boolean | |||
*'''p5:''' Boolean | |||
*'''p6:''' Boolean | |||
*'''outPosition:''' Vector3 | |||
*'''heading:''' float | |||
===Return value=== | |||
*'''object:''' outPosition, heading | |||
==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.getRandomVehicleNode(x, y, z, radius, p4, p5, p6, outPosition, heading);
Required Arguments
- x: float
- y: float
- z: float
- radius: float
- p4: Boolean
- p5: Boolean
- p6: Boolean
- outPosition: Vector3
- heading: float
Return value
- object: outPosition, heading
Example
// todo