[Free][Release] AngelicXS' - Medical Diseases / Illnesses

Is this resource still supported or updated to the latest qbcore?

It should still work.

its pretty hard to install

  1. Download script and put it into your server
  2. Setup the config to match your requirements
  3. Add the three items you want to ‘cure’ the diseases into whatever inventory system you use and input them into the config lines 34-37.
Config.CoughDrug = 'coughmedicine'          -- Name of item used to cure coughing
Config.VomitDrug = 'nauesamedicine'          -- Name of item used to cure vomiting
Config.DizzyDrug = 'gingermedicine'         -- Name of item used to cure dizziness
  1. Restart your server so your items are actually in the game.
1 Like

hello i found error its in 3th line after item lol for the nasua med i was able to decrease weight as well

Thank you for your effort. I really appreciated your work. I also downloaded your policek9 and really fun having a policedog.

– Medicine
coughmedicine = { name = ‘coughmedicine’, label = ‘Coughmedicine’, weight = 20, type = ‘item’, image = ‘coughmedicine.png’, unique = false, useable = true, shouldClose = true, combinable = nil, description = ‘meds for cough’ },
gingermedicine = { name = ‘gingermedicine’, label = ‘Gingermedicine’, weight = 20, type = ‘item’, image = ‘gingermedicine.png’, unique = false, useable = true, shouldClose = true, combinable = nil, description = ‘meds for dizzyness’ },
nasuamedicine = { name = ‘nasuamedicine’, label = ‘nasua medicine’, weight = 20, type = ‘item’, image = ‘nasuamedicine.png’, unique = false, useable = true, shouldClose = true, combinable = nil, description = ‘meds for nasua’ },

does this still work for qbcore?

  • Dan

Yes this should still work.

can i get help with the notification system please i use the default esx_notify system or ox_lib can also be good if i can choose i like the ox_lib more but hope u can get me out

If you are using the default system then you leave Config.UseCustomNotify = false and it should use the frameworks default notification system.

If you are using a custom notification system then you turn Config.UseCustomNotify = true and put your notification export within the event RegisterNetEvent('angelicxs-MedicalDiseases:CustomNotify') which is found directly underneath Config.UseCustomNotify and has the mythic notify export as an example

hello yes i did that i want to use ox_lib notify or the default notify i have the export lines i did this butt its not working i dont get any message


and this is my notify system

and if somebody know i want it for ox_lib notify

So if you are using the base ESX notification system you would leave the event blank and change Config.UseCustomNotify = false. However for your knowledge the correct way that export would be put in that particular event is exports["esx_notify"]:Notify(type, 3000, message)

and u know with ox_lib?

u know that?

It would be lib.notify({ title = '', description = message, type = type}) instead of the esx export.

i fixed it by myself in the fxamnifest lua54 ‘yes’
and add
shared_script ox_lib
shared script es_extended
!!

maybe add a feauture that dog barks with a keybind
or that the dogs barks when found some illegal thing
should be really nice

Is it possible to use ox-target? Because it doesn’t work for me.

This script doesn’t use targets