Standalone ESC menu. It replaces the native GTA pause screen. It runs with QBCore, with ESX, or with neither. It does not require another Nova script.
- Framework: With QBCore it reads the character name, job, gang, phone, cash, and bank. With ESX it reads the same fields. With neither it shows the player name, server id, and ping. Ensure order does not matter.
- Camera: Opening the menu eases the camera in front of the player. Inside a vehicle it frames the vehicle. Set
Config.CharacterScenarioto play a pose on foot. The pose stays off while the player is entering a car. - Languages:
Config.Localeis'en'or'tr'. Every label in the menu comes fromconfig.lua. - Players: Online list with id, name, ping, and a search box.
- Server page: Hostname, player count, uptime, Discord link, announcement, rules, and the key list.
- Map and settings: Those buttons open the native GTA map or the native settings page.
- Disconnect: Asks for confirmation, then drops the player with
Config.DisconnectReason. - HUD: If
nova-hud,qb-hud, orps-hudis started, the menu hides it and shows it again on close. None of them is required. - Browser preview: Open
html/index.htmlin a browser to view the layout with sample data. The sample language follows the browser. - Version check: On start,
version.jsonis compared withmainongithub.com/msaber07/nova-pausemenu. A newer version prints a line in the server console.
- Copy the folder to
resources/[standalone]/nova-pausemenu. - Edit
config.lua: Discord invite, announcement, rules, key list, andConfig.Locale. - Write the Discord value as
discord.gg/yourserver. Do not addhttps://. - Add
ensure nova-pausemenutoserver.cfg.
Config.Locale = 'en' -- 'en' or 'tr'
Config.Discord = 'discord.gg/yourserver'
Config.SubLabel = 'v1.1.0'
Config.Announce = {
tr = 'Hafta sonu 2x maaş etkinliği aktif!',
en = 'Weekend 2x salary event is active!'
}Rules and the key list are in the same file, each with a tr and an en entry.
exports['nova-pausemenu']:OpenMenu()
exports['nova-pausemenu']:CloseMenu()
local isOpen = exports['nova-pausemenu']:IsOpen()You may use and edit this resource on your own FiveM server. You may not sell it, bundle it into a paid package, or redistribute it under another name. The Nova name stays on the resource.
ESC tuşunda GTA'nın kendi duraklatma ekranının yerine açılan bağımsız menü. QBCore, ESX veya ikisi de yokken çalışır. Başka bir Nova scripti gerekmez.
- Framework: QBCore varsa karakter adı, meslek, çete, telefon, nakit ve banka oradan okunur. ESX varsa aynı alanlar ESX'ten okunur. İkisi de yoksa oyuncu adı, id ve ping gösterilir.
ensuresırası fark etmez. - Kamera: Menü açılınca kamera oyuncunun önüne gelir. Araçtaysa aracı kadrajlar.
Config.CharacterScenarioyaya poz verir. Araca binerken poz çalışmaz. - Dil:
Config.Localedeğeri'en'veya'tr'. Menüdeki bütün yazılarconfig.luaiçindedir. - Oyuncular: Id, ad, ping ve arama kutusu.
- Sunucu sayfası: Sunucu adı, oyuncu sayısı, uptime, Discord, duyuru, kurallar ve tuş listesi.
- Harita ve ayarlar: Bu iki düğme GTA'nın kendi haritasını veya ayar sayfasını açar.
- Ayrıl: Onay sorar, sonra oyuncuyu
Config.DisconnectReasonile düşürür. - HUD:
nova-hud,qb-hudveyaps-hudaçıksa menü onu gizler ve kapanınca geri açar. Hiçbiri zorunlu değildir. - Tarayıcı önizleme:
html/index.htmldosyasını tarayıcıda aç. Örnek veri, tarayıcı diline göre TR veya EN gelir. - Sürüm kontrolü: Açılışta
version.json,github.com/msaber07/nova-pausemenuüzerindekimainile karşılaştırılır. Yeni sürüm varsa konsola yazılır.
- Klasörü
resources/[standalone]/nova-pausemenualtına kopyala. config.luaiçinde Discord, duyuru, kurallar, tuş listesi veConfig.Localedeğerini düzenle.- Discord değerini
discord.gg/yourserveryaz. Başınahttps://ekleme. server.cfgiçineensure nova-pausemenuekle.
exports['nova-pausemenu']:OpenMenu()
exports['nova-pausemenu']:CloseMenu()
local isOpen = exports['nova-pausemenu']:IsOpen()Kendi FiveM sunucunda kullanabilir ve düzenleyebilirsin. Bu kaynağı satamazsın, ücretli bir pakete koyamazsın ve başka bir adla dağıtamazsın. Nova adı resource üzerinde kalır.