|
发表于 2008-2-5 19:10:09
|
显示全部楼层
来自 中国–福建–漳州
回复: 请Rulzy再来帮我一下......
用HUD还是有可能闪一下就没了,其实把它显示到控制台是比较理想的,控制台里的内容会保留较长时间。
下面是将内容同时显示在控制台的修改办法:
将如下代码:- switch (activity)
- {
- case 2: client_print(players[i], print_chat, "%L", players[i], "ADMIN_VOTE_FOR_2", lTag, name, lKickBan, arg)
- case 1: client_print(players[i], print_chat, "%L", players[i], "ADMIN_VOTE_FOR_1", lTag, lKickBan, arg)
- }
复制代码 修改为- switch (activity)
- {
- case 2: {
- client_print(players[i], print_chat, "%L", players[i], "ADMIN_VOTE_FOR_2", lTag, name, lKickBan, arg)
- client_print(players[i], print_console, "%L", players[i], "ADMIN_VOTE_FOR_2", lTag, name, lKickBan, arg)
- }
- case 1: {
- client_print(players[i], print_chat, "%L", players[i], "ADMIN_VOTE_FOR_1", lTag, lKickBan, arg)
- client_print(players[i], print_console, "%L", players[i], "ADMIN_VOTE_FOR_1", lTag, lKickBan, arg)
- }
- }
复制代码 |
|