Skip to content

BLN Lib โ€‹

BLN Lib is a comprehensive utility library for RedM scripts, providing essential modules and functions to streamline development. It offers framework compatibility, UI components, animation handling, and much more.

Download โ€‹

Get BLN Lib on Tebex: Download Now

Overview โ€‹

BLN Lib provides a collection of reusable modules that simplify common RedM scripting tasks:

Core Modules โ€‹

  • Framework - Multi-framework compatibility layer supporting VORP, RedEM, RedEM2023, QBR, RSG, and QR
  • Callback - Efficient callback system for client-server communication
  • Blips - Map blip management utilities
  • Prompt - Interactive prompt system
  • Animation - Animation handling and movement controls
  • Object Placer - Object placement and management
  • Screen - Screen utilities and effects

UI Components โ€‹

  • Input - User input dialogs
  • Progress - Progress bar components
  • Timer - Timer display components

Getting Started โ€‹

To use BLN Lib in your script, first ensure it's installed and started in your server.cfg:

ensure bln_lib

Then you can access any module using the export system:

lua
-- Example: Get the framework module
local framework = exports.bln_lib:framework()

-- Example: Get the animation module
local Animation = exports.bln_lib:animation()

Documentation โ€‹

Browse the individual module documentation to learn about their specific features and APIs. Each module is designed to be independent and can be used separately or combined as needed.