Ce script affiche un logo personnalisé dans l’interface (NUI) de votre serveur FiveM. Il est léger, autonome et entièrement configurable (position, taille min/max, largeur en vw, opacité).
- Frameworks: fonctionne avec ESX, vRP ou en standalone
- Dépendances: aucune
- Type: NUI (HTML/CSS/JS)
- Affichage du logo via NUI
- Position configurable: haut droite, bas droite, haut centre, haut gauche
- Taille responsive: largeur en vw + garde-fous min/max en px
- Opacité ajustable
- Sans dépendance externe
- Copier le dossier
aps_logodansresources. - Ajouter à votre
server.cfg:ensure aps_logo - Démarrer/recharger le serveur.
Modifier config.lua:
Config.Position = "bottom-right" -- "top-right" | "bottom-right" | "top-center" | "top-left"
Config.WidthVW = 10 -- largeur en vw (10 = 10% de la largeur écran)
Config.MinWidth = 80 -- largeur minimale en px
Config.MaxWidth = 200 -- largeur maximale en px
Config.Opacity = 0.9 -- 0.0 (transparent) → 1.0 (opaque)- Positions disponibles:
"top-right": en haut à droite"bottom-right": en bas à droite"top-center": en haut centré"top-left": en haut à gauche
- Remplacez l’image
html/logo.pngpar votre propre logo (même nom de fichier conseillé). - Si vous changez le nom, mettez à jour le
srcdanshtml/index.html. - Ajustez les styles avancés dans
html/style.css. Les classes de position disponibles:.logo-top-right,.logo-bottom-right,.logo-top-center,.logo-top-left
client.luaenvoie la configuration au NUI au démarrage du resource (SendNUIMessageavecaction = "setConfig").html/index.htmlapplique dynamiquement la config (position, largeur vw, min/max px, opacité).html/style.cssdéfinit les classes de position et utilise des variables CSS pour la taille.
- Logo trop grand/petit: ajustez
WidthVW,MinWidth,MaxWidth. - Logo trop transparent: augmentez
Opacityvers1.0. - Logo mal positionné: vérifiez
Config.Positionet les classes CSS correspondantes.
fx_version: cerulean- Jeu: gta5
- NUI compatible avec la plupart des builds FiveM récents.
- Auteur: Aiden Project Studio
- Nom du resource:
aps-logo - Version: 1.0.0
This script displays a custom logo in your FiveM server HUD using NUI. It’s lightweight, standalone, and fully configurable (position, min/max size, vw width, opacity).
- Frameworks: works with ESX, vRP, or standalone
- Dependencies: none
- Type: NUI (HTML/CSS/JS)
- Logo display through NUI
- Configurable position: top-right, bottom-right, top-center, top-left
- Responsive sizing: vw width + min/max px guards
- Adjustable opacity
- No external dependencies
- Copy the
aps_logofolder intoresources. - Add to your
server.cfg:ensure aps_logo - Start/restart the server.
Edit config.lua:
Config.Position = "bottom-right" -- "top-right" | "bottom-right" | "top-center" | "top-left"
Config.WidthVW = 10 -- width in vw (10 = 10% of screen width)
Config.MinWidth = 80 -- minimum width in px
Config.MaxWidth = 200 -- maximum width in px
Config.Opacity = 0.9 -- 0.0 (transparent) → 1.0 (opaque)- Available positions:
"top-right": top right"bottom-right": bottom right"top-center": top center"top-left": top left
- Replace
html/logo.pngwith your own logo (same filename recommended). - If you rename it, update the
srcinhtml/index.html. - Tweak advanced styles in
html/style.css. Available position classes:.logo-top-right,.logo-bottom-right,.logo-top-center,.logo-top-left
client.luasends config to NUI on resource start (SendNUIMessagewithaction = "setConfig").html/index.htmlapplies config dynamically (position, vw width, min/max px, opacity).html/style.cssdefines position classes and uses CSS variables for sizing.
- Logo too big/small: adjust
WidthVW,MinWidth,MaxWidth. - Logo too transparent: increase
Opacitytowards1.0. - Wrong position: check
Config.Positionand matching CSS classes.
fx_version: cerulean- Game: gta5
- NUI compatible with most recent FiveM builds.
- Author: Aiden Project Studio
- Resource name:
aps-logo - Version: 1.0.0
- 1.0.0: Première version / Initial release