|
register_clcmd("0challenge", "challengefn", ADMIN_CFG, "<小刀对挑> <被挑战者> - 开始单挑")
client_print(challenger, print_chat, "你%s下了小刀对战贴! 等候回复还剩 %d 秒...", challenged_name, DECIDESECONDS)
new menu[1024], keys = MENU_KEY_1 | MENU_KEY_2
format(menu, 1023, "%s 丢给你一封小刀对战战书^n^n - 快点应战!你只剩下 %d 秒考虑!^n^n\y1\w. 过来,我用小刀割你的肉!^n\y2\w. 算了,我是闹钟,不与你战", challenger_name, DECIDESECONDS)
show_menu(challenged, keys, menu, -1, "themenutitle")
set_task(float(DECIDESECONDS), "timed_closemenu", TASKID_CHALLENGING)
}
public timed_closemenu() {
if (g_challenging) {
new challenger_name[32], challenged_name[32]
get_user_name(g_challenger, challenger_name, 31)
get_user_name(g_challenged, challenged_name, 31)
client_print(0, print_chat, "%s 你回应 %s 的刀战战书太慢了,兄弟们都等到花儿也谢了...", challenged_name, |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|