Skip to content

warxander/vein

Repository files navigation

Vein: an easy-to-use GUI library for FiveM

Vein is an immediate mode GUI library for FiveM

Features

alt text

Quick Start

  • Download and put into resources/ directory
  • Add ensure vein to server.cfg

Immediate mode

const vein = exports.vein;

vein.beginFrame();

if (vein.button('Click Me'))
    console.log('Hello World!');

vein.endFrame();

Documentation

Visit Vein website for documentation

Demo

Follow Vein demo as an example for your own GUI.
Run it as FiveM server resource to see how Vein looks like in game (use /veinDemo command)