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, --只有工作可以打开收银员菜单?
}
页: [1]
查看完整版本: 翻译成中文,保留源代码