Git Product home page Git Product logo

esx_slideui's Introduction

esx_slideui

Description

Modified UI for ESX Servers that uses pNotify to show information that was requested through chat commands.

Please note that this is not an always on-screen UI and it's meant for those that want a CLEAN user interface with elements that appear only when requested, therefore, the ESX UI elements were moved into 'pNotify' notifications and will appear only when a specific chat command is triggered.

Dependencies

Setup

  • Install into resources/[esx]
  • Add the following lines to the end of es_extended/client/main.lua file
RegisterNetEvent('esx:slideui_hideoldui')
AddEventHandler('esx:slideui_hideoldui', function(disableui)
    if disableui then
        TriggerEvent('es:setMoneyDisplay', 0.0)
        ESX.UI.HUD.SetDisplay(0.0)
    else
        TriggerEvent('es:setMoneyDisplay', 1.0)
        ESX.UI.HUD.SetDisplay(1.0)
    end
end)
  • Add the following line to your server.cfg AFTER EVERY JOB WAS STARTED!!
start esx_slideui

Configuration

  • If you don't want to disable the old UI, you have to set Config.DisableOldUI to false in config.lua

Important Notes

  • Don't forget to add the event written above (in the Setup section) to es_extended/client/main.lua
  • This script must be started AFTER every job was started

Usage

  • The script is used with the following chat commands: /cash; /balance; /dirty; /job; /societybalance

Screenshots

  • /cash

screenshot

  • /cash; /dirty; /balance

screenshot

  • /job; /societybalance - Note: Society balance can only be seen by the society boss

screenshot

esx_slideui's People

Contributors

klibrdm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.