Installation
Installation
Dependencies
Before installing, make sure ox_lib is present and started on your server. It is a hard dependency.
Steps
- Place the
bupa-animposfolder inside your resources directory (for exampleresources/[bupa]/bupa-animpos). - Ensure the resource in your
server.cfgafter ox_lib. - Set
Config.Frameworkinconfig.luato match your server. - (Optional) Configure ACE permissions if you use
Config.Permission.Type = 'ace'. - Set your language with the
ox:localeconvar. - Restart the server.
server.cfg — ensure order
ox_lib must start before BUPA AnimPos.
ensure ox_lib
ensure bupa-animposFramework
Open config.lua and set the framework value. This drives which core resource is loaded and which metadata restrictions apply.
Config.Framework = 'qbox' -- qbox / qbcore / esx / standaloneOn standalone and esx, framework metadata restrictions (dead / last stand / handcuffed) are skipped — only the native checks (vehicle / falling / swimming) apply.
ACE permission (only if Type = 'ace')
If you enable permissions with Type = 'ace', grant the ACE object defined in Config.Permission.Ace (default animpos.use) to the principals that should be allowed. Add the line to your server.cfg or a permissions config.
# allow a whole group
add_ace group.admin animpos.use allow
# or allow a specific principal
add_ace identifier.license:xxxxxxxxxxxxxxxx animpos.use allowLanguage
Set the active language globally via the ox:locale convar. It must be a setr (replicated) convar so the client can read it.
setr ox:locale "tr"Available codes: en, tr, de, fr, es, pt, ru. See the Localization page for details.