renzu_hud icon indicating copy to clipboard operation
renzu_hud copied to clipboard

Eating/Drinking

Open GTRP271 opened this issue 3 years ago • 3 comments

Hey, i'm using your hud, along with your status that i've renamed to esx_status; i find that the hunger/thirst runs out reeeally fast, and i can't seem to find where to change it. i've tried multiple things in the status and the hud script. any help would be greatly appreciated.

(I have disabled esx_basicneeds and my primary esx_status)

GTRP271 avatar Nov 30 '21 22:11 GTRP271

renzu_status/config.lua or renzu esx_status/config.lua

line 9 Config.Multiplier = 52.0 -- multiplier value of remove value for status

at my server I set it to 2 becouse I want use food but like 1x per day

Velkostatkar avatar Dec 01 '21 10:12 Velkostatkar

that worked, you're the best, dude! one other thing; i've disabled the energy but people keep falling asleep, do you know how to completely disable energy? or atleast a way on how to fill it back up? cheers

GTRP271 avatar Dec 01 '21 18:12 GTRP271

You can make a item like Redbull, and use export to fillUP the energy. Or make export on /e sleep or

I think and I am not sure you can disable it this way and I am sure you cant restart renzu_status during players online so you must restart server for that. but in renzu_status/effects.lua at line about 70 is :

			TriggerEvent('esx_status:remove', 'energy', 3)

so you can try -- --TriggerEvent('esx_status:remove', 'energy', 3)

or set to 0 TriggerEvent('esx_status:remove', 'energy', 0)

Next option can be at renzu_hud/conf/status.lua at line about 80 you can change [7] = {type = 1, enable = true, to false:

[7] = {type = 1, enable = `false`, status = 'energy', hideifmax = false, min_val_hide = 50, custom = true, value = 0, startvalue = 1000000, statusremove = 100, notify_lessthan = false, notify_message = 'i am very tired', notify_value = 20, display = 'block', offset = '275', i_id_1_color = 'rgb(233, 233, 233)',bg = 'rgb(57,59,60)', fa = 'fas fa-snooze', i_id_2_color = 'color:rgb(243, 57, 0)'},

Velkostatkar avatar Dec 02 '21 09:12 Velkostatkar