GFX 安全区

GFX 安全区

xaries = {}

xaries.config = {
    blockedKeys = { --Disable all LEFT/RIGHT MOUSE BUTTON KEYS
        24, 
        25, 
        106,
        122,
        135,
        142,
        257,
        329,
        346,
    },

    disableCollison = true, --Set true to enable | Disabling collision with vehicles and peds

    wait = false,
    waitSeconds = 100, --4 seconds / Set how much time must to wait to make can player attack from safezone

    callback = function(a)
        --Notification setting. You can attach your notifications here.
        if a == "join" then
            print("joined to safezone")
        elseif a == "leave" then
            print("leaved from safezone")
        end
    end,

    safezones = {
        ["southside"] = {
            coords = vector3(246.75, -1372.46, 32.29), --southside #1
            colors = { -- RGB Colors
                r = 2,
                g = 255,
                b = 255,
                a = 0.3 -- From 0.0 to 1.0
            },
            radius = 50.0, -- Radius for safezone
            blip = true,
            blipType = "radius", --RADIUS/NORMAL
            blipRadius = 50.0, -- BLIP RADIUS | Set the same radius as above or different
            blipSprite = 438, --BLIP SPRITE | List of all blips https://docs.fivem.net/docs/game-references/blips/
            blipColor = 42, --BLIP COLOR | List of all colors https://docs.fivem.net/docs/game-references/blips/
            blipAlpha = 222, --BLIP ALPHA | Set blip transparent
            blipName = "safezone", -- BLIP NAME | Set blip name
            changeBucket = false, -- True/false  whether the player is to be hidden in the bucket | You can set bucket from 0 to 2147483647 | Set to 0 to not change the bucket
            routingBucket = 0 -- You can set "random" for random bucket or number of bucket example: routingBucket = 24 works only if changeBucket is set to true
        },
        ["south"] = {
            coords =  vector3(90.860275, -1593.201, 39.190261), --Grove Street
            colors = { -- RGB Colors
                r = 2,
                g = 255,
                b = 255,
                a = 0.3 -- From 0.0 to 1.0
            },
            radius = 50.0, -- Radius for safezone
            blip = true,
            blipType = "radius", --RADIUS/NORMAL
            blipRadius = 50.0, -- BLIP RADIUS | Set the same radius as above or different
            blipSprite = 438, --BLIP SPRITE | List of all blips https://docs.fivem.net/docs/game-references/blips/
            blipColor = 42, --BLIP COLOR | List of all colors https://docs.fivem.net/docs/game-references/blips/
            blipAlpha = 222, --BLIP ALPHA | Set blip transparent
            blipName = "safezone", -- BLIP NAME | Set blip name
            changeBucket = false, -- True/false  whether the player is to be hidden in the bucket | You can set bucket from 0 to 2147483647 | Set to 0 to not change the bucket
            routingBucket = 0 -- You can set "random" for random bucket or number of bucket example: routingBucket = 24 works only if changeBucket is set to true
        },
    }
}

 

© 版权声明
THE END
喜欢就支持一下吧
点赞13 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复

    暂无评论内容