forked from Simnation/Main
a
This commit is contained in:
parent
c85f395337
commit
4f18c5777f
3 changed files with 16 additions and 13 deletions
|
@ -7,7 +7,7 @@ Config.PriceModel = false
|
||||||
Config.CallKeyVehicles = true
|
Config.CallKeyVehicles = true
|
||||||
|
|
||||||
Config.Verwaltung = {
|
Config.Verwaltung = {
|
||||||
garage = true,
|
garage = false,
|
||||||
garage_change = 1000, -- Kosten um das Fahrzeug in einer anderen Garage zu versetzen.
|
garage_change = 1000, -- Kosten um das Fahrzeug in einer anderen Garage zu versetzen.
|
||||||
garage_time = 10, -- Zeit in Minuten bis das Fahrzeug in der neuen Garage ist!
|
garage_time = 10, -- Zeit in Minuten bis das Fahrzeug in der neuen Garage ist!
|
||||||
|
|
||||||
|
|
|
@ -10,18 +10,21 @@ table.insert(Integrations.modules[moduleType], moduleName)
|
||||||
|
|
||||||
-- This is just an EXAMPLE, so you have to edit it to make it work
|
-- This is just an EXAMPLE, so you have to edit it to make it work
|
||||||
Integrations[moduleType][moduleName].getSocietyMoney = function(societyName)
|
Integrations[moduleType][moduleName].getSocietyMoney = function(societyName)
|
||||||
local money = exports['example-banking']:getMoney(societyName)
|
--local money = exports['example-banking']:getMoney(societyName)
|
||||||
|
local money = exports['okokBanking']:GetAccount(society)
|
||||||
return money
|
return money
|
||||||
end
|
end
|
||||||
|
|
||||||
-- This is just an EXAMPLE, so you have to edit it to make it work
|
-- This is just an EXAMPLE, so you have to edit it to make it work
|
||||||
Integrations[moduleType][moduleName].giveMoneyToSociety = function(societyName, amount)
|
Integrations[moduleType][moduleName].giveMoneyToSociety = function(societyName, amount)
|
||||||
local success = exports['example-banking']:giveMoney(societyName, amount)
|
--local success = exports['example-banking']:giveMoney(societyName, amount)
|
||||||
|
local success = exports['okokBanking']:AddMoney(society, value)
|
||||||
return success -- Return true if success, false if not
|
return success -- Return true if success, false if not
|
||||||
end
|
end
|
||||||
|
|
||||||
-- This is just an EXAMPLE, so you have to edit it to make it work
|
-- This is just an EXAMPLE, so you have to edit it to make it work
|
||||||
Integrations[moduleType][moduleName].removeMoneyFromSociety = function(societyName, amount)
|
Integrations[moduleType][moduleName].removeMoneyFromSociety = function(societyName, amount)
|
||||||
local success = exports['example-banking']:removeMoney(societyName, amount)
|
--local success = exports['example-banking']:removeMoney(societyName, amount)
|
||||||
|
local success = exports['okokBanking']:RemoveMoney(society, value)
|
||||||
return success -- Return true if success, false if not
|
return success -- Return true if success, false if not
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--[[
|
--[[
|
||||||
BY RX Scripts © rxscripts.xyz
|
BY RX Scripts <EFBFBD> rxscripts.xyz
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
Config = {}
|
Config = {}
|
||||||
|
@ -12,7 +12,7 @@ Config.ReceiveMoney = {
|
||||||
}
|
}
|
||||||
|
|
||||||
Config.PlayerInvoices = {
|
Config.PlayerInvoices = {
|
||||||
enabled = true, -- Spieler können anderen Spielern Rechnungen senden
|
enabled = true, -- Spieler k<EFBFBD>nnen anderen Spielern Rechnungen senden
|
||||||
maxInvoices = 5, -- Maximal ausstehende Rechnungen pro Spieler
|
maxInvoices = 5, -- Maximal ausstehende Rechnungen pro Spieler
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,11 +21,11 @@ Config.JobInvoices = {
|
||||||
label = 'Polizei',
|
label = 'Polizei',
|
||||||
requiredGrade = 2,
|
requiredGrade = 2,
|
||||||
presetInvoices = {
|
presetInvoices = {
|
||||||
{ name = 'Rotes Licht überfahren', amount = 250, reason = 'Rotes Licht überfahren' },
|
{ name = 'Rotes Licht <EFBFBD>berfahren', amount = 250, reason = 'Rotes Licht <EFBFBD>berfahren' },
|
||||||
{ name = 'Falsches Parken', amount = 150, reason = 'Falsches Parken' },
|
{ name = 'Falsches Parken', amount = 150, reason = 'Falsches Parken' },
|
||||||
{ name = 'Zu schnelles Fahren', amount = 300, reason = 'Zu schnelles Fahren' },
|
{ name = 'Zu schnelles Fahren', amount = 300, reason = 'Zu schnelles Fahren' },
|
||||||
{ name = 'Gefährliches Fahren', amount = 500, reason = 'Gefährliches Fahren' },
|
{ name = 'Gef<EFBFBD>hrliches Fahren', amount = 500, reason = 'Gef<EFBFBD>hrliches Fahren' },
|
||||||
{ name = 'Körperverletzung', amount = 1000, reason = 'Körperverletzung' },
|
{ name = 'K<EFBFBD>rperverletzung', amount = 1000, reason = 'K<EFBFBD>rperverletzung' },
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
['ambulance'] = {
|
['ambulance'] = {
|
||||||
|
@ -47,17 +47,17 @@ Config.JobInvoices = {
|
||||||
}
|
}
|
||||||
|
|
||||||
Config.AutoPay = {
|
Config.AutoPay = {
|
||||||
enabled = true, -- Automatisches Bezahlen nach bestimmter Zeit
|
enabled = false, -- Automatisches Bezahlen nach bestimmter Zeit
|
||||||
hours = 24, -- Nach wie vielen Stunden eine Rechnung automatisch bezahlt wird
|
hours = 24, -- Nach wie vielen Stunden eine Rechnung automatisch bezahlt wird
|
||||||
feePercentagePerHour = 0.05 -- Aufschlag pro Stunde (0.05 = 5 %)
|
feePercentagePerHour = 0.05 -- Aufschlag pro Stunde (0.05 = 5 %)
|
||||||
}
|
}
|
||||||
|
|
||||||
Config.Commands = {
|
Config.Commands = {
|
||||||
openBilling = 'billing', -- /billing öffnet das Rechnungsmenü
|
openBilling = 'billing', -- /billing <EFBFBD>ffnet das Rechnungsmen<65>
|
||||||
}
|
}
|
||||||
|
|
||||||
Config.Keybinds = {
|
Config.Keybinds = {
|
||||||
openBilling = 'F7', -- Taste zum Öffnen des Rechnungsmenüs (false = deaktivieren)
|
openBilling = 'F7', -- Taste zum <EFBFBD>ffnen des Rechnungsmen<65>s (false = deaktivieren)
|
||||||
}
|
}
|
||||||
|
|
||||||
Config.UI = {
|
Config.UI = {
|
||||||
|
@ -79,7 +79,7 @@ Config.UI = {
|
||||||
}
|
}
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
Passe diesen Teil nur an, wenn du die Namen der Ressourcen geändert hast
|
Passe diesen Teil nur an, wenn du die Namen der Ressourcen ge<EFBFBD>ndert hast
|
||||||
--]]
|
--]]
|
||||||
Resources = {
|
Resources = {
|
||||||
FM = { name = 'fmLib', export = 'new' },
|
FM = { name = 'fmLib', export = 'new' },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue