PingouinTheDev Doc's
  • 🔐About escrow system
    • 🔑"You lack the required entitlement to use ... "
    • ❌Failed to verify protected resource
    • 🛑Error parsing script / Failed to load script
    • ↔️Transferring assets to another account
  • ⁉️FAQ
    • Do you make partnerships ?
    • Do you take customs orders ?
    • And do you send any decrypted ver...
    • Do you provide assistance / help on your scripts ?
  • 📔Scripts doc's
    • 🚑Medical Reanimation Script
      • 🛠️General config
        • 🔌Frameworks and compatibility
        • ⚙️Miscellaneous
        • 💉Medical
        • ⛔Errors and Troubleshooting
      • 📃Features and How to use
    • 😵Decapitation script
      • 🛠️General config
      • 🔀Integrate with death scripts
    • 📹Facial Recognition
      • 🛠️General config
        • 🔌Frameworks
        • ⚙️Miscellaneous
        • ⛔Errors and Troubleshooting
      • 🎛️Utils
    • ⛺Homeless tent script
      • 🛠️General config
        • 🔌Frameworks
        • ⚙️Miscellaneous
        • ⌨️Keybinds
      • 🎛️Utils
Powered by GitBook
On this page
  • cfg.ESX
  • cfg.QB
  • cfg.jobNames
  • cfg.useCervicalCollar
  • cfg.useDragDead
  • Revive Event
  1. Scripts doc's
  2. Medical Reanimation Script
  3. General config

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.useCervicalCollar = false,

cfg.useDragDead

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

cfg.useDragDead = true,

The start order in the cfg must be : ensure dragDead ensure cervicalCollar ensure medicalReanimation For the compatibility to be achieved correctly


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

--Client side
TriggerEvent('pingouin:client:revive', forced --[[Bool]])
--Server side
TriggerClientEvent('pingouin:client:revive', cliendId, forced --[[Bool]])
PreviousGeneral configNextMiscellaneous

Last updated 3 months ago

📔
🚑
🛠️
🔌