πŸ”ŒFrameworks and compatibility

This part will help with the framework part of the config (ESX/QB/Custom ...) and my others scripts compatibility

cfg.ESX

Set to true if you plan to use ESX Jobs to run the script, false if not applicable

cfg.ESX = true,

cfg.QB

Set to true if you plan to use QB Jobs to run the script, false if not applicable

cfg.QB = true,

cfg.jobNames

Set the jobs which are allowed to use the medical part of the script (bags, oxygen ...). This will not affect the CPR part.

BEFORE :

cfg.jobNames = {
    'firefighters',
}

AFTER

cfg.jobNames = {
    'firefighters',
    'EMS',
    'Doctor',
}

cfg.useCervicalCollar

Set to true if you have the cervical collar installed on the server. False by default.


cfg.useDragDead

Set to true if you have the drag dead installed on the server. False by default.


Revive Event

This is the event you should trigger in your revive functions (TX admin, ambulance job ...) - Forced : sets if the script should force the revive event if player have stuff attached to him

Last updated