renzu_hud icon indicating copy to clipboard operation
renzu_hud copied to clipboard

Eating / Drinking / Status

Open dougiebeatz opened this issue 2 years ago • 18 comments

This is the issue im running Im not running your status untill i figured out more about this hud as it offers alot .

my food and water is at 0% im not being hurt by it , but i can not eat or drink and gain from it i get this error in the console

bbd6a2f638c06b8900f2cc0199562ef7

  • Ive also notcied turning vehicle stance and such to false can still use it

  • With this body system , instead of multiple bandages can i use one . and how can i go about attaching it to esx_ambulance so when i healed or revived im fixed . -- ^^ With this i tried to switch everything to bandage but will only fix 1 body part per fly-out , fly-in .

Keep up the good work , just trying to figure more about this system like i said it offers alot . Do you have a discord or plan on getting one maybe the community you are building can help with simpler questions and what not .

dougiebeatz avatar Nov 22 '21 05:11 dougiebeatz

that error is about ESX accessories config /conf/clothing.lua

you need to disable car control to disable stancer

feel free to edit the body status part ( i may do it as a feature )

renzuzu avatar Nov 22 '21 06:11 renzuzu

I disabled everything in the hud to do with car stuff , script is still allowing to happen . IMO i dont understand why you would allow civs to work on cars to that point it pretty much cancels out the mechanics again IMO .

While editing the body status part ['head_brace'] = {name = 'bandage', event = 'renzu_hud:healbody', value = 'head', weight = 1, label = 'bandage', job = false}, ['leg_bandage'] = {name = 'bandage', event = 'renzu_hud:healbody', value = 'leg', weight = 1, label = 'bandage', job = false}, ['arm_bandage'] = {name = 'bandage', event = 'renzu_hud:healbody', value = 'arm', weight = 1, label = 'bandage', job = false}, ['body_bandage'] = {name = 'bandage', event = 'renzu_hud:healbody', value = 'chest', weight = 1, label = 'bandage', job = false},

is there a way to change this value = ( all of body parts )

dougiebeatz avatar Nov 22 '21 14:11 dougiebeatz

Also im slightly confused on your status , and esx_status , ive swapped between both and still unable to eat food or drink

no errors now with putting esx_accessories back into the server both food and water are at 0% not being hurt by it , nor accepting food or water .

ive switched the status custom between false and true and nothing .

dougiebeatz avatar Nov 22 '21 14:11 dougiebeatz

IMO i dont understand why you would allow civs to work on cars to that point it pretty

what do you mean by this?

renzuzu avatar Nov 22 '21 14:11 renzuzu

Also im slightly confused on your status , and esx_status , ive swapped between both and still unable to eat food or drink

no errors now with putting esx_accessories back into the server both food and water are at 0% not being hurt by it , nor accepting food or water .

ive switched the status custom between false and true and nothing .

does your esx_basicneeds is started? and have adding status eg. thirst from water and hunger from burger

renzuzu avatar Nov 22 '21 14:11 renzuzu

By allowing Civs to add a turbo , mess with stance with out the stance kit and everything the hud brings to the cars is taking away from the mechanic role , why would i go to a mechanic when i yanked a turbo and can put it into my car ? just seems conflicting . i could see people being able to add Nitro , oil change , and basic needs for a car , but not everything else you put in if that makes sense .

dougiebeatz avatar Nov 22 '21 14:11 dougiebeatz

So that may where im going wrong , before finding your scripts i was using core_hud ( trash ) with basicneeds , but using viv_snackies to support food and water . still shows me eating , drinking food , but its not effecting the status .

So for a dumb guy if i was to drop viv_snackies , how would one add status to said food/water item .

dougiebeatz avatar Nov 22 '21 14:11 dougiebeatz

download renzu_status, i pushed an update with basic needs function

So that may where im going wrong , before finding your scripts i was using core_hud ( trash ) with basicneeds , but using viv_snackies to support food and water . still shows me eating , drinking food , but its not effecting the status .

So for a dumb guy if i was to drop viv_snackies , how would one add status to said food/water item .

renzuzu avatar Nov 22 '21 14:11 renzuzu

By allowing Civs to add a turbo , mess with stance with out the stance kit and everything the hud brings to the cars is taking away from the mechanic role , why would i go to a mechanic when i yanked a turbo and can put it into my car ? just seems conflicting . i could see people being able to add Nitro , oil change , and basic needs for a car , but not everything else you put in if that makes sense .

because this was made for standalone purpose

thats why i created a individual script for stancer, turbo, engine with jobs,

you can disable the functions in config @hud if you use that scripts

renzuzu avatar Nov 22 '21 14:11 renzuzu

With adding Renzu_status , do i remove esx_status ?

dougiebeatz avatar Nov 22 '21 14:11 dougiebeatz

yea and esx_basicneeds

renzuzu avatar Nov 22 '21 14:11 renzuzu

transfer your custom items to renzu_status/server/basic_needs.lua

custom effects/event renzu_status/client/basic_needs.lua

renzuzu avatar Nov 22 '21 14:11 renzuzu

Awesome ! ive done that only issue i have no which i think is a me thing ESX.RegisterUsableItem('redbull', function(source) local xPlayer = ESX.GetPlayerFromId(source) xPlayer.removeInventoryItem('redbull', 1) TriggerClientEvent('esx_status:add', source, 'thirst', 110000) TriggerClientEvent('esx_basicneeds:onDrink', source) TriggerClientEvent('esx:showNotification', source, _U('used_redbull')) end)

7f2381a8648b164c72ac4d0a44fbebc9

dougiebeatz avatar Nov 22 '21 15:11 dougiebeatz

yeah i just need to remove the _U thank you so much Renzu

out of anyone ive dealt with your the best and your script are honestly ahead of most scripts keep up the good work and the great support

dougiebeatz avatar Nov 22 '21 15:11 dougiebeatz

new update removes (_U)

renzuzu avatar Nov 22 '21 15:11 renzuzu

388d14ccf1405b242900836cba267d07

i could be wrong but i think this is dealing with stress ,

scratch that , this is with the energy side of things but i have that turned off .

dougiebeatz avatar Nov 22 '21 19:11 dougiebeatz

remove it from renzu_status if stress if turn offed in renzu_hud

renzuzu avatar Nov 23 '21 09:11 renzuzu

Nothing about what we have talked about above

but is there a command we can add to hide the map and hud.

dougiebeatz avatar Nov 27 '21 16:11 dougiebeatz