# GO FAST

<div><figure><img src="/files/PLmbkXtzJnIUjJfWJ9Hs" alt=""><figcaption></figcaption></figure> <figure><img src="/files/tlfqsmcmK9n2IAIaMov9" alt=""><figcaption></figcaption></figure></div>

### 📋 Description

GO FAST is an advanced FiveM script that allows players to participate in illegal delivery runs (gofast) using different types of vehicles: cars, boats, and planes. Players must load cargo boxes, avoid police, and deliver to the destination to earn dirty money.

### ✨ Features

#### 🚗 Vehicle Types

* **Cars**: Sultan RS, Kuruma, Elegy, Comet 2, Futo, and other sports vehicles
* **Boats**: Longfin, Seashark, Speeder, Squalo, and other watercraft
* **Planes**: Volatus, Maverick, Havok, Cuban 800, Dodo

#### 👮 Police System

* Minimum number of police officers required to start a mission
* Automatic notification to police when a gofast is launched
* GPS tracking system for law enforcement pursuit

#### 💰 Dynamic Rewards

* Base reward: $3500 - $7000
* Bonus based on number of boxes loaded (10% per box)
* Payment in dirty money (black\_money)

#### 🕐 Time Management

* 1-hour cooldown between each gofast
* Vehicle return timer (10 seconds)
* Timed mission system

### 🔧 Installation

#### Prerequisites

* ESX or QB-Core
* MySQL (for persistent data if needed)

#### Installation Steps

1. **Download the script** from [REX STUDIO Store](https://store.rex-studio.com/)
2. **Place the folder** `gofast` in your `resources` directory
3. **Add to server.cfg**:

```
ensure gofast
```

4. **Configuration**:
   * Modify `config/_main.lua` according to your needs
   * Adjust police jobs in `ConfigShared.JobsPolice`
   * Configure Discord webhook if desired

### ⚙️ Configuration

#### File `config/_main.lua`

```lua
ConfigShared = {}

-- Framework (ESX or QB-Core)
ConfigShared.Core = "ESX" -- "ESX" / "QB-Core"

-- Debug mode
ConfigShared.Debug = true -- Enable/disable debug logs

-- Discord webhook for logs
ConfigShared.Webhook = "" -- Leave empty to disable

-- Minimum number of police officers
ConfigShared.PoliceNeeded = 0

-- Jobs considered as police
ConfigShared.JobsPolice = { 'police', 'bcso' }

-- Cooldown between missions (1 hour)
ConfigShared.Cooldown = 60*1000*60

-- Time to get back in vehicle
ConfigShared.CooldownReturnToTheCar = 10
```

#### Zones and NPCs

The `config/zonePed.lua` file contains all gofast zones:

```lua
{
    pos = vector4(x, y, z, h), -- NPC position
    name = "NPC Name",
    modelPed = "ped_model",
    spawnVehicle = vector4(x, y, z, h), -- Vehicle spawn point
    spawnObject = vector3(x, y, z), -- Box spawn point
    finishPoint = vector3(x, y, z), -- Delivery point
    scenario = "SCENARIO_ANIMATION",
    type = "car" -- "car", "boat", or "plane"
}
```

#### Available Vehicles

Modify `config/vehicle.lua` to add or remove vehicles:

```lua
ConfigShared.Vehicle = {
    car = {
        'sultanrs',
        'kuruma',
        -- ... other vehicles
    },
    boat = {
        'longfin',
        'seashark',
        -- ... other boats
    },
    plane = {
        'volatus',
        'maverick',
        -- ... other planes
    }
}
```

### 🎮 Usage

#### For Players

1. **Approach an NPC** marked as "Informant" on the map
2. **Talk to the NPC** to accept the mission
3. **Pick up the vehicle** at the indicated point
4. **Load the boxes** into the vehicle
5. **Avoid police** and deliver to destination
6. **Receive your reward** in dirty money

#### For Police Officers

* Receive automatic notification when a gofast is launched
* Use the provided GPS to locate and intercept the vehicle

### 🔄 Mission Flow

1. **Initial Contact**: Dialogue with the informant
2. **Pickup**: Go get the vehicle
3. **Loading**: Load as many boxes as possible
4. **Delivery**: Drive to the delivery point
5. **Reward**: Receive money based on loaded boxes

### 📊 Logging System

#### Discord Webhook

Configure a Discord webhook to receive logs:

* **Mission Start**: Player, zone, ID
* **Mission Success**: Player, total reward, bonus

Discord embed format:

* Title: "Gofast"
* Color: Green
* Footer: "GOFAST"

### 📝 Important Notes

* The script uses escrow system to protect certain files
* Ensure police jobs are properly configured
* Coordinates may need adjustments based on your map
* The reward system is fully configurable

### 🔒 Security

* Built-in anti-cheat verification
* Detailed player action logs
* Protection against unauthorized server calls

***


---

# 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://rex-studio.gitbook.io/rex-studio-docs/fivem-script/go-fast.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.
