mp.friendsawait mp.friends.list(playerToken)
Returns the player's friend list with presence.
await mp.friends.lookup(playerToken, playerTag)
Finds a player by Name#tag — the string shown at registration.
await mp.friends.request(playerToken, { playerTag?, playerId? })
Sends a friend request by tag or id.
await mp.friends.accept(playerToken, playerId)
await mp.friends.decline(playerToken, playerId)
await mp.friends.remove(playerToken, playerId)
Answer incoming requests and manage the list.
await mp.friends.steam(playerToken, steamIds)
Imports Steam friends — array of SteamID64 strings; matches players who registered with Steam.
await mp.friends.invite(playerToken, playerId)
await mp.friends.invites(playerToken)
Sends a game/room invite; lists pending invites.
await mp.friends.acceptInvite(playerToken, inviteId)
await mp.friends.declineInvite(playerToken, inviteId)
Answers an invite by its invite_id.