Frozen Wiki
Website
  • Documentation
  • 🔹Scripts
    • Frozen Medic Job
      • Installation
      • Dependencies
      • Exports
      • State Bags
      • Customizations
      • Common Issues
        • QBCore
    • Frozen Crutch
    • Frozen Scratch Ticket
      • Installations
    • Frozen Police Job
      • Installation
      • Dependencies
      • Exports
      • State Bags
      • Events
      • Customizations
    • Frozen Inventory
      • Features
      • Examples
      • Dependencies
      • Installation
        • v1.2 installation
    • Helicopter Camera
      • Adding custom helicopters
      • Moving the UI above the minimap
      • Adding controller inputs
      • Exports
      • Events
    • Frozen Poker
      • Installation
      • Dependencies
    • Frozen Fishing
      • Installation
      • Dependencies
      • Shop Items
      • Fishing Equipment Strength
    • Frozen Gym
      • Installation
      • Exports
        • Client Exports
        • Server Exports
  • 🔓Authorization
    • How to get authorized with license system?
Powered by GitBook
On this page
  • Client Exports
  • Server Exports
  1. Scripts
  2. Frozen Medic Job

Exports

Series of exports that will be added as time goes on. These are good for implementing radial menus and usage of 3rd party scripts

Client Exports

Export
Result

exports.frozen_ambulance:isPlayerDead(serverId)

Returns if player is dead. If used without serverId parameter it will return the death status of the local player

exports.frozen_ambulance:diagnosePatient()

Gives notification of what injury a nearby dead player has. If no injury it will notify that no further treatment is needed

exports.frozen_ambulance:treatPatient(injury)

Treats a nearby player for whichever injury is place in the injury parameter. Restricted to 'ambulance' and 'police' jobs (Possible Injuries: shot, stabbed, beat, burned)

exports.frozen_ambulance:reviveTarget()

Performs CPR and revives nearby player given they have the item requirement

exports.frozen_ambulance:healTarget()

If no close by player OR non-ambulance, it will perform a self-heal given the player has the required item. Otherwise it will start healing nearby player

exports.frozen_ambulance:useSedative()

Performs the act of sedating nearby player. If you lack the required item or there are no nearby players, it will notify you of failure

exports.frozen_ambulance:placeInVehicle()

Places nearby player in vehicle. If not player nearby it will notify you of failure.

exports.frozen_ambulance:loadStretcher()

Will place a nearby player on a nearby stretcher. Recommended to check for nearby stretcher prior to executing this export

exports.frozen_ambulance:openOutfits(hospital)

Opens outfit menu for whichever hospital ID(The name you give each hospital in Config.Locations

Server Exports

Export
Result

exports.frozen_ambulance:RevivePlayer(SERVER_ID)

Will revive player with server id passed through SERVER_ID

PreviousDependenciesNextState Bags

Last updated 1 year ago

🔹