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. Simple Garage

Usage

  • Finding a Garage

    • Each configured garage places an NPC at npcCoord and a blip on the map (if configured).

    • Players see a β€œGarage” icon (blip) and can walk up to the NPC to open the garage menu.

  • Opening the Garage Menu

    • When close to the NPC, a prompt (e.g., Press E to open the garage) appears.

    • Pressing E opens a NUI menu showing stored vehicles, including whether they’re parked or currently out in the world.

  • Storing a Vehicle

    • Players must drive the vehicle to the parkCoord near the same garage NPC.

    • A prompt (Press E to park your car) appears if they own that vehicle.

  • Retrieving a Vehicle

    • From the NUI list, selecting a vehicle calls a server check (stg-garage:getVehicleStatus).

    • If the vehicle is β€œin world,” players might need to pay the retrieval fee if not already in the parking.

    • The script spawns the vehicle at one of the spawnCoords for that garage.

  • Cooldown / Timer

    • Once players have paid and triggered retrieval, the script sets a countdown (retrieveCars[plate]) preventing immediate repeated calls.

    • The retrieval timer is processed in a server loop (Citizen.CreateThread) decreasing each second.

  • Favorite Vehicles

    • If enabled, players can mark a vehicle as β€œfavorite,” so it appears in a separate tab or gets a special label.

PreviousConfigurationNextFAQ / Troubleshooting

Last updated 4 months ago

πŸš—
πŸ•΅οΈβ€β™‚οΈ