SET_PED_CAN_TELEPORT_TO_GROUP_LEADER
This only will teleport the ped to the group leader if the group leader teleports (sets coords).
Hash
0x2E2F4240B3F24647Runtime name
SetPedCanTeleportToGroupLeaderNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x2E2F4240B3F24647Signature
void SET_PED_CAN_TELEPORT_TO_GROUP_LEADER(Ped pedHandle, int groupId, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
pedHandle | Ped | — |
groupId | int | — |
toggle | BOOL | — |
Returns void
Description
This only will teleport the ped to the group leader if the group leader teleports (sets coords).
Only works in singleplayer
Usage
SetPedCanTeleportToGroupLeader(pedHandle, groupId, toggle)
-- always works, by hash
Citizen.InvokeNative(0x2E2F4240B3F24647, pedHandle, groupId, toggle)JavaScript and C#
SetPedCanTeleportToGroupLeader(pedHandle, groupId, toggle);
// by hash
Citizen.invokeNative('0x2E2F4240B3F24647', pedHandle, groupId, toggle);Function.Call((Hash)0x2E2F4240B3F24647, pedHandle, groupId, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.