🧠Installation

Installation

⚙️ Initial Setup

Follow these steps to install and configure the frkn-prison script on your server:

📁 1. File Placement

Place the frkn-prison 0r-npcdialog frkn-tunnel der inside your server’s resources directory:

Prison Map : https://drive.google.com/file/d/1D4QBOer3dfzLh1K8LsUxzj724Gg2jynK/view?usp=sharing

PolyZone : https://github.com/mkafrin/PolyZone

resources/[your-category]/frkn-prison
resources/[your-category]/0r-npcdialog
resources/[your-category]/frkn-tunnel
resources/[your-category]/PolyZone
resources/[your-category]/[prison_map]

📄 2. Start the Resource

Add the following line to your server.cfg to ensure the script starts with the server:

ensure frkn-prison
ensure 0r-npcdialog
ensure frkn-tunnel
ensure PolyZone
ensure [prison_map]

🛠 3. Configuration

Open the following files and adjust settings based on your server’s setup:

  • config.lua → General script settings (target system, inventory, notifications, etc.)

  • job_config.lua → Job-related definitions and task logic

Make sure to match inventory and target system values with the rest of your server (e.g. "ox", "qb").

🧩 4. SQL Import

Import the provided SQL file into your database to ensure required items, metadata, and other dependencies are properly registered.

  1. Light Settings

If you are using qb-weathersync, this code will be added to the client.

RegisterNetEvent(“frkn-prison:setBlackout”, function(state) blackout = state end)

Last updated