SAFScriptsDocs

Installation

On this page

SAF Scenes needs ox_lib and oxmysql. It finds your framework and inventory on its own.

Steps

  1. Put the saf-scenes folder in your resources folder.
  2. Add it to server.cfg, after ox_lib, oxmysql and your framework:
    server.cfg
    ensure ox_lib
    ensure oxmysql
    ensure saf-scenes
  3. Give your staff access:
    server.cfg
    add_ace group.admin scenes.staff allow
  4. Add the two items for your inventory. See Items.
  5. 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

ItemLabelUsed for
spray_canSpray CanPlacing a spray tag. Use it, then aim at a surface
cleaning_ragCleaning RagWiping a spray tag off with /cleantag

Pick the file in install/ that matches your inventory:

FileFor
install/ox_inventory.txtox_inventory (Qbox, ND Core, ox_core). Paste into ox_inventory/data/items.lua
install/qb_items.txtQBCore inventories and qs-inventory. Paste into the shared items list
install/esx_items.sqlESX. 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.

SAF Scripts by San Andreas' Finest StoreDiscordsupprot@safrp.org

Not affiliated with or endorsed by Rockstar Games, Take-Two Interactive or Cfx.re.