> 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/untitled.md).

# identix\_pl\_authenticate

`identix_pl_authenticate(` [**ᵖˡᵃʸᵉʳ**](https://wiki.facepunch.com/gmod/player) pl `)`

## ▸ Parameters

&#x20;   ***`ply`***       *`pl`*\
&#x20;                      player object

## ▸ Description

&#x20;      Runs when player joins server

## ▸ Example

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

```lua
local function your_hook( pl )

    // your custom hook function here

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

{% endtab %}

{% tab title="Example 2" %}

```lua
hook.Add( 'identix_pl_authenticate', 'your_hook_id', function( pl )

    // your custom hook function here

end )
```

{% endtab %}

{% tab title="Example 3" %}

```lua
local function your_hook( pl )

    // your custom hook function here

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

{% endtab %}
{% endtabs %}
