> For the complete documentation index, see [llms.txt](https://docs.av-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.av-scripts.com/guides/vehicleshop/hud.md).

# HUD

> This event gets triggered when a player enters/leaves a vehicleshop, use it in your own script to hide/show your HUD.

```lua
RegisterNetEvent('av_vehicleshop:state', function(state)
    if state then
        -- Hide your HUD
        
    else
        -- Show your HUD
    
    end
end)
```

{% hint style="warning" %}
I don't know what HUD script are you using, ask the person who create it what export or function you can trigger to show/hide it.
{% endhint %}
