TASK

TASK_SMART_FLEE_PED

0x22B0D0E37CCB840D Jenkins: 0xE52EB560

Signature

// TASK
void TASK_SMART_FLEE_PED(Ped ped, Ped fleeTarget, float safeDistance, int fleeTime, BOOL perferPavements, BOOL updateToNearestHatedPed)

Parameters

Type Name
Ped ped
Ped fleeTarget
float safeDistance
int fleeTime
BOOL perferPavements
BOOL updateToNearestHatedPed

Return type void

Build 323

Documentation

Makes a ped run away from another ped (fleeTarget). distance = ped will flee this distance. fleeTime = ped will flee for this amount of time, set to "-1" to flee forever

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.