Shared Configuration
Change the configuration.
PEAK_SH = {}
PEAK_SH.Locales = { -- Locales are the translations for the hud.
Backend = { -- The translations for the backend.
Client = {
SavedSettings = "Deine Einstellungen wurden gespeichert!",
ResetSettings = "Deine Einstellungen wurden zurückgesetzt!",
},
Server = {
DefaultAnnouncementTitle = "Ankündigung",
ConsoleAnnouncementAuthor = "Server",
DefaultAnnouncementNoTextMessage = "Kein Text angegeben!",
DefaultAnnouncementNoPermissionMessage = "Du hast keine Berechtigung um diese Aktion auszuführen!",
},
},
Frontend = { -- The translations for the frontend.
account = {
amountUnit = "$",
notificationPositive = "+",
notificationNegative = "-",
},
accounts = {
moneyLabel = "Bargeld",
bankLabel = "Bank",
blackMoneyLabel = "Schwarzgeld",
},
chat = {
placeholder = "Text eingeben...",
send = "Senden",
suggestion = "Vorschlag",
},
infos = {
name = "Peak",
type = "RolePlay",
},
minimapRight = {
jobTitle = "Beruf",
},
notifications = {
info = "Information",
success = "Erfolg",
warning = "Warnung",
error = "Fehler",
item = "Inventar",
teamchat = "Teamchat",
lifeinvader = "Lifeinvader",
},
playerInfos = {
playerLabel = "Spieler:",
idLabel = "ID:",
},
settings = {
hudTitle = "HUD",
configSubtitle = "Konfiguration",
closeKey = "Esc",
closeDesc = "um abzubrechen",
reset = "Zurücksetzen",
save = "Speichern",
label = "Einstellung",
},
},
}
PEAK_SH.RequestESX = function() -- RequestESX is the function that requests the es_extended shared object.
if IsDuplicityVersion() then
-- server
return exports['es_extended']:getSharedObject()
else
-- client
return exports['es_extended']:getSharedObject()
end
end
Last updated on