OTHERPLANET DOCS
CtrlK
  • 🪐About US
  • 💻Scripts
    • 🅿️OP Garages V2
      • Installation
      • Tutorials
        • Vehicles not shown in Garage
        • How to add player to Garage Admin
      • Configuration
      • Customization
      • Housing Integration
      • Garage Admin Usage
      • Admin Commands
      • Plate Changer
      • Sub Owners
      • Currency Change
      • ByPass Vehicle Types
      • Script Integrations
        • nolag-properties
        • ps-housing
        • qs-smartphone
        • lb-phone
        • gks-phone
        • y-series phones
    • 🔫OP Crime Organisations
      • Installation
      • Tutorials
        • How to add player to Crime Admin
      • Config Files
      • Customization
      • Tablet as Item
      • Global States
      • Exports
        • Server Side
    • 🎁OP Container Wars
      • Installation
      • Tutorials
        • How to add player to Admin List?
      • Configuration
      • Multiple Rewards
      • Customization
      • Time Zones
    • 🗒️OP Requests
      • Installation
      • Config
      • Usage
    • 🌇OP HUD
      • Config File
      • Instalation
      • Progress Bar Usage
      • Notify Usage
      • Alcohol Status & Stamina
    • 🏎️OP Vehicle Theft
      • Installation
      • OX Inventory
      • Translate Sounds
      • Config
      • Customization
Powered by GitBook
On this page
  • Useful Article
  • MainConfig.lua
  1. 💻Scripts
  2. 🅿️OP Garages V2

Currency Change

Read this article if you would like to change script currency from USD to your custom.

Useful Article

LogoIntl.NumberFormat - JavaScript | MDN

MainConfig.lua

Config.CurrencySettings = {
    -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
    currency = "USD",
    style = "currency",
    format = "en-US"
}

PreviousSub OwnersNextByPass Vehicle Types

Last updated 2 months ago