KDiseases 2.0 | Five
11.99GBP
Package Description
Ever wanted your server to include some diseases?
K_DISEASES
Add an endless amount of diseases to you server (granted you will need to add ways to get them) and watch your players suffer and have much better medical rp!
Simulate all types of diseases like COVID-19 or The Plague or even some common sicknesses like The Flu!
Whats' included?
♦ A simple system to manage as many diseases as you want!
♦ Add ways for your players to get sick
♦ Have new medicines in your server!
♦ Give medical roleplay a new way to play!
Please note: this script will require you to add new ways to get diseases. You should know how to create useable items or ways yo think diseases should spread from in your server
Example: Adding food poison onto useable food items for a random chance to become sick or searching garbage cans and getting pricked by a bad needle, you will have to add a simple event to give the player a disease
Requirements: oxmysql(works on any server), interact-sound(for sound effects)
Video Showcase
K_Diseases | FiveM Diseases/Illnesses/Sick/Medicine Script | ESX & QBCore & Standalone - YouTube
Docs:
CatchDisease(type, chance, checkifalreadyhasit):
exports['k_diseases']:CatchDisease(type, chance, checkifalreadyhasit)
TriggerServerEvent('k_diseases:catchdisease', source, type, chance, checkifalreadyhasit)
TriggerEvent('k_diseases:catchdisease', type, chance, checkifalreadyhasit)
This can be used to give a player a specified disease, example: exports['k_diseases']:CatchDisease("Common Cold", 100, false)
ClearDisease(type):
exports['k_diseases']:ClearDisease(type)
TriggerServerEvent('k_diseases:cleardisease', source, type)
TriggerEvent('k_diseases:cleardiseas', type)
This can be used to remove a player a specified disease example: exports['k_diseases']:ClearDisease("Common Cold")
GetDiseases():
exports['k_diseases']:GetDiseases()
returns: Same layout as Config.Diseases
This can be used to remove a player a specified disease, Example: exports['k_diseases']:GetDiseases()['Common Cold'].hasDiseases
ClearAllDisease():
exports['k_diseases']:ClearAllDisease()
TriggerServerEvent('k_diseases:clearall', source)
TriggerEvent('k_diseases:clearall')
Removes all a specified player's current diseases, Example: exports['k_diseases']:ClearAllDisease()
This script was built for additions in mind so expand, enhance and go crazy!
To install and use this script you must:
after purchase head to https://keymaster.fivem.net/ and you should be able to see purchased assets then you are able download and use the script!
License key to server must be owned by the person buying the script or has to be transferred to the owner of the key! (transfers are in keymaster!)
by purchasing you agree to the tos stated in KBase | TOS (tebex.io)