RISK SCRIPTS
TEBEXDISCORD
  • Welcome to RISK DOCUMENTAION
  • Discord Integration
    • Discord Webhooks
    • Discord Bot Token
  • SCRIPTS
    • πŸ””Notify
      • βš™οΈInstallation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ & Troubleshooting
    • 🚚Cargo Job
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ & Troubleshooting
    • πŸ–ΌοΈLoadingscreen
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • Driving-School
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ & Troubleshooting
    • 🎣FREE AFK Fishing Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🚘Vehicle Shop
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🐝Beekeeping Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ”ŽAdvanced Metal Detector Script
      • πŸ“Editable
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ›οΈ24/7 Market
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ›οΈWeapon Market
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ›οΈBlack Market Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸš—Simple Garage
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🎲4 in Row Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸŽ’Outfit Bag Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • βš™οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ”˜Radial Menu
      • πŸ’‘Installation
      • βš™οΈCommands & Event Triggers
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ—’οΈTicTacToe / X and O
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🏦Simple Banking System
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • βš™οΈAdvanced Crafting System
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🚜Farming System
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ•Pizza Delivery Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🍾Spin the Bottle
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸŽ‡Firework Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ“¦Blindfold
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
Powered by GitBook
On this page
  1. SCRIPTS
  2. Loadingscreen

Usage

  • Player Connecting

    • Placeholder values shown on FIRST JOIN only.

          // Placeholder values shown on FIRST JOIN only.
          // These values are DISPLAY-ONLY – players do NOT receive this money or job in-game.
          firstJoin: {
              money: 12500,           // Money to display
              job: "Unemployed"      // Job placeholder
          }
      };
    • NUI receives this via def.handover().

  • Loading Screen

    • html/index.html reads config.js to:

      • Show background (video or image).

      • Spin through songs with cover art.

      • Render social buttons.

      • Display stats: Name, $bank, Job.

  • Client Events

    • Listens for ESX/QBCore events (playerLoaded, setAccountMoney, setJob) to push updated stats via SendNUIMessage.

  • Server Events

    • On playerDropped / OnPlayerUnload, stores the last char’s name, money, and job back into your risk_lastchar table.

PreviousConfigurationNextFAQ / Troubleshooting

Last updated 1 month ago

πŸ–ΌοΈ
πŸ•΅οΈβ€β™‚οΈ