Player Loading System

Overview

Automatically hides the HUD and minimap until the player is fully loaded into the game.

Events

QBCore

  • QBCore:Client:OnPlayerLoaded β†’ Show HUD

  • QBCore:Client:OnPlayerUnload β†’ Hide HUD

ESX

  • esx:playerLoaded β†’ Show HUD

  • esx:onPlayerLogout β†’ Hide HUD

Commands

  • /togglehud β†’ Toggle HUD manually (only if loaded)

  • /inithud β†’ Initialize HUD (standard)