> For the complete documentation index, see [llms.txt](https://identix.rlib.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://identix.rlib.io/developers/hooks/identix_pl_profile_rate.md).

# identix\_pl\_profile\_rate

`identix_pl_profile_rate(`[**ᵖˡᵃʸᵉʳ**](https://wiki.facepunch.com/gmod/player) target, [**ᵖˡᵃʸᵉʳ**](https://wiki.facepunch.com/gmod/player) rater`)`

## ▸ Parameters

&#x20;   ***`ply`***       *`target`*\
&#x20;                      player being rated

&#x20;   ***`ply`***       *`rater`*\
&#x20;                      player rating

## ▸ Description

&#x20;      Runs when player rates another player

## ▸ Example

{% tabs %}
{% tab title="Example 1" %}

```lua
local function your_hook( targ, rater )

    // your custom hook function here

end
hook.Add( 'identix_pl_profile_rate', 'your_hook_id', your_hook )
```

{% endtab %}

{% tab title="Example 2" %}

```
hook.Add( 'identix_pl_profile_rate', 'your_hook_id', function( targ, rater )

    // your custom hook function here

end )
```

{% endtab %}

{% tab title="Example 3" %}

```lua
local function your_hook( targ, rater )

    // your custom hook function here

end
rhook.new.rlib( 'identix_pl_profile_rate', 'your_hook_id', your_hook )
```

{% endtab %}
{% endtabs %}
