Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Drug Scripts

NPC Drug sell FiveM resource preview

NPC Drug sell

Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
Version
1.0.2
File size
4.3 kB
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

NPC drug-selling script for ESX

An ESX version inspired by the NoPixel drug selling. The delivered np_selltonpc resource (v1.0.2) lets a player approach eligible NPCs and offer a configured item for sale.

Features

  • Sell the weed_pooch item to NPCs around you
  • Optional hand-over animation
  • Distance check: the sale stops if the player or the NPC walks away (can be turned off)
  • Option to allow or block police players from selling
  • A sale can trigger the supplied police notification event

Compatibility notes

This is legacy ESX code. It calls the old shared-object event, loads mysql-async and async, expects the inventory item weed_pooch and invokes mythic_notify. Review prices and server events, and adapt those dependencies for a current framework before using it.

Installation

  • Copy the folder into your resources, rename it to np_selltonpc and add ensure np_selltonpc to your server.cfg after its dependencies.
  • Set the options in config.lua.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

NPC Drug sell

In your downloads
  • FiveM Torture System
    • ESX
    • QBCore
    Not for your framework

    FiveM Torture System

    Danzo Scripts

    $24.00$16.80
  • Boss Menu
    • ESX
    • QBCore
    Not for your framework

    Advanced Boss Menu

    Eyes Store

    $5.00$3.50
  • Drugs Creator FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Drugs Creator

    Jaksam

    $50.00$35.00
  • Gang War
    • ESX
    • QBCore
    Not for your framework

    Wasabi Gang War Phone (ESX/QB)

    Wasabi Scripts

    $26.00$18.20
  • Home Robbery Script FiveM resource preview
    • ESX
    Not for your framework

    Home Robbery Script

    $25.99$18.19
  • Prison
    • ESX
    • Standalone, QBCore, Qbox

    Prison all-in-one system

    rcore

    $32.00$22.40
  • Home Robbery
    • ESX
    Not for your framework

    FiveM Home Robbery

    $7.99$5.59
  • FiveM Drug FX
    • ESX
    Not for your framework

    DrugFX by ModFreakz

    ModFreakz

    $18.99$13.29