Achievements
π Achievements Script Documentation
βοΈ Setup Instructions
1. SQL Import
achievements.sql2. Config Setup
Config = {
System = {
Debug = true, -- Show debug zones for achievement areas
Menu = "ox", -- Menu type: "qb", "ox"
Notify = "qb", -- Notifications: "qb", "ox", "esx", "okok", "gta"
ProgressBar = "ox", -- Progress bars: "qb", "ox"
},
Crafting = {
showItemBox = true, -- Only works if your inventory supports item boxes
},
OpenUICommand = 'achievements', -- Command to open achievements menu
NotificationTimeout = 10, -- Time (in seconds) the earned notification is shown
}π Achievement Structure
Fields:
Field
Description
π§ How It Works
π§Ύ Database Initialisation
π Updating Progress
π« Removing Progress (Optional)
π₯οΈ UI Integration
π Open Menu
π¦ What Happens:
π Achievement Earned Notification
Example UI Data Sent:
π§© Available Exports
Export
Description
π§ͺ Example Integration
Last updated