Config File
r_Config = {}
r_Config.Framework = 'newqb' -- Supported frameworks: oldqb, newqb
r_Config.SQL = 'oxmysql' -- Supported SQLs: mysql, ghmattimysql, oxmysql
r_Config.InventoryWeight = 120000 -- It's important!! You need to enter the correct weight number for the script to work correctly.
r_Config.Language = 'en' -- Currently available languages: English (en), Turkish (tr)
r_Config.OpenKey = 38 -- Dealer open key 38 (E) button
r_Config.NotifyDuration = 5000 -- Notify duration ms (miliseconds)
r_Config.AddStockCommand = 'addStock' -- You can change add stock command from here.
r_Config.SaveStockCommand = 'saveStock' -- You can change stock save command from here.
r_Config.StockSaveMinute = 5 -- 5 minutes
r_Config.EnableCreateDeleteLog = true -- Enables created and deleted print message.
r_Config.UseTarget = true -- Supported target scripts: qb-target
r_Config.TargetIcon = 'fa-solid fa-person-rifle' -- You can change target icon from here.
r_Config.ShowGundealerName = true -- Shows gundealer's name on texts.
r_Config.EnableVehicle = true -- Enables dealer's car.
r_Config.ShowWeight = true -- Shows item total weight.
r_Config.Weight = 'kg' -- Weight text kg, lb etc.
r_Config.PaymentMethod = 'cash' -- Payment methods: cash, bank
r_Config.CurrencySettings = {
Position = 'left', -- Available positions: left, right
Currency = '$'
}
r_Config.PedModels = { -- You can add peds from here.
'mp_m_weapexp_01',
's_m_y_armymech_01',
'csb_car3guy1',
's_m_m_bouncer_01',
'g_m_m_chiboss_01'
}
r_Config.VehicleModels = { -- You can add vehicles from here.
'dukes3',
'drafter',
'jugular'
}
r_Config.Locations = { -- You can add dealer locations from here.
['Sandy_Shores_Airport'] = { -- Dealer Location name
PedName = 'Edward', -- Dealer name
PedCoords = vector4(1739.34, 3259.85, 40.3, 292.42), -- Dealer coords
VehicleCoords = vector4(1738.1, 3259.71, 40.86, 180.05), -- Dealer's vehicle coords
SpawnHour = 7, -- Dealer spawn hour
DeleteHour = 8 -- Dealer delete hour
},
}
r_Config.Weapons = { -- You can add weapons from here.
['Sandy_Shores_Airport'] = { -- Weapon location must be same with r_Config.Locations
['weapon_smg'] = { -- Weapon code
Name = 'SMG', -- Weapon display name
Image = 'rpg.png', -- Weapon display image
Description = 'SMG is a fire arm.', -- Weapon description
BulletType = 'smg_ammo', -- Weapon bullet code
BulletPrice = 40, -- 1x Bullet price
Price = 7800, -- Weapon price
Rarity = 'rare', -- Weapon rarity
Stock = 5 -- Weapon stock
},
},
}Last updated