Declaration
func IsFriend(target entity<Player>) bool
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | Player | Target Player |
Return
| Type | Description |
|---|---|
| Bool | Whether the current client is a friend |
Determine the friend relationship between the target player and the current client player. The current client itself is not a friend of the current client.
func IsFriend(target entity<Player>) bool
go
| Name | Type | Description |
|---|---|---|
| Target | Player | Target Player |
| Type | Description |
|---|---|
| Bool | Whether the current client is a friend |