Is this resource still supported or updated to the latest qbcore?
It should still work.
its pretty hard to install
- Download script and put it into your server
- Setup the config to match your requirements
- 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
- Restart your server so your items are actually in the game.
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