The Lab
NETWORK native

_NETWORK_REMOVE_FRIEND

returns BOOL1 parambuild 1207

Removes the gamer from the friend list. Returns true on success.

Signature

C
BOOL _NETWORK_REMOVE_FRIEND(Any* gamerHandle); // 0x55F618F68AB854D3 b1207

Parameters

#NameType
1gamerHandleAny* (out pointer)

Facts

Facts about _NETWORK_REMOVE_FRIEND
Name
_NETWORK_REMOVE_FRIEND
Hash
0x55F618F68AB854D3
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result, gamerHandle = Citizen.InvokeNative(0x55F618F68AB854D3, -- _NETWORK_REMOVE_FRIEND
  Citizen.PointerValueInt(), -- Any* gamerHandle
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, gamerHandle] = Citizen.invokeNative("0x55F618F68AB854D3", // _NETWORK_REMOVE_FRIEND
  Citizen.pointerValueInt(), // Any* gamerHandle
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var gamerHandleArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x55F618F68AB854D3, // _NETWORK_REMOVE_FRIEND
  gamerHandleArg // Any* gamerHandle
);
int gamerHandle = gamerHandleArg.GetResult<int>();
All NETWORK natives

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