Using exports the right way
Call Atlas facades instead of digging into core internals.
Rule
Consumer resources use @atlas_core/imports.lua and call Atlas.*.
Checklist
shared_script '@atlas_core/imports.lua'- Gate on
Atlas.IsReady() - Mutate money/items/jobs only on the server
- Branch inventory on
{ ok, error } - Never
exports.ox_inventoryfrom gameplay
Quick reference
See Exports & Public API for the full table.
Debug
text
atlas_health
atlas_inventory_statusIf health is dirty, fix dependencies before blaming your script.
Atlas