The Lab
PLAYER native

_REMOVE_PLAYER_AS_FOLLOW_TARGET

returns void2 paramsbuild 1207

Stops ped from following player.

Signature

C
void _REMOVE_PLAYER_AS_FOLLOW_TARGET(Player player, Ped ped); // 0x0C6B89876262A99D b1207

Parameters

#NameType
1playerPlayer
2pedPed

Facts

Facts about _REMOVE_PLAYER_AS_FOLLOW_TARGET
Name
_REMOVE_PLAYER_AS_FOLLOW_TARGET
Hash
0x0C6B89876262A99D
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(0x0C6B89876262A99D, -- _REMOVE_PLAYER_AS_FOLLOW_TARGET
  PlayerId(), -- Player player
  PlayerPedId() -- Ped ped
)
JavaScript
Citizen.invokeNative("0x0C6B89876262A99D", // _REMOVE_PLAYER_AS_FOLLOW_TARGET
  PlayerId(), // Player player
  PlayerPedId() // Ped ped
);
C#
Function.Call((Hash)0x0C6B89876262A99D, // _REMOVE_PLAYER_AS_FOLLOW_TARGET
  API.PlayerId(), // Player player
  API.PlayerPedId() // Ped ped
);
All PLAYER natives

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