|
发表于 2006-2-7 03:34:27
|
显示全部楼层
来自 中国–广东–深圳
回复: 【原创】娱乐型反作弊插件v1.1--2005-10-3
Post by Enigmaya
格式没对齐。。。
没什么影响。。
没有出现那个名称,好像是顺序有问题,先前就一直觉得不对,果然。。。改成下面这样的吧
new ip[15]
for(new i=offset;i<onepageplayer+offset;i++)
{
new username[33]
get_user_name(players,username,32)
new string[256]
if( player_flag[ players ] || teleportplayer[players] || playerfly[players])
{
format(string,255,"\d%d. %s (punishing) ^n",i+1-offset,username)
//choices[id][i-offset] = ""
}
else if( is_user_admin(players) )
{
format(string,255,"\d%d. %s (Admin) ^n",i+1-offset,username)
}
else if( get_user_ip(players,ip,14),!contain( ip,"**1**") )
format(string,255,"\d%d. %s (**2**) ^n",i+1-offset,username)
else
{
format(string,255,"\w%d. %s ^n",i+1-offset,username)
new id_str[33]
num_to_str(players,id_str,32)
choices[id][i-offset] = id_str
}
add(menu,255,string)
}
高,实在是高!!!!!!!!!!! :boss: :super: |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|