HRScripts Documentation
  • HRScripts Documentation
  • Resources
    • 📚HRLib
      • Classes
        • HRLibConfig
        • HRLibClientFPlayer
        • HRLibServerFPlayer
        • HRLibClientIPlayer
        • HRLibServerIPlayer
        • HRLibCloseIPlayer
        • HRLibCloseFPlayer
        • HRLibBlipOptions
        • HRLibBlipForCoordOptions
        • HRLibBlipForEntityOptions
        • HRLibBlipForAreaOptions
        • HRLibBlipForPickupOptions
        • HRLibInputDialogueTextOptions
        • HRLibVehicleProperties
      • Modules
        • Bridge
          • Shared
          • Client
          • Server
        • Callbacks
          • Shared
          • Client
          • Server
        • Closest
          • Client
        • Controls Disable
          • Client
        • CreateBlip
          • Client
        • DiscordMsg
          • Server
        • DoesIdExist
          • Shared
        • FPlayer
          • Shared
          • Client
          • Server
        • GetPedsInVehicle
          • Client
        • GetPedWeapons
          • Client
        • GetPlayers
          • Client
        • GetVehicleDoorStatus
          • Client
        • GetVehicleFromPlate
          • Client
        • Interface
          • Client
          • Server
        • IPlayer
          • Client
          • Server
        • PlayerIdentifiers
          • Server
        • RadomValueWithNoRepetition
          • Shared
        • RegCommand
          • Client
          • Server
        • Resource
          • Shared
          • Server
        • SpawnVehicle
          • Shared
        • Streaming
          • Client
        • string
          • Shared
        • table
          • Shared
        • ToVector
          • Shared
        • TrackingEntities
          • Client
            • Functions
            • Events
        • Values
          • Shared
          • Client
        • VehicleProperties
          • Client
          • Server
        • SetDefaultPedVariation
          • Shared
    • HRGarages
      • Classes
        • HRGaragesConfig
        • HRGaragesVehicleInfo
        • HRGaragesClientFunctions
      • Exports
        • Server
    • 📦HRStorages
      • Exports
        • Client
        • Server
      • Callbacks
      • Commands
    • 🧹HRComserv
    • 🥷HRHostage
    • HRAdminMenu
      • Events
      • Exports
        • Client
        • Server
      • State Bags
    • ☑️HRWhitelist
    • HRExtraCommands
    • 🚦HRRealisticTraffic
    • 🗣️HRNPCDialogue
      • Classes
Powered by GitBook
On this page
  1. Resources
  2. HRGarages
  3. Classes

HRGaragesConfig

Fields

  • language: string<2>

  • pedInteraction: 'target'|'key'

  • interactionSettings: { target: { distance: number, translation: { optionLabel: string } }, key: { distance: number, keyToInteract: string, translation: { textUIDescription: string } } }

  • garagePeds: string[]|integer[]

  • garagesBlip: { blipLabel: string, blipSprite: integer<921>, blipScale: number, blipColor: integer<85>, asShortRange: boolean }

  • storePoints: { markerType: integer, showInteractDistance: number, showTextUIDistance: number, color: { r: integer<255>, g: integer<255>, b: integer<255> }, alpha: number, interactKey: string, textUILabel: string }

  • impoundGarages: { impoundFee: integer, feeAccount: 'cash'|'bank', blipSettings: { blipLabel: string, blipSprite: integer, blipScale: number, blipColour: integer }, garagesCoords: { pedPosition: vector4, spawnCoords: vector4[] }[] }

  • rentACar: { enable: boolean, finesAccount: 'cash'|'bank', rentACarAccount: 'cash'|'bank', cars: { model: string, price: integer, fine_markup: integer, finePer10PercentDamage: integer }[] }

  • commands: { enable: boolean, commandsSettings: { enable: boolean, isRestricted: boolean, name: string, description: string, suggestions: { name: string, help: string }[] }[] }

  • jobGarages: { blip: { scale: number, displayId: integer, asShortRange: boolean }, garagesPositions: { blipSprite: integer, blipColor: integer<85>, includeImpoundGarage: boolean?, jobs: string[], vehiclesList: string[], coords: { impoundBlipWaypointCoords: vector2?, pedCoords: vector4, spawnCoords: vector4[] } }[] }

PreviousClassesNextHRGaragesVehicleInfo

Last updated 28 days ago