# 4 in Row Script

## **Overview**

Bring the  4 in Row experience to your FiveM server with this script. Players can place a custom table prop on the ground, challenge a friend (or a bot), and compete in a friendly match with a built-in scoreboard.

## **Key Highlights**

* **Custom Table Prop:** Easily place a table in the world via command or item usage.
* **Multiplayer or Bot Mode:** Play against a friend or invite the bot.
* **Scoreboard & Win Tracking:** Records player wins, supports Discord integration (avatars, etc.).
* **ESX & QBCore Compatibility:** Auto-detect or manually configure your framework.
* **Optimized & Immersive:** Real-time board updates, win animations, and in-world interactions.

## <mark style="color:yellow;">**Preview Video**</mark>

{% embed url="<https://youtu.be/k_jkPv7Nnls>" %}


---

# Agent Instructions: 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://risk-scripts.gitbook.io/risk-scripts/scripts/4-in-row-script.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.
