Discord: click here
Tebex: click here
PK Sellers is a flexible selling system for FiveM that allows players to sell items to an NPC. The script is designed to be easily configurable, so most adjustments can be made without modifying core code.
This script supports: ESX, QBCore and Qbox
Core Functionality
-
The system revolves around one or more NPC sellers (peds) placed in the world
-
Players can interact with these NPCs to sell predefined items
-
Suitable for multiple use cases such as farming, legal shops, or illegal trade
Structure
The script is cleanly separated into three main parts:
-
Config
Defines items, prices, categories, and general behavior -
Client
Handles player interaction, UI, and NPC spawning -
Server
Processes transactions and ensures secure item handling
Categories
-
Items are grouped into categories such as “Drinks” or “Fruits”
-
Each category can now include a custom description
-
If no description is set, a default fallback text is used
-
This allows better context and cleaner UI presentation
Inventory Integration
-
Uses ox_inventory as a default dependency
-
All item checks and transactions run through this system
-
Ensures compatibility and stability with other scripts
Localization System
-
All text is handled through a dedicated locales
system -
Supported languages:
-
English
-
Dutch
-
German
-
Swedish
-
-
Includes a fallback mechanism:
-
Missing translation → falls back to English
-
Missing in English → shows the key
-
-
Easy to expand with additional languages
NPC Behavior
-
NPCs are spawned client-side
-
Fully configurable through config.ped
-
Options include:
-
Freezing position
-
Invincibility
-
Blocking AI events
-
Playing a scenario/animation
-
-
Ensures consistent and controlled behavior
Modularity & Expandability
-
Designed to be modular and easy to extend
-
Supports:
-
Multiple sellers
-
Different locations
-
Unique categories per seller
-
Custom interaction logic
-
-
Works as a solid foundation for both simple and advanced server economies
| Code is accessible | Partially |
| Subscription-based | No |
| Lines (approximately) | 700 |
| Requirements | es_extended, ox_lib |
| Support | Yes |



