Configuration
Config = Config or {}
Config.NeededItem = "billingphone" -- or nil
Config.DefaultHotkey = "F7"
Config.EmoteOpen = "e phone"
Config.MaxReasonLength = 255
Config.MaxBilling = 50000
Config.MaxDistanceBetweenBoth = 25.0
Config.Jobs = {
["police"] = {
gradeRequired = 1
}
}
function Config.NotifyError(message)
TriggerEvent("rs_hud_v2:notification", "error", "Revolution | Billing", message, 5000)
end
Config = Config or {}
function Config.Payed(job, amount)
TriggerEvent('esx_addonaccount:getSharedAccount', string.format("society_%s", job), function(account)
account.addMoney(amount)
end)
end
function Config.NotifySuccess(source, message)
TriggerClientEvent("rs_hud_v2:notification", source, "info", "Revolution | Billing", message, 5000)
end
function Config.NotifyError(source, message)
TriggerClientEvent("rs_hud_v2:notification", source, "error", "Revolution | Billing", message, 5000)
end
Webhook = {}
Webhook.Settings = {
Color = 33791,
Username = "Revolution X Billing",
AvatarUrl =
"https://cdn.discordapp.com/attachments/1239662320859353168/1239662377964666911/ezgif-7-f059e35929.gif?ex=667dbf0e&is=667c6d8e&hm=450e2daf977cf31e17471c44cee0a18a25fb5d310cc170ed07b7621619d6fefe&",
IconURL =
"https://cdn.discordapp.com/attachments/1239662320859353168/1239662377964666911/ezgif-7-f059e35929.gif?ex=667dbf0e&is=667c6d8e&hm=450e2daf977cf31e17471c44cee0a18a25fb5d310cc170ed07b7621619d6fefe&",
Url =
"https://discord.com/api/webhooks/1254443982969372795/PNkmUuUcsEuVQNBB2HeW_gRRqQoz8RkI6rtI-cIWwQPM_NoLzHxFm2I9Tsd2rWQMrzKI"
}
Locale = {
["openBilling"] = "รffne Rechnungen",
["billNotFound"] = "Rechnung konnte nicht gefunden werden",
["notEnoughCash"] = "Du hast nicht genug Geld",
["pleaseWait"] = "Bitte warte noch ein augenblick",
["payedBillReceiver"] = "Du hast die Rechnung bezahlt",
["payedBillSender"] = "Die Ausgestellte Rechnung wurde bezahlt.\nSpieler: %s\nMenge: %s",
["notPermitted"] = "Du bist dazu nicht berechtigt",
["tooLong"] = "Der Text ist zu lang",
["tooMuch"] = "Eine Rechnung von einer so hohen Summe, kann man nicht ausstellen",
["playerNotOnline"] = "Ein Spieler mit dieser Id konnte nicht gefunden werden",
["tooFar"] = "Du bist zuweit vom Spieler entfernt",
["received"] = "Du hast eine Rechnung erhalten",
["send"] = "Du hast eine Rechnung fรผr %s in Hรถhe von %s$ erstellt",
["currency"] = "โฌ",
["title"] = "RS Billing",
["subtitle_bank"] = "Bank",
["subtitle_billing"] = "Billing",
["subtitle_1"] = "Rechnungen",
["create"] = "Ausstellen",
["seeCurrent"] = "Verwalten",
["seeOld"] = "Bezahlt",
["recentBillings"] = "Recent Billings",
["latestBillings"] = "Latest Billings",
["noItem"] = "Du hast nicht das benรถtigte Item"
}
:root{
/* Main Colors */
--main-clr: #3FBDFF;
--clr1: rgba(63, 189, 255, 0.35);
--clr2: rgba(63, 189, 255, 0.25);
--clr3: rgba(63, 189, 255, 0.10);
--shadow-clr1: rgba(63, 189, 255, 0.65);
/* Background Colors */
--bg-clr1: #1B2225;
--bg-clr2: #121619;
/* Money Colors */
--money-clr1: #8FFF00;
}
Last updated