The Lab
PED native

SET_PED_TO_INFORM_RESPECTED_FRIENDS

returns void3 paramsbuild 1207

Makes ped alert up to maxFriends respected friends within radius when it is attacked.

Signature

C
void SET_PED_TO_INFORM_RESPECTED_FRIENDS(Ped ped, float radius, int maxFriends); // 0x112942C6E708F70B b1207

Parameters

#NameType
1pedPed
2radiusfloat
3maxFriendsint

Facts

Facts about SET_PED_TO_INFORM_RESPECTED_FRIENDS
Name
SET_PED_TO_INFORM_RESPECTED_FRIENDS
Hash
0x112942C6E708F70B
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x112942C6E708F70B, -- SET_PED_TO_INFORM_RESPECTED_FRIENDS
  PlayerPedId(), -- Ped ped
  0.0, -- float radius
  0 -- int maxFriends
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x112942C6E708F70B", // SET_PED_TO_INFORM_RESPECTED_FRIENDS
  PlayerPedId(), // Ped ped
  0.0, // float radius
  0 // int maxFriends
);
C#
Function.Call((Hash)0x112942C6E708F70B, // SET_PED_TO_INFORM_RESPECTED_FRIENDS
  API.PlayerPedId(), // Ped ped
  0.0f, // float radius
  0 // int maxFriends
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.