Biyei Scripts

Installation

  1. 1

    Start order

    Respect this order in server.cfg. The inventory line is only needed if Config.RequireItem = true, and biyei_notificaciones is optional.

    server.cfgserver.cfg
    ensure pma-voice
    ensure ox_inventory        # or whichever inventory you use (if Config.RequireItem = true)
    ensure biyei_notificaciones # optional
    ensure biyei_radio
  2. 2

    Item (optional)

    Only if Config.RequireItem = true: register the radio item in your inventory and make it usable so it opens the menu.

    ox_inventory/data/items.luaLua
    ['radio'] = {
        label = 'Radio', weight = 1000, stack = false, close = true,
        client = { export = 'biyei_radio.openRadio' }   -- or event = 'biyei_radio:useItem'
    },