This plugin is for use with the program.
The usual way to create a GUI for a plugin: Come up with UI/UX, draw in the image editor, then carefully move element by element into the code, okay moved, now you need to update it all every 5 seconds with a new value for each player - "Oh my God, how difficult it is"
This is the smallest part of what CuiGenerator can do, it is very well optimized, if you call DrawUI in a row with the same arguments, the request to create a GUI will be sent to the player only 1 time.Next, changing the arguments: a laborious work was carried out and a smart algorithm was written that changes only those elements that affected the argument, let's say you have two pictures that are superimposed on each other, if you change the one that is behind, the front will remain on the front layer.
Generally use on health, this miracle is free, ask questions in the thread of the plugin.

Insert this code into your plugin.
Then the simplest usage example:
The usual way to create a GUI for a plugin: Come up with UI/UX, draw in the image editor, then carefully move element by element into the code, okay moved, now you need to update it all every 5 seconds with a new value for each player - "Oh my God, how difficult it is"
Features
Immediately throw the layout in CuiBuilder, throw commands on the buttons and put {N} where we will change the value, press Ctrl E (export CuiDB.json) we throw the database guishek in data/CuiGenerator, reload this plugin-CuiGenerator and we can easily add GUI to different players, with different arguments and change the same arguments by calling DrawUI or DrawUIWithEx again.This is the smallest part of what CuiGenerator can do, it is very well optimized, if you call DrawUI in a row with the same arguments, the request to create a GUI will be sent to the player only 1 time.Next, changing the arguments: a laborious work was carried out and a smart algorithm was written that changes only those elements that affected the argument, let's say you have two pictures that are superimposed on each other, if you change the one that is behind, the front will remain on the front layer.
Generally use on health, this miracle is free, ask questions in the thread of the plugin.
Usage
Save the function Ctrl E (export CuiDB.json) and throw the database in data / CuiGenerator:
Insert this code into your plugin.
Then the simplest usage example: