CrazeUI

CrazeUI is a powerful, standalone menu framework that provides developers with an easy-to-use interface for creating interactive menus. Built with clean code and comprehensive documentation, it's the perfect solution for any FiveM script requiring user interaction.


Overview

CrazeUI offers a complete menu system with GTA V authentic styling, multiple item types, and seamless framework integration. Whether you're building police scripts, job systems, or admin panels - CrazeUI provides the foundation you need.

Key Features

  • GTA V Authentic Design - Professional interface matching native GTA experience

  • Multiple Item Types - Buttons, checkboxes, sliders, input fields, sub-menus

  • Framework Independent - ESX, QBCore, and standalone compatible

  • Easy Integration - Simple export functions and event system

  • Full Customization - Complete source code access

  • Optimized Performance - Minimal resource usage


Quick Start

Installation

  1. Download CrazeUI from your purchase

  2. Extract to your resources folder

  3. Add to server.cfg:

  1. Restart your server

  2. Test with /crazeui command

Basic Usage


Controls

Key
Function

↑ ↓

Navigate through items

Enter / →

Select item or open sub-menu

← / Backspace

Go back or close menu

← →

Adjust slider values


Item Types

Button

Execute actions or trigger events.

Checkbox

Toggle on/off states.

Slider

Adjust numeric values.

Input Field

Collect user input (text or numbers).

Create nested menu structures.


Export Functions

OpenMenu(data)

Opens a menu with the specified configuration.

Parameters:

  • data (table) - Menu configuration object

Example:


CloseMenu()

Closes the currently open menu.

Example:


UpdateMenuData(data)

Updates the current menu without closing it.

Parameters:

  • data (table) - Updated menu data

Example:


Events

crazeui:buttonClicked

Triggered when a button or sub-menu item is clicked.

Data:

  • id (string) - Item identifier

  • type (string) - Item type

  • label (string) - Item label

  • data (table) - Custom data attached to item

Example:


crazeui:checkboxToggle

Triggered when a checkbox is toggled.

Data:

  • id (string) - Checkbox identifier

  • checked (boolean) - New state (true/false)

Example:


crazeui:sliderChange

Triggered when a slider value changes.

Data:

  • id (string) - Slider identifier

  • value (number) - Current value

Example:


crazeui:inputSubmit

Triggered when user submits input.

Data:

  • id (string) - Input identifier

  • value (string) - Entered value

Example:


Integration Examples

Police Menu


Garage System


Settings Menu


Customization

Changing Colors

Edit html/style.css to customize the menu appearance:

Adjusting Position

Change menu position in html/style.css:

Custom Sounds

Replace sound files in html/sounds/ folder:

  • nav.ogg - Navigation sound

  • select.ogg - Selection sound

  • back.ogg - Back sound

Last updated