搜索
开启左侧

翻译成中文,保留源代码

[复制链接]
Toyota 发表于 2024-8-27 08:45:08 | 显示全部楼层 |阅读模式

--[[

    To give access to admins for ambient peds creator you should add this in your server.cfg:  add_ace group.admin casino_peds allow

    To get support join https://discord.gg/MKWSGPcryY




DS_Casino_System_Main_Config = {

    MapBlip = { --MAP BLIP CONFIG
        enable = true,
        coords = vec3(922.110, 47.567, 81.103),
        id = 617,
        color = 26,
        size = 0.8,
        name = "Diamond Casino & Resort"
    },

    MapType = 'AUTODETECT', --AUTODETECT / 0 = IPL / 1 = UNCLEJUST / 2 = K4MB1 / 3 = GABZ / 4 = CUSTOM MAP (CHECK config_custom_map) / 5 = forum.cfx.re/t/the-diamond-casino-enterable-mlo / 6 = PATOCHE UNDERGROUND

    MapNames = { --RESOURCE NAME : MAP NUMBER (DON'T EDIT THE NUMBER)
        ["patoche_casino"] = 6,
        ["k4mb1-casino"] = 2,
        ["uj_casino"] = 1,
        ["cfx-gabz-casino"] = 3,
        ["casinointerior"] = 5,
    },

    Target = false, --false or 'qtarget' / 'ox_target' / 'qb-target'
   
    EnableInsideBlips = true, --ENABLE SOME INSIDE CASINO MAP BLIPS? (LIKE CASHIER, BLACKJACK, INSIDETRACK ETC POSITIONS)

    EnableChipsHud = true, --ENABLE GTA:O CHIPS HUD?

    AmbientSounds = true, --ENABLE CASINO SOUNDS IN BACKGROUND?

    SafeZone = true, --WILL DISABLE ALL COMBAT CONTROLS AND JUMP (KEYS CONFIGURABLE BELOW IN SafeZoneKeys FUNCTION)

    MenuType = "DEFAULT", --DEFAULT = RageUI // MENU = esx_menu_default // OX = ox_lib (check also fxmanifest)

    ChipsItemName = "casino_chips", --IF YOU CHANGE YOU NEED TO INSERT THE NEW ITEM IN YOUR DATABASE/INVENTORY

    ChipsPrice = 1, --CHIPS BUY PRICE

    ChipsSellPrice = 1, --CHIPS SELL PRICE

    TextUIMode = 'DARK', --DARK OR LIGHT

    DailyBonus = {
        enable = true,
        amount = 1000
    },

    AnimatedCasino = { --ANIMATED WALLS CASINO CONFIG
        enable = true, --ANIMATE CASINO WALLS?
        type = "CASINO_DIA_PL" --YOU CAN CHOOSE BETWEEN: CASINO_DIA_PL (DIAMONDS) || CASINO_HLW_PL (SKULLS) || CASINO_SNWFLK_PL (SNOWFLAKES)
    },

    EnableSociety = true, --ENABLING THAT CASINO WILL RECEIVE ALL THE BETS MONEY IN SOCIETY (THIS IS NOT USING ESX_SOCIETY OR ESX_ADDONACCOUNT)

    EnableCams = true, --REQUIRES EnableSociety = true

    JobName = "casino", --NEEDED JOB NAME (INCLUDED IN INSTALL_ME FOLDER FILES)

    CashierRestricted = false, --ONLY JOB CAN OPEN CASHIER MENU?
}


回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-8-27 08:45:19 | 显示全部楼层
--[[

    要给管理员访问环境行人创建者的权限,您应该在您的 server.cfg 中添加: add_ace group.admin casino_peds allow

    获取支持请加入 https://discord.gg/MKWSGPcryY




DS_Casino_System_Main_Config = {

    MapBlip = { --地图标记配置
        enable = true,
        coords = vec3(922.110, 47.567, 81.103),
        id = 617,
        color = 26,
        size = 0.8,
        name = "钻石赌场与度假村"
    },

    MapType = 'AUTODETECT', --自动检测 / 0 = IPL / 1 = UNCLEJUST / 2 = K4MB1 / 3 = GABZ / 4 = 自定义地图 (检查 config_custom_map) / 5 = forum.cfx.re/t/the-diamond-casino-enterable-mlo / 6 = PATOCHE 地下

    MapNames = { --资源名称 : 地图编号 (不要编辑编号)
        ["patoche_casino"] = 6,
        ["k4mb1-casino"] = 2,
        ["uj_casino"] = 1,
        ["cfx-gabz-casino"] = 3,
        ["casinointerior"] = 5,
    },

    Target = false, --false 或 'qtarget' / 'ox_target' / 'qb-target'
    
    EnableInsideBlips = true, --启用赌场内部地图标记?(如收银员、二十一点、内部赛道等位置)

    EnableChipsHud = true, --启用 GTA:O 筹码 HUD?

    AmbientSounds = true, --启用赌场背景音效?

    SafeZone = true, --将禁用所有战斗控制和跳跃(按键可在 SafeZoneKeys 函数中配置)

    MenuType = "DEFAULT", --DEFAULT = RageUI // MENU = esx_menu_default // OX = ox_lib (也检查 fxmanifest)

    ChipsItemName = "casino_chips", --如果您更改了此项,您需要在数据库/库存中插入新物品

    ChipsPrice = 1, --筹码购买价格

    ChipsSellPrice = 1, --筹码出售价格

    TextUIMode = 'DARK', --深色或浅色

    DailyBonus = {
        enable = true,
        amount = 1000
    },

    AnimatedCasino = { --动画墙赌场配置
        enable = true, --动画赌场墙?
        type = "CASINO_DIA_PL" --您可以选择:CASINO_DIA_PL (钻石) || CASINO_HLW_PL (骷髅) || CASINO_SNWFLK_PL (雪花)
    },

    EnableSociety = true, --启用赌场将接收所有投注资金到社会(这不使用 ESX_SOCIETY 或 ESX_ADDONACCOUNT)

    EnableCams = true, --需要 EnableSociety = true

    JobName = "casino", --所需工作名称(包含在 INSTALL_ME 文件夹文件中)

    CashierRestricted = false, --只有工作可以打开收银员菜单?
}
回复

使用道具 举报

文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-2-9 02:18 , Processed in 0.323536 second(s), 11 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

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

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