SET_PED_CAN_TELEPORT_TO_GROUP_LEADER
Controls whether pedHandle can teleport to the leader of groupId when it falls too far behind.
Signature
void SET_PED_CAN_TELEPORT_TO_GROUP_LEADER(Ped pedHandle, int groupId, BOOL toggle); // 0x2E2F4240B3F24647 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | pedHandle | Ped |
| 2 | groupId | int |
| 3 | toggle | BOOL |
Facts
| Name | SET_PED_CAN_TELEPORT_TO_GROUP_LEADER |
|---|---|
| Hash | 0x2E2F4240B3F24647 |
| 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(0x2E2F4240B3F24647, -- SET_PED_CAN_TELEPORT_TO_GROUP_LEADER
PlayerPedId(), -- Ped pedHandle
0, -- int groupId
false -- BOOL toggle
)Citizen.invokeNative("0x2E2F4240B3F24647", // SET_PED_CAN_TELEPORT_TO_GROUP_LEADER
PlayerPedId(), // Ped pedHandle
0, // int groupId
false // BOOL toggle
);Function.Call((Hash)0x2E2F4240B3F24647, // SET_PED_CAN_TELEPORT_TO_GROUP_LEADER
API.PlayerPedId(), // Ped pedHandle
0, // int groupId
false // BOOL toggle
);Related PED natives
- SET_PED_AS_GROUP_LEADER
- SET_PED_CAN_TORSO_IK
- SET_PED_CAN_TORSO_REACT_IK
- SET_PED_CAN_TORSO_VEHICLE_IK
- SET_PED_CAN_ARM_IK
- SET_PED_CAN_BE_INCAPACITATED
- SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE
- SET_PED_CAN_BE_TARGETTED
- SET_PED_CAN_BE_TARGETTED_BY_PLAYER
- SET_PED_CAN_BE_TARGETTED_BY_TEAM
- SET_PED_CAN_HEAD_IK
- SET_PED_CAN_LEG_IK
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.