|
/* new Float:voting = get_cvar_float("amx_last_voting")
if ( voting > get_gametime() )
{
client_print(0,print_chat,"vote will delay %d s",MAXHODESEC);
set_task(MAXHODESEC*1.0,"InitVote",target)
return PLUGIN_HANDLED;
}*/
new str[128];
switch( g_startVoteType ){
case 0: format(str,127," %d 速度超过过了限制速度",g_playerSpeedWarn[target]);
case 1: format(str,127," %d 超过穿墙限制次数杀死玩家",g_playerThWallWarn[target]);
case 2: format(str,127," %d 超过限制次数杀死被闪玩家",g_playerFlashWarn[target]);
}
new menuBody[512],pname[32];
get_user_name(target,pname,31);
new len=format(menuBody,511,"\r 你认为 %s 是在作弊吗 ? ^n",pname);
len+=format(menuBody[len],511-len,"\d( [FC] %s )^n^n",str);
len+=format(menuBody[len],511-len,"\w8. 是的 ! ^n");
len+=format(menuBody[len],511-len,"\w9. 不确定 ! ^n");
show_menu(0,KEY8|KEY9,menuBody,MAXHODESEC-1,"anyVoteMenu");
/* new Float:vote_time = MAXHODESEC*1.0 + 2.0
|
|