SAFScriptsDocs

Troubleshooting

On this page

The resource doesn't start

SAF Scenes needs ox_lib and oxmysql running first. Check that ensure ox_lib and ensure oxmysql come before ensure saf-scenes in server.cfg, and that oxmysql can connect to your database.

A scene shows mirrored or not at all on a wall

Some walls face the other way in the game's data. Set Config.FlipWinding = true. If the text then reads backwards, set Config.MirrorU = true as well.

Scenes vanish when several are close together

Only Config.Slots scenes are drawn at once, nearest first. Raise it if you have many scenes in one spot. Each slot uses one small browser texture.

"You have too many scenes"

The player is at Config.MaxPerPlayer. They can remove one with /sceneremove, or wait for one to expire.

The filter folds look-alike characters and matches Config.BlockPatterns, so .com inside a longer word is caught. Remove or narrow the pattern in custom/shared/.

Using the spray can does nothing

  • On ox_inventory, the item needs the client = { event = 'saf-scenes:client:spray' } line from install/ox_inventory.txt.
  • On other inventories, the item must be usable (useable = true on QBCore).

/cleantag says I need a cleaning rag

Add the cleaning_rag item from install/ and give one to the player. With Config.Inventory = 'none' no item is needed.

Players can't make permanent scenes

Permanent scenes (expiry 0) and locked scenes are for staff only. Give the scenes.staff ACE.

Discord log is empty

Config.Webhook is ''. Paste a full Discord webhook link to turn it on.

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

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