|
发表于 2007-4-2 22:06:00
|
显示全部楼层
|阅读模式
来自 中国–天津–天津–东丽区
我将下面的英文菜单汉化后,插件可以使用,但是菜单点击无任何反映??????
stock format_menu(id)
{
new menu[1024],tmp[256]
formatex(tmp, sizeof(tmp)-1, "\yClient Checker (%d secs)^n^n", menu_timer[id]) // Menu Topic
strcat(menu, tmp, sizeof(menu)-1)
formatex(tmp, sizeof(tmp)-1, "This server is using Client Checker to validate your settings.^n") // Menu 1st rule
strcat(menu, tmp, sizeof(menu)-1)
formatex(tmp, sizeof(tmp)-1, "This means that all your invalid settings will be set^n") // Menu 2nd rule
strcat(menu, tmp, sizeof(menu)-1)
formatex(tmp, sizeof(tmp)-1, "Do you agree with this?^n^n") // Menu 4th rule
strcat(menu, tmp, sizeof(menu)-1)
formatex(tmp, sizeof(tmp)-1, "1. Yes, I agree^n") // Menu 5th rule (Agree)
strcat(menu, tmp, sizeof(menu)-1)
formatex(tmp, sizeof(tmp)-1, "2. No, I disagree (this will remove you from this server!)") // Menu 6th rule (Disagree)
strcat(menu, tmp, sizeof(menu)-1)
return menu
}
stock format_menu(id)
{
new menu[1024],tmp[256]
formatex(tmp, sizeof(tmp)-1, "\y客户端检查 (%d 秒)^n^n", menu_timer[id]) // Menu Topic
strcat(menu, tmp, sizeof(menu)-1)
formatex(tmp, sizeof(tmp)-1, "本服务器使用了脚本检测工具,检测你的设置.^n") // Menu 1st rule
strcat(menu, tmp, sizeof(menu)-1)
formatex(tmp, sizeof(tmp)-1, "检测后,意味着你的游戏中所有 错误的脚本设置 将被还原^n") // Menu 2nd rule
strcat(menu, tmp, sizeof(menu)-1)
formatex(tmp, sizeof(tmp)-1, "你愿意检查你的脚本设置吗?^n^n") // Menu 4th rule
strcat(menu, tmp, sizeof(menu)-1)
formatex(tmp, sizeof(tmp)-1, "1. 是的, 我同意^n") // Menu 5th rule (Agree)
strcat(menu, tmp, sizeof(menu)-1)
formatex(tmp, sizeof(tmp)-1, "2. 不, 我不同意 (这将导致你会被踢出本服务器)") // Menu 6th rule (Disagree)
strcat(menu, tmp, sizeof(menu)-1)
return menu
} |
|