RedM Natives

SET_PED_CAN_BE_TARGETTED

Hash0x63F58F7C80513AAD
Runtime nameSetPedCanBeTargetted
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x63F58F7C80513AAD

Signature

void SET_PED_CAN_BE_TARGETTED(Ped ped, BOOL toggle);

Parameters

NameTypeDescription
pedPed—
toggleBOOL—

Returns void

Usage

Lua
SetPedCanBeTargetted(ped, toggle)

-- always works, by hash
Citizen.InvokeNative(0x63F58F7C80513AAD, ped, toggle)
JavaScript and C#
JavaScript
SetPedCanBeTargetted(ped, toggle);

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

Sources

alloc8or RDR3 NativeDB

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