Garry's Mod Wiki

Player:GetFriendStatus

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

print( Entity( 1 ):GetFriendStatus() )
Output: "friend"

Special Pages


Wikis

?

Render Time: 24ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 7