Warzone
Bilgilendirme
Oyuncuların roleplay dışında çatışabileceği, öldürdükçe puan kazanarak yeni silahlar vs alabileceği vakit geçirmelik etkinlik alanı

blessed_warzone
Config = Config or {}
Config.FirstWeapon = "weapon_combatpistol"
Config.Target = "qb-target"
Config.PlayerLimit = 50
Config.Lang = "tr" -- or "tr"
Config.ActiveOnStartUp = false -- Do you want it to be activated automatically when you start the server?
Config.Permission = "god" -- /warzone command use permission
Config.QBInventory = true -- If you are using qb-inventory then true, if you are using ox-inventory then false
Config.ItemImagesDirectory = "bb_inventory/html/images/"
Config.InventorySlotAmount = 40 -- Your inventory slot amount
Config.SoundEffect = true -- If you want to disable valorant kill efect and sound set it to false
Config.DeathTime = 3 -- second
Config.ProtectionTime = 3 -- second
Config.WarzoneMenuKey = "M"
Config.Ped = {
model = "a_m_m_og_boss_01",
coords = vector4(-84.48, -281.29, 44.55, 347),
blip = {
enabled = true,
id = 119,
color = 1,
scale = 0.7,
name = "Warzone NPC"
}
}
Config.ZoneSettings = {
type = "boxzone", -- circle / polyzone / boxzone
shape = { -- for polyzone only
-- vector2(-8963.41, -11563.86),
-- vector2(-8831.50, -11562.97),
-- vector2(-8829.60, -11422.99),
-- vector2(-8962.63, -11423.03),
vector2(3417.1960449219, 3767.0661621094),
vector2(3417.3461914063, 3768.7299804688),
vector2(3437.6276855469, 3780.0402832031),
vector2(3460.7282714844, 3804.0681152344),
vector2(3494.91796875, 3823.1103515625),
vector2(3547.4736328125, 3824.1796875),
vector2(3584.8212890625, 3823.3037109375),
vector2(3611.6374511719, 3819.4357910156),
vector2(3629.1494140625, 3806.5510253906),
vector2(3642.2329101563, 3788.134765625),
vector2(3652.212890625, 3767.0061035156),
vector2(3648.3571777344, 3746.6311035156),
vector2(3651.1728515625, 3737.2358398438),
vector2(3652.1865234375, 3726.6218261719),
vector2(3641.3820800781, 3716.0954589844),
vector2(3629.7026367188, 3704.0659179688),
vector2(3617.6345214844, 3691.4470214844),
vector2(3611.1767578125, 3660.7761230469),
vector2(3610.8435058594, 3653.171875),
vector2(3622.1252441406, 3649.5021972656),
vector2(3618.1813964844, 3629.5979003906),
vector2(3614.8305664063, 3612.7446289063),
vector2(3612.5498046875, 3600.5131835938),
vector2(3610.9389648438, 3591.2963867188),
vector2(3598.5991210938, 3596.0617675781),
vector2(3584.9272460938, 3599.2709960938),
vector2(3581.2080078125, 3604.6088867188),
vector2(3564.8903808594, 3610.171875),
vector2(3540.7937011719, 3614.8479003906),
vector2(3474.5522460938, 3627.9418945313),
vector2(3414.4553222656, 3638.9267578125),
vector2(3401.3747558594, 3641.9382324219),
vector2(3408.4799804688, 3674.251953125),
vector2(3426.6708984375, 3738.8530273438),
vector2(3429.4289550781, 3748.6904296875),
vector2(3419.7409667969, 3767.98046875),
vector2(3419.0390625, 3769.9074707031)
},
center = vector3(-8897.15, -11493.00, 17.48), -- for circlezone and boxzone only
length = 150.0, -- for boxzone only
width = 150.0, -- for boxzone only
radius = 0.0, -- for circle only
heading = 0.0, -- for boxzone only
minz = 5.0,
maxz = 75.0,
debug = false,
exitCoords = {
[1] = vector4(-81.96, -275.42, 43.18, 355.0),
[2] = vector4(-85.62, -274.55, 43.10, 345.0),
[3] = vector4(-81.74, -271.06, 43.16, 1.0),
[4] = vector4(-85.62, -271.68, 42.86, 355.0)
}, -- Warzone exit coords
exitWithwalk = false, -- Is the Warzone an area they can walk out of? (If you're using ymap(surrounded by walls) or mlo set it to false)
respawnCoords = {
[1] = vector3(-8851.02, -11512.80, 18.11),
[2] = vector3(-8844.25, -11502.62, 22.28),
[3] = vector3(-8846.56, -11515.51, 22.28),
[4] = vector3(-8859.22, -11517.06, 20.68),
[5] = vector3(-8863.10, -11495.93, 20.68),
[6] = vector3(-8870.56, -11497.24, 20.68),
[7] = vector3(-8870.04, -11511.49, 20.68),
[8] = vector3(-8870.19, -11520.45, 20.68),
[9] = vector3(-8871.47, -11529.90, 20.68),
[10] = vector3(-8881.99, -11528.46, 20.68),
[11] = vector3(-8871.14, -11541.73, 20.68),
[12] = vector3(-8906.20, -11545.00, 23.88),
[13] = vector3(-8898.68, -11535.12, 20.67),
[14] = vector3(-8912.93, -11514.44, 20.67),
[15] = vector3(-8891.47, -11515.32, 20.68),
[16] = vector3(-8892.51, -11495.96, 20.67),
[17] = vector3(-8883.51, -11487.72, 20.67),
[18] = vector3(-8876.21, -11481.75, 20.68),
[19] = vector3(-8876.13, -11472.24, 23.07),
[20] = vector3(-8876.72, -11458.91, 23.08),
[21] = vector3(-8858.81, -11452.09, 23.87),
[22] = vector3(-8857.73, -11464.21, 23.07),
[23] = vector3(-8845.46, -11472.94, 21.68),
[24] = vector3(-8864.74, -11469.70, 20.06),
[25] = vector3(-8880.32, -11464.53, 17.47),
[26] = vector3(-8900.72, -11464.42, 17.89),
[27] = vector3(-8913.49, -11467.40, 19.67),
[28] = vector3(-8918.67, -11462.05, 23.48),
[29] = vector3(-8929.79, -11483.12, 20.68),
[30] = vector3(-8927.04, -11447.56, 20.68),
[31] = vector3(-8938.48, -11451.23, 21.48),
[32] = vector3(-8936.91, -11471.98, 20.68),
[33] = vector3(-8939.62, -11494.24, 21.48),
[34] = vector3(-8922.96, -11494.27, 21.48),
[35] = vector3(-8924.85, -11510.05, 21.48),
[36] = vector3(-8928.21, -11525.60, 20.77),
[37] = vector3(-8940.02, -11544.93, 23.88),
[38] = vector3(-8914.63, -11490.08, 17.87),
[39] = vector3(-8904.29, -11491.08, 17.88),
[40] = vector3(-8891.18, -11478.62, 22.98),
[41] = vector3(-8891.54, -11467.45, 22.98),
},
}
Config.ShopItems = {
[1] = {name = "bandage", label = "Bandage", amount = 1, price = 1},
[2] = {name = "weapon_machete", label = "Machete", amount = 1, price = 2},
[3] = {name = "heavyarmor", label = "Heavy Armor", amount = 1, price = 5},
[4] = {name = "weapon_heavypistol", label = "Heavy Pistol", amount = 1, price = 7},
[5] = {name = "weapon_microsmg", label = "Micro SMG", amount = 1, price = 10},
[6] = {name = "weapon_compactrifle", label = "Compact Rifle", amount = 1, price = 12},
[7] = {name = "pistol_ammo", label = "Pistol Ammo", amount = 3, price = 0},
[8] = {name = "smg_ammo", label = "Smg Ammo", amount = 3, price = 1},
[9] = {name = "rifle_ammo", label = "Rifle Ammo", amount = 3, price = 1},
}
Lang = {
["en"] = {
["gotoWarzone"] = "Goto WarZone",
["leaveWarzone"] = "Left WarZone",
["leaveWarzone2"] = "What, you're gonna run like a coward?",
["wzShop"] = "Warzone Shop",
["wzShop2"] = "Shop with your points",
["wzRepair"] = "Repair weapon",
["wzRepair2"] = "No stopping the conflict!",
["wzScoreboard"] = "Scoreboard",
["wzScoreboard2"] = "Who is at the top in WarZone?",
["wzScoreboard3"] = "Top %s of WarZone",
["repaired"] = "Your weapon has been repaired",
["noweapon"] = "You don't have a weapon on your hand",
["killdeath"] = "%s kill / %s death",
["warzoneEnded"] = "Warzone event is over!",
["firstProtect"] = "First login protection enabled!",
["firstProtectOff"] = "Respawn protection disabled!",
["protectionOn"] = "Respawn protection enabled!",
["protectionOff"] = "First login protection disabled!",
["warzoneActive"] = "Warzone Active!",
["warzonePassive"] = "Warzone Passive!",
["youEntered"] = "You entered WarZone",
["youLeft"] = "You left WarZone",
["warzoneFull"] = "Warzone slots are full %s/%s",
["price"] = "Price: %s point",
["plyr"] = "Player",
["plyrs"] = "Players",
["myPoints"] = "My Points:",
["killCount"] = "Kills:",
["deathCount"] = "Deaths:",
},
["tr"] = {
["gotoWarzone"] = "WarZone Gir",
["leaveWarzone"] = "WarZone'dan Çık",
["leaveWarzone2"] = "Ne yani, korkak gibi kaçacak mısın?",
["wzShop"] = "Warzone Market",
["wzShop2"] = "Puanlarınızla alışveriş yapın",
["wzRepair"] = "Silahı tamir et",
["wzRepair2"] = "Çatışmaya ara vermek yok!",
["wzScoreboard"] = "Skor Tablosu",
["wzScoreboard2"] = "WarZone'da kim zirvede?",
["wzScoreboard3"] = "WarZone en iyi %s",
["repaired"] = "Silahınız tamir edildi",
["noweapon"] = "Elinde silah yok.",
["killdeath"] = "%s öldürme / %s ölüm",
["warzoneEnded"] = "WarZone etkinliği sona erdi!",
["firstProtect"] = "İlk giriş koruması etkin!",
["firstProtectOff"] = "Yeniden doğma koruması devre dışı!",
["protectionOn"] = "Yeniden doğma koruması etkin!",
["protectionOff"] = "İlk giriş koruması devre dışı!",
["warzoneActive"] = "Warzone Aktif!",
["warzonePassive"] = "Warzone Pasif!",
["youEntered"] = "WarZone'a girdin",
["youLeft"] = "WarZone'dan ayrıldın",
["warzoneFull"] = "Warzone slotları dolu %s/%s",
["price"] = "Fiyat: %s puan",
["plyr"] = "Oyuncu",
["plyrs"] = "Oyuncular",
["myPoints"] = "Puanlarım:",
["killCount"] = "Öldürme:",
["deathCount"] = "Ölüm:",
}
}
RegisterNetEvent("blessed_warzone:RevivePlayer", function() -- Revive player event
TriggerEvent("hospital:client:Revive")
end)
RegisterNetEvent("blessed_warzone:notify", function(text, notiftype) -- Notify event
TriggerEvent("QBCore:Notify", text, notiftype)
end)
-- Warzone client export
-- exports["blessed_warzone"]:inWarzone() -- it returns is player in warzone?
Last updated