Skip to content

Installation

Install Cuxial Announcements step by step: dependencies, start order and first style.

Cuxial Announcements needs no SQL import, no inventory items and no convars. It creates its own table on first start.

Check the dependencies ​

These resources must be installed and working first:

  • ox_lib
  • oxmysql
  • cuxial_bridge, with one of the supported frameworks: QBox, QBCore or ESX

Copy the resource ​

Place the cuxial_anuncios folder inside your resources directory. Keep the folder name as it is.

Start the resource ​

Start it after its dependencies and after your framework:

server.cfg
cfg
ensure ox_lib
ensure oxmysql
# your framework here (qbx_core, qb-core or es_extended)
ensure cuxial_bridge
ensure cuxial_anuncios

No SQL to run. The resource creates the table cuxial_anuncios when it starts.

Check the server console ​

On start, the resource prints how many styles it loaded:

[CuxialAnuncios] 0 estilo(s) cargado(s)

On a fresh installation the value is 0: styles are created in the next step.

Create the first style ​

  1. Join the server with a staff account and type /crearanuncio. The panel opens.
  2. Create a style. Enter a title and the internal name of a job, for example police.
  3. Save, set that job on your character and type /anuncio test. The announcement appears on screen.

A job without a style cannot send announcements. Create one style for every job that should be able to use /anuncio.

Next: adjust the commands and the cooldown in Configuration.

© Cuxial