原贴:https://forum.cfx.re/t/qb-core-free-blackout-script/5231475
QB-Core 的可配置简单停电脚本,最近开始为 FiveM 制作资源,并决定最终发布一个,如果您需要帮助,请告诉我(请报告发现的任何错误) 始终感谢反馈和提示!
Cinematic Preview
QB Target
QB-Core 的可配置简单停电脚本,最近开始为 FiveM 制作资源,并决定最终发布一个,如果您需要帮助,请告诉我(请报告发现的任何错误) 始终感谢反馈和提示!
下载
下载预览
Raw PreviewCinematic Preview
依赖
PolyzoneQB Target
代码:
--// Black Out Time and Cooldown
Config.BlackoutTime = 20000 -- How long it takes for lights to turn back on, in milliseconds. eg 1 second = 1000
Config.Cooldown = 20000 -- Cooldown after the lights turn on
--// QB Notification Messages
Config.AlreadyActiveMessage = "The power has been shut off already!"
Config.RecentlyHitMessage = "The power has been shut down recently!"