您可以通过命令给所有玩家物品或金钱或武器
您也可以在配置中为所有玩家设置自动给予时间
在游戏聊天中输入命令:/giveallitem <item> <count>
/giveallweapon <weapon> <ammo amount>
/addallmoney <account> <amount>
在控制台命令上:( 需要将前缀更改为“_”) _giveallitem < 物品 > < 计数 >
_giveallweapon < 武器 > < 弹药数量 >
_addallmoney < 账户 > < 金额 >
配置介绍Config.AllowAdminInGameCommand = true
-- 命令:
/giveallitem <item> <count>, /giveallweapon <weapon> <ammo amount>, /addallmoney <account> <amount>
Config.EnableServerCommand = true -- 你可以在控制台上使用命令来给出。 但命令前缀需要更改为“_”,例如:_giveallitem、_giveallweapon、_addallmoney
- 给多少分钟。 如果不想,你可以输入 false
Config.TimeGiveItem = 30
Config.TimeGiveMoney = false
Config.TimeGiveWeapon = false
- 你想要随机自动给一个东西吗?
Config.RandomGiveItem = false
Config.RandomGiveMoney = false
Config.RandomGiveWeapon = false
配置项 = {
{name = '水 ', 计数 = 1 },
-- {name = '面包', 计数 = 2}
}
Config.Money = {
{账户 = ' 银行 ', 金额 = 500 },
{账户 = ' 钱 ',金额 = 500 },
-- {account = 'black_money', 金额 = 100}
}
配置.武器 = {
{weaponName = ' WEAPON_PISTOL ', 数量 = 10 }, -- 数量是弹药数
-- {weaponName = 'WEAPON_FIREEXTINGUISHER', 数量 = 2000}
}
|