Clanbite Since 1.6.5

clanbite_players_get_friend_ids( int $user_id ): int[]

The accepted friends of a player.

Parameters

$user_id (int) Required

Player user ID.

Returns

int[] Friend user IDs (empty when friendships are not available).

Defined in inc/extensions/players/functions.php

Changelog

VersionDescription
1.6.5Introduced.