crg-logistic

🚚 Logistic Delivery Job System

A fully customizable, immersive, and optimized delivery mission system for roleplay servers. Players pick up a truck, attach a trailer, follow checkpoints, and get rewarded based on mission success.


📁 Configuration Overview

This script uses two main configuration files:

  • main.lua (Config) — mission routes, vehicles, rewards, ped model, blips

  • localization.lua — all text shown to players


🌍 Localization

Below are all localization strings used in the system: localization

Key
Text

job_start

Start a delivery job

job_end

End current job

job_blip

Logistic

truck_blip

Truck

trailer_blip

Trailer

checkpoint_blip

Checkpoint

msg_get_truck

Get in the truck.

msg_get_trailer

Attach the trailer.

msg_follow_checkpoints

Follow checkpoints to complete delivery.

msg_truck_destroyed

Truck has been destroyed!

msg_trailer_destroyed

Trailer has been destroyed!

msg_left_truck_behind

You left the truck behind you!

msg_left_trailer_behind

You left the trailer behind you!

msg_mission_end

Delivery completed successfully!

ntf_mission_success

Earned Money

ntf_mission_failed

Lost Money


⚙️ Main Configuration

Below is the core configuration that controls mission behavior, vehicles, checkpoints, and rewards: main

🔧 General Settings

Setting
Description

boss_ped

Ped model used to start and stop delivery jobs

blip_code

Blip icon for mission locations

blip_color

Blip color

Destinations

All delivery routes and mission data


📦 Delivery Missions

Each mission includes:

  • Success reward

  • Failure penalty

  • Truck & trailer models

  • Vehicle spawn positions

  • Checkpoint route

Below are all missions included in the default configuration:


1️⃣ Delivery Route — Hauler + Tanker

Setting
Value

Success Earnings

500

Failed Penalty

250

Truck

hauler

Trailer

tanker

Truck Spawn

vector4(1189.61, -3104.07, 5.77, 0)

Trailer Spawn

vector4(1273.3, -3097.69, 5.9, 90)

🟡 Checkpoints


2️⃣ Delivery Route — Phantom + Trailers

Setting
Value

Success Earnings

500

Failed Penalty

250

Truck

phantom

Trailer

trailers

🟡 Checkpoints


3️⃣ Delivery Route — Phantom + TR4 (Car Trailer)

🟡 Checkpoints


4️⃣ Delivery Route — Bison + Small Trailer

🟡 Checkpoints


🎮 Gameplay Flow

1️⃣ Start the Job

The player interacts with the logistic boss ped to begin the mission.

2️⃣ Enter the Truck 🚛

Player receives on-screen instructions.

3️⃣ Attach the Trailer 🔩

A marker guides the player to connect the trailer.

4️⃣ Follow the Checkpoints 🟡

The route is fully guided by GPS and map blips.

5️⃣ Deliver the Cargo 📦

Upon completion, the player receives the configured success_earning reward.


❌ Failure Conditions

The mission fails if:

  • The truck is destroyed

  • The trailer is destroyed

  • The player moves too far from the truck

  • The player moves too far from the trailer

  • The player manually ends the job

Failure results in failed_lost being deducted.


🧩 Adding New Routes

Adding a new delivery job is simple. Use this template:

You can add unlimited routes, use any truck/trailer models, and adjust rewards to match your server economy.

Last updated