Configuration
Config = {}
Config.Settings = {
Marker = {
Type = 1,
ColorR = 255,
ColorG = 0,
ColorB = 0,
}
}
Config.Shops = {
['shop'] = { -- give alyways a shop a new name, there shouldnt be shops with the same name!!
positions = {
vector3(374.2262, 327.8097, 103.5663),
vector3(378.9815, 318.0652, 103.3640)
},
showMarker = true,
job = "none", -- if "none" then its for all players
blip = {
enabled = true,
sprite = 100,
color = 1,
scale = 1.0,
text = "Supermarket"
},
isBlackMarket = false,
UiTitle = "Supermarket",
items = {
{
name = "rod", -- need to be in caps if weapon
label = "Angel",
ammo = 900, -- if weapon otherwise write 0
price = 150
},
{
name = "bread", -- need to be in caps if weapon
label = "Brot",
ammo = 900, -- if weapon otherwise write 0
price = 50
},
{
name = "water", -- need to be in caps if weapon
label = "Water",
ammo = 900, -- if weapon otherwise write 0
price = 50
},
{
name = "fixkit", -- need to be in caps if weapon
label = "Repairkit",
ammo = 900, -- if weapon otherwise write 0
price = 300
},
{
name = "medikit", -- need to be in caps if weapon
label = "Medikit",
ammo = 900, -- if weapon otherwise write 0
price = 1500
},
{
name = "phone", -- need to be in caps if weapon
label = "Handy",
ammo = 900, -- if weapon otherwise write 0
price = 1000
},
{
name = "waffenteile", -- need to be in caps if weapon
label = "Schrauben",
ammo = 900, -- if weapon otherwise write 0
price = 500
},
{
name = "lachs", -- need to be in caps if weapon
label = "Lachs",
ammo = 900, -- if weapon otherwise write 0
price = 100
},
{
name = "ring", -- need to be in caps if weapon
label = "Ring",
ammo = 900, -- if weapon otherwise write 0
price = 2000
},
}
}
}
Config.ClientNotify = function(title, msg)
TriggerEvent("esx:showNotification", title, msg)
end
Config.ServerNotify = function(src, title, msg)
TriggerClientEvent("esx:showNotification", src, title, msg)
end
Config.ShowHelpNotify = function(text)
ESX.ShowHelpNotification(text)
end
Config.BanTrigger = function(src, reason)
TriggerEvent("EasyAdmin:BanPlayer", src, reason)
end
Config.Locales = {
serverName = "Fusion",
pressE = "Press ~INPUT_CONTEXT~ to open the Shop",
notEnoughMoney = "Du hast leider nicht genug Geld.",
configurationError = "Das hat leider nicht geklappt! Bitte kontaktiere einen Administrator.",
buySuccess = "Du hast erfolgreich gekauft!",
UI = {
cash = "BARGELD",
bank = "KARTE",
blackmoney = "SCHWARZGELD",
supermarket = "Supermarket",
buy = "KAUFEN",
totalPrice = "GESAMTPREIS",
priceSymbol = "$"
}
}
Last updated