Installation
SAF Scenes needs ox_lib and oxmysql. It finds your framework and inventory on its own.
Steps
- Put the
saf-scenesfolder in yourresourcesfolder. - Add it to
server.cfg, after ox_lib, oxmysql and your framework:server.cfgensure ox_lib ensure oxmysql ensure saf-scenes - Give your staff access:server.cfg
add_ace group.admin scenes.staff allow - Add the two items for your inventory. See Items.
- Start the server. The console prints the framework and inventory it found.
The database table saf_scenes is created on the first start. There is no SQL file to run.
Items
| Item | Label | Used for |
|---|---|---|
spray_can | Spray Can | Placing a spray tag. Use it, then aim at a surface |
cleaning_rag | Cleaning Rag | Wiping a spray tag off with /cleantag |
Pick the file in install/ that matches your inventory:
| File | For |
|---|---|
install/ox_inventory.txt | ox_inventory (Qbox, ND Core, ox_core). Paste into ox_inventory/data/items.lua |
install/qb_items.txt | QBCore inventories and qs-inventory. Paste into the shared items list |
install/esx_items.sql | ESX. Run once on your database |
With Config.Inventory = 'none', spray tags need no item.
Staff
Staff can make permanent and locked scenes, read from further away and remove anyone's scene. The
scenes.staff ACE gives it, and framework groups named admin, superadmin, god and mod also count.
Updating
Replace every file except your custom/ folder. Scenes are in the database, so they stay. Keep config changes
in custom/shared/ so updates never undo them. See Custom servers.