ic_lib

What is ic_lib?

ic_lib is a simple FiveM library that provides unified functions for our scripts to work across different server frameworks without modifications.

Why ic_lib?

Instead of writing separate versions of scripts for QB, QBX, ESX, ND Core, or standalone servers, ic_lib automatically detects your setup and handles the differences for you.

-- Same code works everywhere
Framework.GetPlayer(source)           -- Works on QB-Core, ESX, Standalone
Inventory.AddItem(source, "water", 1) -- Works with any inventory system
Framework.ShowNotification(source, "Hello!")  -- Universal notifications

What it does

  • Auto-detects your framework (QB, QBX, ND Core, ESX, or Standalone)

  • Auto-detects your inventory system (qb-inventory, ox_inventory, etc....)

  • Auto-detects your target system (qb-target, ox_target)

  • Provides unified functions that work the same everywhere

  • Handles framework-specific differences automatically

Quick Example


Ready to get started? Let's set up ic_lib on your server.

Last updated