NPWD QBX Services APP

A FiveM resource that enable direct communication with service employees through the NPWD phone system, specifically designed for the QBX framework.

🎯 Overview

The NPWD Services App transforms how players interact with essential services in your server. By integrating directly with QBX framework's job system, it provides an interface for contacting service employees like mechanics and police officers directly through the npwd phone.

πŸ“± Features

  • πŸ‘₯ Direct contact with service employees

  • πŸš” Customizable job listings

  • πŸ”„ Duty status integration

  • πŸ“Š Contact limit management

πŸ”§ Dependencies

πŸ“¦ Installation

Step-by-Step Guide

  1. Download the Resource

    • Get npwd_qbx_services.zip from releases

    • Important: Do not rename the resource

    • For custom names, modify fetchNui.ts and rebuild

  2. Resource Setup

    • Extract to your resources folder

    • Maintain the original folder name

  3. Load Order

    • Ensure npwd_qbx_services loads before npwd

    ensure npwd_qbx_services
    ensure npwd
  4. NPWD Configuration

    • Open npwd's config.json

    • Add to apps section:

    {
        "apps": ["npwd_qbx_services"]
    }

βš™οΈ Configuration

The configuration system allows for customization of how services are displayed and managed. The configuration file provides granular control over each job's behavior:

return {
    jobs = {
        mechanic = {
            maxContacts = 2,    -- Maximum visible mechanic contacts
            showOffDuty = false -- Hide off-duty mechanics
        },
        police = {
            maxContacts = 5,    -- Maximum visible police contacts
            showOffDuty = true  -- Show off-duty officers
        }
    }
}

Configuration Options Explained

  1. Job Settings

    • Define settings for each service job independently

    • Control visibility and accessibility of service employees

  2. Contact Limits

    • maxContacts: Prevents contact list overflow

    • Customizable per job type

    • Helps maintain UI clarity

  3. Duty Status Display

    • showOffDuty: Toggle off-duty employee visibility

    • Configurable per service type

πŸ’‘ Usage Examples

return {
    jobs = {
        police = {
            maxContacts = 5,
            showOffDuty = true
        },
        mechanic = {
            maxContacts = 2,
            showOffDuty = false
        },
        taxi = {
            maxContacts = 3,
            showOffDuty = true
        }
    }
}

🀝 Support

Community Resources

  • Join our Discord

  • Check GitHub issues for known problems

  • Submit bug reports through Discord

Credits

  • UI Design: npwd-community

  • Base Framework: NPWD Team

  • Integration: Sahara Scripters


Serviced by Sahara Scripters - Like regular customer service, but with less waiting music

Last updated