THIS IS NOT ONLY A HUD, ITS A LOT MORE !
Basically, esx_status , basicneeds and optionalneeds combined, but better !
This is a realistic script to make your Role play server , even better!
so what even is this script ? :
This script is basically Hunger / Thirst / stress / drunk / (or everything else you config) handler
with a lot more features :MOST IMPORTANT ONE OF THEM :
Every action your character do in game , can reflect on how much food or water you drain overtime (this also apply to every other status aswell !)
Some examples that are already configured :
If you run, you will drain more water and food than just walking
If you sit, you will drain less water and food
If you sleep (sleep emote), you will lose your stress overtime
And a lot more (read below for all of the informations)
-
Top features :
-
Config usable items (no need to copy paste same piece of code over and over for usable items)
-
Automatic item creation for your database (more info : you can just configure the item you wanna add to your server , no need to even open SQL editors and manually do it, easy !)
-
Compatible with ESX V1.2 and V1.1
-
No SQL importing , everything is handled automatically
-
Provide backward compatibility for scripts that need
esx_status
-
Automatic data transfer from
esx_status
-
Unlimited amount of status can be configured (maybe you wanna add pee as an option for some reason? you can !)
-
Health regen system based on food/water (more information below)
-
Vomit on eating/drinking too much ! (configurable)
-
Support fivem natives inside config ! (dont have to write a single more code, just add it inside the config and done, more info below)
-
Support for animation (so for example : when you are sitting , you drain less water)
-
DRAIN SYSTEM (more information below)
-
-
General :
-
No Dependency (well , except ESX itself)
-
Compatible with almost all of the Hunger/Thirst UIs
-
Exports for developers to make use of this script where they want
-
-
Configs :
-
Alert on hunger / thirst / stress / drunk / etc.
-
Effect for hunger / thirst / stress / drunk / etc. (read more below)
-
Effect intensity (read more below)
-
Click here if video does not work
What is Health regen system ?
This , will make sure that players regen their health , in expense of draining more food and water
And its configurable (check config screenshots below if you wanna see how it works)
What do you mean by support fivem natives ?
If you are a developer or server owner , probably you are familiar with natives like IsPedSprinting or IsPedSittingInAnyVehicle.
Now you can just add any native you want, to do a specific thing for player status without coding anything!
there is a lot of them already included in the script
(check config screenshots below)
What is Drain system ?
This was the main point of this script when i started working on it
Like real life , if you start running , you will get hungry faster
Or if you are a car and its going fast , you will get stressed
Or you feel less stressed if you just chill (sit, sleep, etc.)now with this script, you just dont lose the same amount of food/water (or everything else that you configured) the same at all the time
Are you climbing a mountain ? you will burn more food and water !
Are you sleeping ? you will burn less food and water !
And so on, you probably got the point already
There is also a lot of exports to make use of this script on your other scripts (i was thinking of an idea that you lose more water if you are in sandy shores for example !)
What is effect ?
you know how on default esx_status , you start loosing health so fast , if you are thirsty or hungry ?
now you can configure it to maybe instead of losing health when thirsty , you just cant sprint anymore ! (this idea was from RUST)
Or you cant punch as powerful as before because you are hungry!
Or maybe you are stressed and cant jump
And so on (check the config screenshots)
Effect intensity :
Effect have intensity (not all of them)
This mean , for example the shake screen effect , can be very harsh , or very little
This is automated on some of the functions ( like for stress system )
Or can be manually added in config
Effect intensity can be between 1 - 10
Now for the fun part, (1000 lines of config)
Notes:
Script usage can be vary based on how much stuff you add or remove
but on the default config , it use around 0.2 ~ 0.3 MS
This is not a HUD script , but a backend for any HUD that you wanna use
I already tried to configure everything as best as i can , but make sure to check and change everything as you want and suit your server the best
This script will alter
users
table to add status column automatically (if not already there)
items will be automatically edited on database
so you don’t have to do it manually (can be disabled in config)
Also i highly recommend to backup your
items
table, before starting the script
If you want the UI, you can download it here : GitHub - ali-exacute/esx_statushud: Custom esx statushud for esx_advancedneeds
This script is not compiled or obfuscated , as i respect anybody that buy my script
but please, do not resell, rename, modify and sell, or share this script
This took me a lot of time to code, please respect my time and work
You can buy the script from my tebex store : Exacute Tebex Store
My other scripts :
Better FPS | Dynamic FPS Booster
Second Hand Vehicle Remastered
Advanced Job System
Advanced Kit System
ESX Adminplus
Hope you enjoy