> For the complete documentation index, see [llms.txt](https://gscripts.gitbook.io/gscripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gscripts.gitbook.io/gscripts-docs/gs-citations/installation.md). Agents can also search and read this documentation through its [MCP server](https://gscripts.gitbook.io/gscripts-docs/~gitbook/mcp).

# Installation

#### 1. Download and extract

Purchase GS Citations through <https://gscripts.tebex.store/package/7718896> and download the processed FiveM Asset from the entitled Cfx account. Use a server licence key belonging to that account. An ordinary developer-source ZIP is not an Escrow-protected delivery.

The 0.6.7 archive may contain a folder named gs\_citations-0.6.7. Rename the extracted resource folder to gs\_citations before installation. Keep fxmanifest.lua, client.lua, server.lua, config.lua and .fxap together; do not omit the hidden .fxap file or place a second nested resource inside it. Keep the resource name gs\_citations on future updates: inventory exports and saved KVP records use that name.

#### 2. Choose your integration

ESX + ox\_inventory: leave Config.Framework/Config.Inventory on auto, or select 'esx' and 'ox\_inventory'. Register citbook\_pd, citbook\_sd, citbook\_sahp and citation using Inventory setup.

QBCore + qb-inventory: select 'qb' and 'qb-inventory', and register the same four items in qb-core/shared/items.lua. GS Citations registers their usable callbacks after startup. The adapter is included; live QBCore testing remains pending.

Standalone: use Config.Framework = 'standalone', Config.Inventory = 'none' and Config.PaymentMode = 'rp'. Grant the intended officers ACE access. The document wallet works without a physical inventory. Actual money transactions need a custom money adapter; standalone does not create bank accounts.

#### 3. Configure desks and agencies

Replace Config.Desks coordinates for your map/MLO. The point is the interaction position; Config.DeskPrompt.offset moves the prompt/target centre above it. Default desk interaction is 'text' (E); select 'ox\_target' for optional third eye.

Match Config.Jobs and each Config.CitationBooks profile to your real job names. Defaults: police uses citbook\_pd, sheriff uses citbook\_sd, highway uses citbook\_sahp. Grade 0 may issue/search/reprint; grade 3 may delete. Check duty rules and admin ACE overrides.

The release uses UK time ('Europe/London'), the real printed year, desk payments and a 30-day overdue deadline. Change those in config.lua if needed; the Configuration page explains each option.

#### 4. Start in the correct order

Example for an existing ESX + ox\_inventory server:

```cfg
ensure es_extended
ensure ox_inventory
# Optional integrations, when installed:
# ensure ox_target
# ensure rpemotes
ensure gs_citations
```

Keep the existing framework/inventory dependency order prescribed by those resources. If using offline character lookup, start the existing oxmysql before gs\_citations. No citation SQL table or SQL import is required.

After changing inventory/framework item definitions, perform a planned server restart. A gs\_citations-only restart does not necessarily reload the inventory item registry.

#### 5. Test before live use

1. Give an authorized police character citbook\_pd using your existing inventory admin tools.
2. Open the book and confirm the department. Test sheriff/highway books with their intended jobs too.
3. Write the exact recipient character name and issue a small payable fine.
4. Hand over the citation item through the inventory.
5. Have the named civilian open the configured desk and pay once.
6. Confirm one debit, removal from the active register and removal of that paper from the payer when enabled.
7. Confirm civilians cannot search other people's fines or delete them.
8. Test saved drafts, warning citations, your emote menu and the selected desk interaction.

#### Standalone ACE example

```cfg
add_ace group.admin gs_citations.officer allow
add_ace group.admin gs_citations.void allow
```

Attach groups to the intended principals through your existing permission system. Do not grant officer access to everyone.

#### Updating

Back up config.lua and FXServer server-data/db before replacing resource files. Preserve your agency names, item names, desk locations and other owner settings. KVP records belong to the gs\_citations resource name; changing the folder name is not a migration. Download updated protected files from the existing Cfx asset, retain .fxap and restart the resource after updating.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gscripts.gitbook.io/gscripts-docs/gs-citations/installation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
