Skip to Content
PixelSoft LogoPX SCRIPTS

px-lib

Framework abstraction and core library for supported PX Scripts FiveM resources. Unified bridge for players, database, inventory, and notifications.

CORE BRIDGEFREE RESOURCEMULTI-FRAMEWORK Idle: 0.00ms Active: 0.00ms

📋 Compatibility

LayerSupported SystemsDetails
Frameworkqb • esx • qbx • oxNative support for major FiveM frameworks
Databaseoxmysql • mysql-async • ghmattimysqlAsynchronous query handling
Inventoryqb-inventory • ox_inventoryStandard inventory abstractions
Interactiondrawtext • targetDynamic in-game UI interaction
Target Systemqb-target • ox_targetRaycast / entity zone targeting
Notificationqb • ox • esxFramework-native alert popups
Performance (Resmon)⚡ Zero Overhead0.00ms (Pure exports bridge)

Installation

Download & Extract

Download the latest version of px-lib and extract it into your FiveM server's resources directory.

Recommendation: Keep the folder name as px-lib without any version numbers or branch tags.

fxmanifest.lua

Add to Server Config

Add ensure px-lib to your server.cfg. It must be placed after your core framework/database and before any dependent PX resources:

# Core Dependencies
ensure [core]
ensure [inventory]
ensure [target]

# PX Bridge Library (Load First)
ensure px-lib

# PX Scripts Resources
ensure [px-scripts]

Always ensure that px-lib is started before any dependent PX resources (such as px-weaponshop) to avoid nil bridge errors on server boot. Resources with native standalone bridges do not require px-lib.


Need Help?

Join Our Discord CommunityLive 24/7 Support

Encountering issues or have questions regarding configuration? Our support team is ready to assist you.

Get Support ↗