mur4i / zf-prescriptions

Give your doctors the ability to make prescriptions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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);

About

Give your doctors the ability to make prescriptions


Languages

Language:Lua 100.0%