Izzy = {}
Izzy.Framework = "qb" -- Determines which framework to use: auto, esx, or qb
Izzy.Debug = true -- Enables debug mode for additional output
Izzy.Target = false -- Enables or disables target functionality
Izzy.EarlyRespawnTimer = 150000 * 2 -- Time (in milliseconds) until respawn is available
Izzy.BleedoutTimer = 120000 * 10 -- Time (in milliseconds) until the player bleeds out
Izzy.Stumble = 30 -- Player's leg health threshold to start stumbling
Izzy.CallCommand = "medic" -- Command to call for a medic
Izzy.BossGrade = 3
Izzy.ActionMenu = "H" -- Key to open the action menu
Izzy.Language = "en" -- Language setting: en (English), de (German), fr (French), sp (Spanish)
Izzy.BossMenu = vector3(347.4503, -1428.2157, 32.9362) -- Coordinates for the boss menu
Izzy.Market = vector3(358.8852, -1386.2126, 32.4291) -- Coordinates for the market
Izzy.CallTimeOut = 2 * 60000 -- Time (in milliseconds) until a call times out
Izzy.Hospitals = {
[1] = {
coords = vector3(347.2985, -1410.2677, 32.4291),
blip = {
label = "Hospital",
colour = 5,
id = 118
}
},
-- [2] = {
-- coords = vector3(347.2985, -1410.2677, 32.4291),
-- blip = {
-- label = "Hospital",
-- colour = 5,
-- id = 118
-- }
-- },
}
Izzy.ReviveNpc = {
coords = vector4(351.1857, -1409.7227, 32.4292, 45.2658), -- Coordinates for the NPC who revives players
model = "s_m_m_doctor_01" -- Model for the NPC who revives players
}
Izzy.RemoveItemsAfterBed = true -- Determines whether items should be removed after using a bed
Izzy.VehicleSpawn = {
["vehicle"] = {
vector3(300.8167, -1445.3892, 29.8784), -- Ground vehicle spawn coordinates
vector3(0, 0, 0) -- Ground vehicle rotation
},
["air"] = {
vector3(317.8835, -1456.4384, 46.5091), -- Air vehicle spawn coordinates
vector3(0, 0, 0) -- Air vehicle rotation
}
}
Izzy.VehicleSpawnPoints = {
["vehicle"] = {
vector4(296.8605, -1441.4475, 29.5738, 50.1013), -- Ground vehicle spawn point 1
vector4(290.8633, -1436.4189, 29.5727, 50.0486) -- Ground vehicle spawn point 2
},
["air"] = {
vector4(313.3910, -1465.2302, 46.5092, 320.9059) -- Air vehicle spawn point
}
}
Izzy.GarageCoords = {
{coords = vec3(298.7201, -1430.8737, 29.8039), type = "vehicle"},
{coords = vec3(313.1982, -1465.2488, 46.5092), type = "air"}
}
Izzy.Vehicles = {
["vehicle"] = {
{ name = "Ambulance", model = "ambulance", hash = `ambulance` } -- Ground vehicle details
},
["air"] = {
{ name = "Helicopter", model = "tolemsh", hash = `tolemsh` } -- Air vehicle details
}
}
Izzy.Beds = { -- dont delete these!
[1] = {coords = vector4(337.7990, -1416.4009, 38.8356, 226.0343), taken = false, model = 1631638868}, -- Bed 1
[2] = {coords = vector4(340.0639, -1419.4031, 38.8356, 47.5566), taken = false, model = 1631638868}, -- Bed 2
[3] = {coords = vector4(335.7358, -1418.8658, 38.8356, 229.6397), taken = false, model = 2117668672}, -- Bed 3
[4] = {coords = vector4(338.3466, -1421.5559, 38.8356, 43.9012), taken = false, model = 2117668672}, -- Bed 4
[5] = {coords = vector4(333.6388, -1421.3285, 38.8531, 228.9728), taken = false, model = 2117668672}, -- Bed 5
[6] = {coords = vector4(336.5158, -1423.5190, 38.8779, 47.6197), taken = false, model = -1091386327}, -- Bed 6
[7] = {coords = vector4(333.2407, -1426.5228, 38.8638, 317.0082), taken = false, model = -1091386327}, -- Bed 7
[8] = {coords = vector4(331.4893, -1424.7972, 38.8356, 314.7399), taken = false, model = -1091386327}, -- Bed 8
}
Izzy.Items = {
["firstaid"] = {
label = "Med Kit", -- Item label
revive = true, -- Determines if the item can revive
effectAll = true, -- Determines if the item affects all body parts
heal = 50, -- Amount of health restored
price = 2500 -- Item price
},
["bandage"] = {
label = "Bandage", -- Item label
revive = false, -- Determines if the item can revive
effectAll = false, -- Determines if the item affects all body parts
heal = 20, -- Amount of health restored
price = 1500 -- Item price
}
}
Izzy.Locales = {
["en"] = {
call_success = "You signaled the paramedics and they will take care of you as soon as possible.", -- Message when a call is successful
marked = "Marked on the map.", -- Message when something is marked on the map
delete_call = "Call successfully deleted.", -- Message when a call is deleted
add_bill = "Invoice successfully added.", -- Message when an invoice is added
remove_bill = "Invoice successfully removed.", -- Message when an invoice is removed
no_item = "You don't have enough items!", -- Message when the player lacks the required items
revived = "You were revived by a doctor!", -- Message when the player is revived
heal = "You were healed by a doctor!", -- Message when the player is healed
injured = "I'm injured. I need help!", -- Message when the player is injured
healing = "Healing..", -- Message during healing process
vehicle_spawn = "[E] Open vehicle menu", -- Message to open vehicle menu
air_spawn = "[E] Open air menu", -- Message to open air menu
send_bill = "You successfully sent an invoice!", -- Message when an invoice is sent
no_perm = "You are not a doctor!", -- Message when the player lacks permission
open_stash = "[E] Open Stash", -- Message to open stash
open_boss = "[E] Open Boss Menu", -- Message to open boss menu
bed = "[E] Rest on bed", -- Message to rest on bed
open_market = "[E] Open Market", -- Message to open market
no_money = "You don't have enough money!", -- Message when the player lacks funds
buy = "You bought items!", -- Message when the player buys items
detach_sedye = "Press ~INPUT_CONTEXT~ to leave stretcher", -- Message to detach from stretcher,
park_vehicle = "[E] Park Vehicle"
},
["fr"] = {
call_success = "Vous avez signalé les ambulanciers et ils s'occuperont de vous dès que possible.", -- Message when a call is successful
marked = "Marqué sur la carte.", -- Message when something is marked on the map
delete_call = "Appel supprimé avec succès.", -- Message when a call is deleted
add_bill = "Facture ajoutée avec succès.", -- Message when an invoice is added
remove_bill = "Facture supprimée avec succès.", -- Message when an invoice is removed
no_item = "Vous n'avez pas assez d'articles!", -- Message when the player lacks the required items
revived = "Vous avez été réanimé par un docteur!", -- Message when the player is revived
heal = "Vous avez été soigné par un docteur!", -- Message when the player is healed
injured = "Je suis blessé. J'ai besoin d'aide!", -- Message when the player is injured
healing = "Guérison..", -- Message during healing process
vehicle_spawn = "[E] Ouvrir le menu du véhicule", -- Message to open vehicle menu
air_spawn = "[E] Ouvrir le menu aérien", -- Message to open air menu
send_bill = "Vous avez envoyé une facture avec succès!", -- Message when an invoice is sent
no_perm = "Vous n'êtes pas médecin!", -- Message when the player lacks permission
open_stash = "[E] Ouvrir la cachette", -- Message to open stash
open_boss = "[E] Ouvrir le menu du patron", -- Message to open boss menu
bed = "[E] Se reposer sur le lit", -- Message to rest on bed
open_market = "[E] Ouvrir le marché", -- Message to open market
no_money = "Vous n'avez pas assez d'argent!", -- Message when the player lacks funds
buy = "Vous avez acheté des articles!", -- Message when the player buys items
detach_sedye = "Appuyez sur ~INPUT_CONTEXT~ pour quitter le brancard", -- Message to detach from stretcher
park_vehicle = "[E] Park Vehicle"
},
["sp"] = {
call_success = "Señalaste a los paramédicos y te atenderán lo antes posible.", -- Message when a call is successful
marked = "Marcado en el mapa.", -- Message when something is marked on the map
delete_call = "Llamada eliminada con éxito.", -- Message when a call is deleted
add_bill = "Factura añadida con éxito.", -- Message when an invoice is added
remove_bill = "Factura eliminada con éxito.", -- Message when an invoice is removed
no_item = "¡No tienes suficientes artículos!", -- Message when the player lacks the required items
revived = "¡Has sido revivido por un médico!", -- Message when the player is revived
heal = "¡Has sido curado por un médico!", -- Message when the player is healed
injured = "Estoy herido. ¡Necesito ayuda!", -- Message when the player is injured
healing = "Curando..", -- Message during healing process
vehicle_spawn = "[E] Abrir menú de vehículos", -- Message to open vehicle menu
air_spawn = "[E] Abrir menú aéreo", -- Message to open air menu
send_bill = "¡Factura enviada con éxito!", -- Message when an invoice is sent
no_perm = "¡No eres médico!", -- Message when the player lacks permission
open_stash = "[E] Abrir alijo", -- Message to open stash
open_boss = "[E] Abrir menú del jefe", -- Message to open boss menu
bed = "[E] Descansar en la cama", -- Message to rest on bed
open_market = "[E] Abrir mercado", -- Message to open market
no_money = "¡No tienes suficiente dinero!", -- Message when the player lacks funds
buy = "¡Has comprado artículos!", -- Message when the player buys items
detach_sedye = "Presiona ~INPUT_CONTEXT~ para dejar la camilla", -- Message to detach from stretcher
park_vehicle = "[E] Park Vehicle"
},
["de"] = {
call_success = "Du hast die Sanitäter alarmiert und sie werden sich so schnell wie möglich um dich kümmern.", -- Message when a call is successful
marked = "Auf der Karte markiert.", -- Message when something is marked on the map
delete_call = "Anruf erfolgreich gelöscht.", -- Message when a call is deleted
add_bill = "Rechnung erfolgreich hinzugefügt.", -- Message when an invoice is added
remove_bill = "Rechnung erfolgreich entfernt.", -- Message when an invoice is removed
no_item = "Du hast nicht genug Artikel!", -- Message when the player lacks the required items
revived = "Du wurdest von einem Arzt wiederbelebt!", -- Message when the player is revived
heal = "Du wurdest von einem Arzt geheilt!", -- Message when the player is healed
injured = "Ich bin verletzt. Ich brauche Hilfe!", -- Message when the player is injured
healing = "Heilung..", -- Message during healing process
vehicle_spawn = "[E] Fahrzeugmenü öffnen", -- Message to open vehicle menu
air_spawn = "[E] Luftfahrzeugmenü öffnen", -- Message to open air menu
send_bill = "Rechnung erfolgreich gesendet!", -- Message when an invoice is sent
no_perm = "Du bist kein Arzt!", -- Message when the player lacks permission
open_stash = "[E] Lager öffnen", -- Message to open stash
open_boss = "[E] Chefmenü öffnen", -- Message to open boss menu
bed = "[E] Auf dem Bett ausruhen", -- Message to rest on bed
open_market = "[E] Markt öffnen", -- Message to open market
no_money = "Du hast nicht genug Geld!", -- Message when the player lacks funds
buy = "Du hast Artikel gekauft!", -- Message when the player buys items
detach_sedye = "Drücke ~INPUT_CONTEXT~ um die Trage zu verlassen", -- Message to detach from stretcher
park_vehicle = "[E] Park Vehicle"
}
}
Izzy.RespawnPoints = {
{coords = vector3(341.0, -1397.3, 32.5), heading = 48.5}, -- Central Los Santos respawn point
{coords = vector3(1836.03, 3670.99, 34.28), heading = 296.06} -- Sandy Shores respawn point
}
function getFramework()
if Izzy.Framework == "esx" then
return exports['es_extended']:getSharedObject(), "esx"
elseif Izzy.Framework == "qb" then
return exports["qb-core"]:GetCoreObject(), "qb"
elseif Izzy.Framework == "auto" then
if GetResourceState('qb-core') == 'started' then
return exports["qb-core"]:GetCoreObject(), "qb"
elseif GetResourceState('es_extended') == 'started' then
return exports['es_extended']:getSharedObject(), "esx"
end
end
end
© 版权声明
THE END
暂无评论内容