> For the complete documentation index, see [llms.txt](https://hrscripts.gitbook.io/hrscripts-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hrscripts.gitbook.io/hrscripts-documentation/resources/hradminmenu/events.md).

# Events

### openMenu

Open the admin menu for the current/focused player

```lua
TriggerEvent('HRAdminMenu:openMenu') -- Client side
TriggerClientEvent('HRAdminMenu:openMenu', playerId: integer) -- Server Side
```

### closeMenu

Close the admin menu for the current/focused player

```lua
TriggerEvent('HRAdminMenu:closeMenu') -- Client side
TriggerClientEvent('HRAdminMenu:closeMenu', playerId: integer) -- Server Side
```
