SHOWCASE !
Features:
• Fancy UI + auto-rotating objects
• Ability to navigate menus using arrows, enter (to buy), mouse cursor.
• Easily configurable color theme using config.lua
• Weapon components are made as Item
• Script easy to configure.
• Compatibility with Onesync & OneSync Infinity.
• 0.00ms resmon outside the interior.
• 0.03ms resmon if using weaponshop.
• Translation.
• Full support.
Config.lua:
Config = {}
Config.Core = "ESX" -- "ESX" or "QB-Core"
Config.DistanceView = 15.0
Config.DistanceAccess = 1.2
Config.DisplayRadarAfterClose = false
Config.Notification = function(text, type)
if type == 'success' then
exports["vms_notify"]:Notification("Ammu-Nation", text, 3950, '#38d662', 'fa-solid fa-gun')
elseif type == 'error' then
exports["vms_notify"]:Notification("Ammu-Nation", text, 3950, '#d63838', 'fa-solid fa-gun')
end
end
Config.Marker = {
Enabled = true,
Type = 29,
Size = vec(.22, .22, .22),
Color = {245, 245, 20, 95},
Bouncing = true,
Rotating = true,
}
Config.UI_Color = {255, 189, 19}
Config.Blips = {
Sprite = 119,
Scale = 0.85,
Display = 4,
Color = 5,
}
Config.Zones = {
{
enableBlip = true,
shopName = "Ammu-Nation",
position = vector3(22.15, -1106.82, 28.8),
camera = {
x = 22.15, y = -1106.82, z = 30.22,
rotate_x = 0.0, rotate_y = -1.0, rotate_z = -20.33070892096
},
objectPosition = vector3(22.33, -1106.29, 30.29)
},
}
Config.Texts = {
['nomoney'] = "You don't have enough money for that.",
['bought'] = "You bought.",
}
Config.Items = {
["hand"] = {
{
label = "KNIFE",
item = "WEAPON_KNIFE",
price = 240,
object = "WEAPON_KNIFE",
damage = 40, range = 0.1, speed = 0.1
},
{
label = "KNUCKLE",
item = "WEAPON_KNUCKLE",
price = 540,
object = "WEAPON_KNUCKLE",
damage = 30, range = 0.1, speed = 0.1
},
{
label = "SWITCHBLADE",
item = "WEAPON_SWITCHBLADE",
price = 600,
object = "WEAPON_SWITCHBLADE",
damage = 40, range = 0.1, speed = 0.1
},
{
label = "HAMMER",
item = "WEAPON_HAMMER",
price = 500,
object = "WEAPON_HAMMER",
damage = 50, range = 0.1, speed = 0.1
},
{
label = "GOLF CLUB",
item = "WEAPON_GOLFCLUB",
price = 1000,
object = "WEAPON_GOLFCLUB",
damage = 40, range = 0.1, speed = 0.1
},
},
["pistols"] = {
{
label = "PISTOL",
item = "weapon_pistol",
price = 12000,
object = "WEAPON_PISTOL",
damage = 45, range = 45, speed = 45
},
{
label = "COMBAT PISTOL",
item = "weapon_combatpistol",
price = 8500,
object = "WEAPON_COMBATPISTOL",
damage = 65, range = 55, speed = 45
},
{
label = "SNS PISTOL",
item = "weapon_snspistol",
price = 7500,
object = "WEAPON_SNSPISTOL",
damage = 30, range = 15, speed = 55
},
},
}
Config.Categories = {
[1] = "hand",
[2] = "pistols",
[3] = "smg",
[4] = "rifle",
[5] = "magazines",
[6] = "components"
}
Config.DefaultCategory = Config.Categories[1]
Config.DefaultItem = Config.Items[Config.DefaultCategory][1]
-=Stripped Content=-