SET_PED_TO_INFORM_RESPECTED_FRIENDS
Makes ped alert up to maxFriends respected friends within radius when it is attacked.
Signature
void SET_PED_TO_INFORM_RESPECTED_FRIENDS(Ped ped, float radius, int maxFriends); // 0x112942C6E708F70B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | radius | float |
| 3 | maxFriends | int |
Facts
| 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.
Citizen.InvokeNative(0x112942C6E708F70B, -- SET_PED_TO_INFORM_RESPECTED_FRIENDS
PlayerPedId(), -- Ped ped
0.0, -- float radius
0 -- int maxFriends
)// 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
);Function.Call((Hash)0x112942C6E708F70B, // SET_PED_TO_INFORM_RESPECTED_FRIENDS
API.PlayerPedId(), // Ped ped
0.0f, // float radius
0 // int maxFriends
);Related PED natives
- SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
- SET_PED_TO_RAGDOLL
- SET_PED_TO_RAGDOLL_WITH_FALL
- SET_PED_CAN_TELEPORT_TO_GROUP_LEADER
- SET_PED_TARGET_LOSS_RESPONSE
- _SET_PED_DEFENSIVE_AREA_TO_ANGLED_AREA
- _SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY
- _SET_PED_TO_BE_REMOVED
- _SET_PED_TO_DISABLE_RAGDOLL
- SET_PED_ACCURACY
- SET_PED_AS_COP
- SET_PED_AS_GROUP_LEADER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.