Daddy Chance
用硬币解决争论,掷骰子决定角色运气或选择谁买单。输入 /roll, /flip 或 /rps,结果会以动画和声音显示在你头顶,供周围所有人看到。免费且开源。
功能
- Dice: 1到6个骰子,D2到D100,多个骰子的总和会显示
- Coin flip, rock paper scissors (选择手型或随机),playing card 从一副52张牌中抽取
- Random number 在任意两个值之间
- Above the head: 12米范围内的所有人都能看到结果并听到声音,效果随距离变化
- Animations and props 用于骰子、硬币和卡片
/chance 菜单,包含所有游戏(ox_lib)
- 可用物品
dice, coin 和 playing_cards 用于 ox_inventory, QBCore 或 ESX
- Cooldown 防止任何人滥用区域
- 可选 chat message 显示结果
- Character names 从 Qbox, QBCore 或 ESX,自动检测;独立版也可用
- English and Turkish, 可在
locales/ 添加其他语言
命令
| 命令 |
功能说明 |
/roll [数量] [面数] |
掷骰子,例如 /roll 2 6 或 /roll 1 20 |
/flip |
掷硬币 |
/rps [rock/paper/scissors] |
岩石剪刀布,留空为随机 |
/card |
抽取一张扑克牌 |
/number [最小值] [最大值] |
随机数 |
/chance |
包含所有游戏的菜单 |
要求
|
|
| 库 |
ox_lib |
| 可选 |
ox_inventory (物品), Qbox, QBCore 或 ESX (角色名、物品) |
| 语言 |
英语、土耳其语 |
ensure ox_lib
ensure daddy-chance
链接
Tebex (免费): https://daddy-studio.tebex.io/package/7696172
GitHub Release: Release Daddy Chance 1.0.0 · lKrypton/daddy-chance · GitHub
GitHub: GitHub – lKrypton/daddy-chance: Free FiveM脚本:骰子、硬币翻转、岩石剪刀布、扑克牌和随机数显示在玩家头顶(Qbox, QBCore, ESX, 独立版)。 · GitHub
文档: https://daddy-studios.gitbook.io/daddy-studios-docs/scripts/daddy-chance
|
|
| 代码可访问 |
是 |
| 订阅制 |
否 |
| 行数(约) |
~770 (Lua) · ~750 (HTML, CSS, JS) |
| 要求 |
ox_lib |
| 支持 |
是 |
查看英文原文 (Original)
Daddy Chance
Settle an argument with a coin, roll for your character’s luck or pick who pays the bill. Type /roll, /flip or /rps and the result pops up above your head for everyone around you, with an animation and a small sound. Free and open source.
Features
- Dice: 1 to 6 dice, D2 to D100, the total is shown for more than one die
- Coin flip, rock paper scissors (pick a hand or let it be random), playing card from a 52 card deck
- Random number between any two values
- Above the head: everyone within 12 m sees the result and hears the sound, it scales with distance
- Animations and props for dice, coin and cards
/chance menu with every game (ox_lib)
- Usable items
dice, coin and playing_cards for ox_inventory, QBCore or ESX
- Cooldown so nobody can spam the area
- Optional chat message with the result
- Character names from Qbox, QBCore or ESX, detected on its own; standalone works too
- English and Turkish, add your own language in
locales/
Commands
| Command |
What it does |
/roll [count] [sides] |
Roll dice, e.g. /roll 2 6 or /roll 1 20 |
/flip |
Flip a coin |
/rps [rock/paper/scissors] |
Rock paper scissors, empty = random |
/card |
Draw a playing card |
/number [min] [max] |
Random number |
/chance |
Menu with every game |
Requirements
|
|
| Library |
ox_lib |
| Optional |
ox_inventory (items), Qbox, QBCore or ESX (character names, items) |
| Languages |
English, Turkish |
ensure ox_lib
ensure daddy-chance
Links
Tebex (Free): https://daddy-studio.tebex.io/package/7696172
GitHub Release: Release Daddy Chance 1.0.0 · lKrypton/daddy-chance · GitHub
GitHub: GitHub – lKrypton/daddy-chance: Free FiveM script: dice, coin flip, rock paper scissors, playing cards and random numbers shown above the player’s head (Qbox, QBCore, ESX, standalone). · GitHub
Documentation: https://daddy-studios.gitbook.io/daddy-studios-docs/scripts/daddy-chance
|
|
| Code is accessible |
Yes |
| Subscription-based |
No |
| Lines (approximately) |
~770 (Lua) · ~750 (HTML, CSS, JS) |
| Requirements |
ox_lib |
| Support |
Yes |
暂无评论内容