RedM Natives

SET_PED_TARGET_LOSS_RESPONSE

TLR_NeverLoseTarget, TLR_SearchForTarget

Hash0x0703B9079823DA4A
Runtime nameSetPedTargetLossResponse
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x0703B9079823DA4A

Signature

void SET_PED_TARGET_LOSS_RESPONSE(Ped ped, int responseType);

Parameters

NameTypeDescription
pedPed—
responseTypeint—

Returns void

Description

TLR_ExitTask = 0,
TLR_NeverLoseTarget,
TLR_SearchForTarget

Usage

Lua
SetPedTargetLossResponse(ped, responseType)

-- always works, by hash
Citizen.InvokeNative(0x0703B9079823DA4A, ped, responseType)
JavaScript and C#
JavaScript
SetPedTargetLossResponse(ped, responseType);

// by hash
Citizen.invokeNative('0x0703B9079823DA4A', ped, responseType);
C#
Function.Call((Hash)0x0703B9079823DA4A, ped, responseType);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.