RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. TASK_SMART_FLEE_PED

TASK_SMART_FLEE_PED

Makes a ped run away from another ped (fleeFromTarget) fleeDistance = ped will flee this distance fleeTime = ped will flee for this amount of time, set to "-1" to flee forever fleeType = see TASK_FLEE_COORD, can be 0, R* Scripts: fm_mission/race_controller: 66048; fme_escaped_convicts: 2260992, 2523136, 2359296; la_alligator/fox: 2097152; net_fetch: 17301536; net_stable_mount: 540928 fleeSpeed = mostly 3f, rarely 1f in R* Scripts

TASKBuild 1207

Signature

lua
TaskSmartFleePed(PlayerPedId(), fleeFromTarget, 0.0, 0, 0, 0.0, targetPed)
-- returns void

Parameters

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

Usage

lua
TaskSmartFleePed(PlayerPedId(), fleeFromTarget, 0.0, 0, 0, 0.0, targetPed)

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

Details

Hash
Joaat hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details