Skip to main content

Installation

Setup Config and Licensekey

Extract Files

Extract the file inside your resource folder, it is important that you call it omik_emstablet

Add to server.cfg

info

Ensure the resource is started after your framework and database resource.

  1. Add the following to your server.cfg
...

ensure omik_emstablet

...

Setup Config

  1. Open the file omik_emstablet/config.lua and configure the fields
caution

cfg.esx_event should only be filled out if you have set esx in cfg.framework

./omik_emstablet/config.lua
cfg = {}

cfg.framework = "esx" -- vrp // esx // qbcore

cfg.esx_event = "esx:getSharedObject" -- Event to get the shared object from ESX

cfg.hotkey = "F6" -- Hotkey to open the menu

cfg.jobs = { -- Jobs that can open the tablet
"ambulance"
}

cfg.openCMD = "emstablet" -- The command to open the tablet. You can always append _close to the command and force close the tablet.

cfg.notify = "Du har ikke adgang til denne funktion 👨‍⚕️"

return cfg

Insert Licensekey

  1. Now you have set up both config files, you just need to insert your Licensekey in the file licensekey.lua
./omik_emstablet/licensekey.lua
--[[
#########################################################
# ██████╗ ███╗ ███╗██╗██╗ ██╗██╗ ██╗███████╗██╗ #
#██╔═══██╗████╗ ████║██║██║ ██╔╝██║ ██╔╝██╔════╝██║ #
#██║ ██║██╔████╔██║██║█████╔╝ █████╔╝ █████╗ ██║ #
#██║ ██║██║╚██╔╝██║██║██╔═██╗ ██╔═██╗ ██╔══╝ ██║ #
#╚██████╔╝██║ ╚═╝ ██║██║██║ ██╗██║ ██╗███████╗███████╗#
# ╚═════╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚══════╝#
#########################################################
--]]
-- Script: omik_emstablet
-- Website: https://omikkel.com
-- Author: OMikkel#3217

-- Insert your licensekey sent by OMikkel#3217
OMikkelLC = {
["key"] = "xxxxxxxxx" -- Replace xxxxxxxxx with your licensekey
}

return OMikkelLC

Custom images

  1. Open the folder omik_emstablet/img
  2. Replace the images with your own images
  • logo_dark.png
  • logo_light.png
  • logo_login_dark.png
  • logo_login_light.png
  • background.png