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)