Page cover

βš™οΈConfiguration

This is the configuration that you can give to this script to modify it to your liking

circle-info

In my news script the framework is auto detected with the integrations, you can add your custom framework

Config File

Config = {}

Config.DistanceDrawZone = 100.0
Config.DimensionPrefixID = 1341

Config.ReviveDelay = 1 -- Seconds

Config.ClearInventoryWhenLeaveZone = true  ---- Recommended to avoid duplication of items and weapons.

Config.WeaponItem = true
Config.HealthExitZone = true
Config.HealingWhenKill = true

Config.PlayerAnimRevive = true

Config.RewardPerKill = 100

Config.Loadout = {
    loadout_1 = {
        'weapon_pistol',
        'weapon_smg'
    },
    loadout_2 = {
        'weapon_carbinerifle',
        'weapon_smg'
    }
}

Config.Items = {
    items_1 = {
        [1] = { name = 'armour', count = 5},
        [2] = { name = 'ammo-9', count = 100},
    },
    items_2 = {
        [1] = { name = 'armor', count = 10},
        [2] = { name = 'ammo-9', count = 20},
    }
}

Config.Zones = {
    [1] = {
        blip = "Zona Roja [1]",
        sprite = 1,
        colour = 1,
        scale = 0.8,
        radialColor = 1,
        radialAlpha = 150,
        zoneColor = {r = 255, g = 0, b = 0},
        zoneCoords = vector3(693.9398, 637.0247, 128.9111),
        respawnCoords = vector3(783.7725, 591.6909, 125.7804),
        radius = 90,
        weapons = Config.Loadout.loadout_1,
        items = Config.Items.items_1 
    },
    [2] = {
        blip = "Zona Roja [2]",
        sprite = 1,
        colour = 1,
        scale = 0.8,
        radialColor = 1,
        radialAlpha = 150,
        zoneColor = {r = 255, g = 0, b = 0},
        zoneCoords = vector3(-1093.0145, -1459.7090, 5.2966),
        respawnCoords = vector3(-1031.3267, -1546.5348, 4.1706),
        radius = 100,
        weapons = Config.Loadout.loadout_2,
        items = Config.Items.items_2 
    },
}

Last updated