Agency Docs
Standalone

Agency-Elevator الإعدادات

نظام مصعد واقعي بواجهة Liquid Glass، مع اختيار الطوابق، وانتقالات ناعمة، وعلامات قابلة للضبط، ومؤثرات صوتية، وزمن.

v1.3.0مجاني3 صفحات

01الإعدادات

تثبيت سريع · config.lua · Agency-Elevator

تنزيل config.lua

-- ============================================================ -- Agency Elevator | v1.2.3 - Config -- ============================================================ -- -- ╔══════════════════════════════════════════════════════════╗ -- ║ ║ -- ║ ⚡ UPGRADE TO AGENCY-ESSENTIALS — 4-IN-1 PREMIUM ⚡ ║ -- ║ ║ -- ║ Get this Elevator + Notify + Reports + Progressbar ║ -- ║ in ONE re-brandable resource. ║ -- ║ ║ -- ║ • Ad-free — no watermarks, no forced branding ║ -- ║ • Fully re-brandable as your own (logo, name, colors) ║ -- ║ • Unified /aessentials in-game dashboard ║ -- ║ • 24 languages with live switching ║ -- ║ • QBCore / ESX / Standalone auto-detect ║ -- ║ ║ -- ║ ONLY EUR 4.99 — ONE-TIME PAYMENT ║ -- ║ https://agency-script.tebex.io/package/essentials ║ -- ║ ║ -- ╚══════════════════════════════════════════════════════════╝ -- -- ============================================================ Config = {} -- Language: 'en' | 'de' | 'fr' | 'es' | 'pt' | 'it' | 'nl' | 'pl' | 'tr' | 'cs' | 'ro' | 'ru' | 'sv' Config.Locale = 'en' -- Framework: 'auto' | 'qb' | 'qbx' | 'esx' | 'ox' | 'standalone' -- auto (recommended): detects QBox (qbx_core), QBCore, ESX or ox_core automatically. -- Job locks + grades are enforced on QBCore, QBox and ESX. ox_core is detected but -- its group-based jobs are not enforced (job-restricted floors stay open there). Config.Framework = 'auto' -- Text UI system: 'default' | 'jg-textui' -- default: Built-in 3D text drawn natively -- jg-textui: https://github.com/jgscripts/jg-textui Config.TextUISystem = 'default' -- Notification system: 'agency-notify' | 'framework' -- agency-notify (default): https://agency-script.tebex.io/package/6937769 -- framework: Uses QBCore/ESX built-in notifications -- If standalone, agency-notify is required! Config.NotifySystem = 'agency-notify' -- Key to interact with elevator (default: E) Config.InteractKey = 38 -- E -- Distance to show marker / interact Config.MarkerDistance = 15.0 Config.InteractDistance = 2.0 -- Marker settings Config.Marker = { type = 20, scale = vec3(0.5, 0.5, 0.3), color = {r = 59, g = 130, b = 246, a = 180}, bobUpAndDown = true, rotate = true, } -- Travel time in ms (simulated elevator travel) Config.TravelTime = 1000 -- Screen effect during travel Config.ScreenEffect = true -- Skip animation and simulated travel wait time (instant teleport) -- Useful when ScreenEffect is false – no fade means no reason to wait Config.SkipAnimation = false -- Ding sound on arrival (GTA native sound) Config.DingSound = true -- Configurator command (admin only) Config.ConfiguratorCommand = 'aelevator' -- Ace permission for configurator (set to false to allow everyone) Config.ConfiguratorPermission = 'command.aelevator'

02ملف SQL

استورد ملف SQL هذا إلى قاعدة بياناتك قبل تشغيل المورد:

CREATE TABLE IF NOT EXISTS `agency_elevator_settings` ( `key` VARCHAR(64) NOT NULL, `value` TEXT NOT NULL, PRIMARY KEY (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; INSERT IGNORE INTO `agency_elevator_settings` (`key`, `value`) VALUES ('elevator_position', 'left'), ('elevator_scale', '1.0'), ('config_position', 'center'), ('config_scale', '1.0'), ('accent_color', '#3b82f6'); CREATE TABLE IF NOT EXISTS `agency_elevators` ( `id` VARCHAR(64) NOT NULL, `label` VARCHAR(128) NOT NULL, `floors` LONGTEXT NOT NULL, `created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updated_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- Default elevators (can be edited/deleted in-game via /aelevator) INSERT IGNORE INTO `agency_elevators` (`id`, `label`, `floors`) VALUES ('pillbox_hospital', 'Pillbox Medical Center', '[{"label":"Ground Floor","coords":{"x":338.16,"y":-583.48,"z":28.80,"w":250.0}},{"label":"1st Floor","coords":{"x":338.16,"y":-583.48,"z":32.42,"w":250.0}},{"label":"2nd Floor","coords":{"x":338.16,"y":-583.48,"z":42.42,"w":250.0}},{"label":"Roof","coords":{"x":338.16,"y":-583.48,"z":52.42,"w":250.0}}]'), ('police_station', 'Mission Row PD', '[{"label":"Entrance","coords":{"x":443.02,"y":-982.08,"z":30.69,"w":90.0}},{"label":"Basement","coords":{"x":443.02,"y":-992.08,"z":25.69,"w":90.0}},{"label":"Upper Floor","coords":{"x":443.02,"y":-982.08,"z":36.69,"w":90.0}},{"label":"Roof","coords":{"x":443.02,"y":-982.08,"z":46.69,"w":90.0}}]'), ('maze_bank_tower', 'Maze Bank Tower', '[{"label":"Lobby","coords":{"x":-75.21,"y":-818.81,"z":326.17,"w":250.0}},{"label":"Floor 10","coords":{"x":-75.21,"y":-818.81,"z":340.17,"w":250.0}},{"label":"Floor 20","coords":{"x":-75.21,"y":-818.81,"z":360.17,"w":250.0}},{"label":"Penthouse","coords":{"x":-75.21,"y":-818.81,"z":380.17,"w":250.0}}]');

ما زلت عالقًا بعد هذه الصفحة؟ فريق الدعم يتولّى الأمر من هنا.