Garry's Mod Wiki

Player:GetFriendStatus

  string Player:GetFriendStatus()

Description

Returns the steam "relationship" towards the player.

Returns

1 string
Should return one of four different things depending on their status on your friends list: "friend", "blocked", "none" or "requested".

Example

Prints the steam relationship towards another player

Output: "friend"