Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.15 KB

README.md

File metadata and controls

38 lines (33 loc) · 1.15 KB

ZF Labo - Prescriptions

Your doctors can now give prescriptions with details for drugs and instructions for patients.

Prescription Creation Menu Prescription Details Menu

Dependencies

Installation

  1. Download the resource.
  2. Extract it in your resource folder.
  3. Add ensure zf-prescriptions to your server.cfg.
  4. Add the Prescription Item to Shared/Items.lua or Database.
  5. Add the Prescription Image to your inventory.

Item Registration

For qb-core

['prescription'] = {
    ['name'] = 'prescription',
    ['label'] = 'Medical Prescription',
    ['weight'] = 50,
    ['type'] = 'item',
    ['image'] = 'prescription.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = ''
},

For ESX

INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('prescription', 'Prescription', 1, 0, 1);