> For the complete documentation index, see [llms.txt](https://finalz-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://finalz-scripts.gitbook.io/docs/finalz-paid/finalz-dashboard/exports.md).

# exports

## getVip - The first one is for getting player VIP status

```lua
local xPlayer = ESX.GetPlayerFromId(source)
local vip = exports.fz_dashboard:getVip(xPlayer) -- YOU NEED TO GIVE AN XPLAYER
--Returned content if the player has VIP
--  { rank, title, endDate , canAccessExc  -- String, string, timestamp, boolean
-- If the player doesn't have VIP
-- nil
if vip ~= nil then
    print("This is the rank id " ..vip.rank)
    print("This is the title(label):  ".. vip.title)
    print("It ends on: " ..vip.endDate)
    if vip.canAccessExc then
        print("The player has access to the VIP shop")
    else
        print("The player doesn't have access to the VIP shop")
else
    print("The player doesn't have a VIP")    
end
```

## generatePlate - This generates plate in the format you setted in the dashboard.&#x20;

```lua
local plate = exports.fz_dashboard:GeneratePlate

print("The generated plate is: " .. plate) -- It never gives an already existing plate.

```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://finalz-scripts.gitbook.io/docs/finalz-paid/finalz-dashboard/exports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
