搜索
查看: 35|回复: 1
收起左侧

翻译

[复制链接]
waaaa 发表于 2024-4-9 15:56:58 | 显示全部楼层 |阅读模式
Config = {}

Config.ShowTime = 8000 -- Time in milliseconds on how long the line should show in the killfeed before disappearing
Config.MaxLines = 5 -- The maximum number of lines the killfeed can show at any given time

Config.DisplayHeadshots = true -- Whether or not to show the headshot icon when someone was headshotted
Config.DisplayNoScopes = true -- Whether or not to show the noscope icon when someone was not no-scoped
Config.DisplayDriveByIcons = false -- Whether or not to show the driveby icons, sadly it only works 90% ish of the time

Config.DisplayJoinLeave = false -- Whether or not to display connections and disconnections in the killfeed
Config.JoinLeaveColour = { r = 30, g = 100, b = 210 } -- The colour of the name of the person who left/joined
Config.ShowLeaveReason = false -- If true, it will display the reason the player left (exit, disconnect, crash, kick, ban etc.), otherwise it'll just say 'NAME left the server' regardless of the reason

-- These are the default victim/killer colours (rgb)
Config.KillerColour = {
    Player = { r = 125, g = 160, b = 215 },
    NPC = { r = 125, g = 160, b = 215 },
}
Config.VictimColour = {
    Player = { r = 219, g = 66, b = 66 },
    NPC = { r = 219, g = 66, b = 66 },
}

Config.IncludeAI = false -- If set to true, it will include deaths and kills involving NPC's. If this is set to false and a player gets killed by an NPC it just shows the death without a killer.
Config.AddAIPrefix = true
Config.AIPrefix = "NPC "
Config.UseRandomAINames = true -- If this is set to false it will use the entity id. (example: 184578)

Config.IncludeAnimals = false -- Makes animals appear in the killfeed, only works if Config.IncludeAI is set to true
Config.AddAnimalPrefix = false
Config.AnimalPrefix = "[Animal] "
Config.AddAnimalSuffix = true -- example: Nilo the Dog, "the Dog" beeing the suffix

Config.Proximity = false -- Whether or not to use proximity checks (aka only show kills close by).
Config.ProximityRange = 424.0 -- The max distance in meters the player can be from the victim and it displaying the kill. 424 meters is the max extent of the default client scope/culling in onesync

Config.ShowKillDistance = 1 -- 0/false = don't show at all, 1 = show for weapons with the showDist option set to true (by default only snipers), 2 = show distance on every kill
Config.KillDistanceUnit = "meters" -- "meters" or "feet"
Config.KillDistanceColour = { r = 255, g = 255, b = 255 }

-- Whether or not to use ace permissions. When setting the permissions you should set the 'killfeed.display' ace to allow. If the Config.Proximity is set to true, then this will allow those with permissions to see all kills while regular players only see kills within the proximity range.
-- Example: `add_ace admin "killfeed.display" allow` in server.cfg or permissions.cfg or `ExecuteCommand('add_ace admin killfeed.display allow')` in a script that can change permissions (both without the ``)
Config.UsePermissions = true

-- Easter eggs names, they can only appear on NPCs such as when you kill an animal or pedestrian.
Config.UseEasterEggs = true
Config.EasterEggs = { "blattersturm", "nihonium", "Disquse", "gottfriedleibniz", "PichotM", "LWSS", "Hellslicer", "TomGrobbe", "NCG", "Mads" } -- These are some of the top contributors to the fivem project on github (+ 2 others), you can replace them with your own if you desire.

-- Whether or not to add a command for the client to toggle the killfeed on/off
Config.ToggleCommand = true

Config.UseGroups = false
Config.Groups = {
    -- This is just an example of a group/team/gang/whatever, you can add as many as you want, or even create them dynamically by calling the CreateGroup function (server export).
    --[[
    ['vagos'] = {
        tag = "[VAGOS] ",
        tagColour = { r = 150, g = 0, b = 150 },
        colour = { r = 250, g = 200, b = 10 },
        members = {}
    },
    ]]--
}

-- Read the documentation on how to utilize lobbies
Config.UseLobbies = false
Config.Lobbies = {
    -- Example:

    ['general'] = {
        members = {
                'license:47e25581ce3eceb80564fb23b83745162674ebee' ,
                }
    }

}


回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-4-9 15:58:38 | 显示全部楼层
Config = {}

Config.ShowTime = 8000 -- 在击杀列表中显示该行消失之前的时间(毫秒)
Config.MaxLines = 5 -- 击杀列表在任何给定时间内能够显示的最大行数

Config.DisplayHeadshots = true -- 是否在某人被爆头时显示爆头图标
Config.DisplayNoScopes = true -- 是否在某人没有使用瞄准镜时显示无瞄准镜图标
Config.DisplayDriveByIcons = false -- 是否显示驾车射击图标,不幸的是,它只有大约90%的时间有效

Config.DisplayJoinLeave = false -- 是否在击杀列表中显示连接和断开连接
Config.JoinLeaveColour = { r = 30, g = 100, b = 210 } -- 离开/加入的人员姓名的颜色
Config.ShowLeaveReason = false -- 如果为true,则会显示玩家离开的原因(退出、断开连接、崩溃、踢出、封禁等),否则无论原因如何都会显示'NAME离开了服务器'

-- 这些是默认的受害者/凶手颜色(RGB)
Config.KillerColour = {
    Player = { r = 125, g = 160, b = 215 },
    NPC = { r = 125, g = 160, b = 215 },
}
Config.VictimColour = {
    Player = { r = 219, g = 66, b = 66 },
    NPC = { r = 219, g = 66, b = 66 },
}

Config.IncludeAI = false -- 如果设置为true,则包括涉及NPC的死亡和杀死。如果设置为false,并且玩家被NPC杀死,则只显示死亡而没有杀手。
Config.AddAIPrefix = true
Config.AIPrefix = "NPC "
Config.UseRandomAINames = true -- 如果设置为false,将使用实体ID。(例如:184578)

Config.IncludeAnimals = false -- 使动物出现在击杀列表中,仅在Config.IncludeAI设置为true时有效
Config.AddAnimalPrefix = false
Config.AnimalPrefix = " "
Config.AddAnimalSuffix = true -- 例如:Nilo the Dog,“the Dog”为后缀

Config.Proximity = false -- 是否使用接近检查(即仅在附近显示击杀)。
Config.ProximityRange = 424.0 -- 玩家与受害者之间的最大距离(以米为单位),并显示击杀。 424米是默认客户端范围/单向同步的最大范围

Config.ShowKillDistance = 1 -- 0/false = 完全不显示,1 = 对于设置为true的showDist选项的武器显示(默认仅狙击手),2 = 在每次击杀时显示距离
Config.KillDistanceUnit = "米" -- "米"或"英尺"
Config.KillDistanceColour = { r = 255, g = 255, b = 255 }

-- 是否使用ace权限。在设置权限时,应设置'killfeed.display' ace以允许。如果Config.Proximity设置为true,则将允许具有权限的用户看到所有击杀,而普通玩家只能看到在接近范围内的击杀。
-- 例如:`add_ace admin "killfeed.display" allow`在server.cfg或permissions.cfg中或在可以更改权限的脚本中`ExecuteCommand('add_ace admin killfeed.display allow')`(两者都不包括``)
Config.UsePermissions = true

-- 复活节彩蛋名称,它们只能出现在NPC上,例如杀死动物或行人时。
Config.UseEasterEggs = true
Config.EasterEggs = { "blattersturm", "nihonium", "Disquse", "gottfriedleibniz", "PichotM", "LWSS", "Hellslicer", "TomGrobbe", "NCG", "Mads" } -- 这些是GitHub上fivem项目的一些顶级贡献者(+另外2个),如果您愿意,可以用您自己的替换它们。

-- 是否添加一个命令来让客户端切换击杀列表的开/关
Config.ToggleCommand = true

Config.UseGroups = false
Config.Groups = {
    -- 这只是一个组/团队/帮派/任何其他的示例,您可以添加任意多个,甚至可以通过调用CreateGroup函数(服务器导出)动态创建它们。
    --[[
     = {
        tag = " ",
        tagColour = { r = 150, g = 0, b = 150 },
        colour = { r = 250, g = 200, b = 10 },
        members = {}
    },
    ]]--
}

-- 阅读有关如何使用大厅的文档
Config.UseLobbies = false
Config.Lobbies = {
    -- 示例:

     = {
        members = {
                'license:47e25581ce3eceb80564fb23b83745162674ebee' ,
                }
    }

}
回复

使用道具 举报

ahome_bigavatar:guest
ahome_bigavatar:welcomelogin
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2024-5-20 18:15 , Processed in 0.429633 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表