Config

๐Ÿ“˜ Config Documentation

This page describes all configuration options for the script. You can customize language, UI settings, map blips, shop behavior, pricing, and more.


๐Ÿงฑ Framework Choice

Config.Framework = 'ESX'

Available options:

  • QBcore โ€“ qb-core

  • ESX โ€“ es_extended


๐ŸŒ Language Settings

Config.language = 'en'

Available options:

  • pl โ€“ Polish

  • en โ€“ English

  • fr โ€“ French

  • it โ€“ Italian

  • pt โ€“ Portuguese

  • sv โ€“ Swedish

  • es โ€“ Spanish

  • de โ€“ German

  • tr โ€“ Turkish

Note: Translations were generated using online tools and may contain inaccuracies.


๐Ÿ–ฅ๏ธ UI Settings

Config.UseNrgScriptsCustomUi = true
  • If true, uses the custom NRG UI

  • If false, falls back to ox_lib default menu


๐Ÿง Target Choice

Config.UseTarget = 'ox_target'	
  • qb_target โ€“ Supports only NrgCustomUi

  • ox_target โ€“ Supports NrgCustomUi and ox_lib default menu


๐Ÿ—บ๏ธ Map Blip Settings

Config.Blip = true
Config.BlipShortRange = true
Config.BlipCoords = vector3(-1083.10, -245.79, 37.76)
Config.BlipSprite = 459
Config.BlipColor = 3
Config.BlipScale = 1.0
Config.BlipName = "Phone Operator"

๐Ÿง Sim Shop Ped Settings

Config.coords = vector4(-1083.10, -245.79, 37.76, 200.12)
Config.AddPedOnCoords = true
Config.PedModel = 'ig_molly'
Config.TargetSizeIfNotPed = vector3(2.0, 2.0, 2.0)
  • Spawns a ped (ig_molly) at the given coordinates

  • If no ped, interaction uses a box of the specified size


๐Ÿ›’ Shop Items

Config.AddUnregisteredItemToShop = true
Config.AddPhoneItemToShop = true
Config.MaxSimCard = 10
  • Adds both unregistered SIM cards and phones to the shop

  • Players can register up to 10 SIM cards


๐Ÿ’ธ Pricing

Config.prices = {
  registered = 100,
  unregistered = 80,
  duplicat = 80,
  phone = 250
}
  • Registered SIM: $100

  • Unregistered SIM: $80

  • Duplicate SIM: $80

  • Phone: $250


๐Ÿ” Unique Identifier

Config.uniqueitem = 'custom_number'
  • Required item to create a custom phone number


๐Ÿ‘ฎ Police Job Access

Config.PoliceJobs = { 'police' }
  • Define jobs considered as law enforcement


๐Ÿ“ฑ Phone Behavior

Config.ShowPhoneAfterTurnOn = false
  • If true, the phone UI opens immediately after activation


๐Ÿ’ณ Payment System

Config.Account = 'both'

Accepted values:

  • money โ€“ Cash only

  • bank โ€“ Bank balance only

  • both โ€“ Automatically uses either

  • Custom value โ€“ Use your own account logic


Last updated