RedM Natives

SET_PED_CAN_BE_TARGETTED_BY_TEAM

Hash0xBF1CA77833E58F2C
Runtime nameSetPedCanBeTargettedByTeam
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xBF1CA77833E58F2C

Signature

void SET_PED_CAN_BE_TARGETTED_BY_TEAM(Ped ped, int team, BOOL toggle);

Parameters

NameTypeDescription
pedPed—
teamint—
toggleBOOL—

Returns void

Usage

Lua
SetPedCanBeTargettedByTeam(ped, team, toggle)

-- always works, by hash
Citizen.InvokeNative(0xBF1CA77833E58F2C, ped, team, toggle)
JavaScript and C#
JavaScript
SetPedCanBeTargettedByTeam(ped, team, toggle);

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

Sources

alloc8or RDR3 NativeDB

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