RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. NAVMESH_REQUEST_PATH

NAVMESH_REQUEST_PATH

Starts a nav mesh query for a path between coordinates with a given ped and returns a handle to be validated by _NAVMESH_REQUESTED_QUERY_STATUS and then _NAVMESH_REQUESTED_PATH_WAYPOINTS_FOUND Only bit flag values used in scripts are 0, 23, and 29. 23 is used with dogs and horses. 29 with legendary animals.

PATHFINDBuild 1207

Signature

lua
NavmeshRequestPath(PlayerPedId(), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0)
-- returns int

Parameters

NameTypeDescription
Ped—
float—
float—
float—
float—
float—
float—
int—

Usage

lua
NavmeshRequestPath(PlayerPedId(), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details