Installation
Add the folder
Put the gui_noitedocrime folder in resources. Do not rename the folder.
Start it in server.cfg
After your framework, your inventory and oxmysql:
server.cfg
ensure oxmysql
ensure es_extended # or qb-core / qbx_core / vrp
ensure ox_inventory # if you use it
ensure gui_noitedocrimeGive admin permission
On any framework:
server.cfg
add_ace group.admin gui_noitedocrime.admin allowOther ways in Admin panel.
Restart the server
Restart the whole server. The console shows something like base: qb · inventário: ox · idioma: en.
Database
No SQL to run. On first start the script creates the tables on its own and warns in the console if one could not be created.
| Table | What it stores |
|---|---|
gui_noite_modelos | presets (night templates) |
gui_noite_agenda | scheduled, running and past nights with winners |
gui_noite_inscritos | who accepted the invite for each night |
gui_noite_inventarios | the backup copy of each player’s inventory |
gui_noite_itens_guardados | items taken out of the inventory (with slot, expiry and metadata) until they return |
gui_noite_premios | prizes for players who were offline at the end (delivered when they join) |
gui_noite_lugares | healing bases, ammo bases and airdrop points |
The database user must be allowed to create and alter tables.
The coordinates in the config are Los Santos examples. Check every point on your map before the first night.