xiao69
发表于 2009-9-13 20:41:40
东西到是很好。记得要分享啊
那小子真帅
发表于 2009-9-14 10:54:23
一堆废话,签定完毕
biscuit628
发表于 2009-9-14 12:35:50
本帖最后由 biscuit628 于 2009-9-14 12:38 编辑
盗别人的作品还要说原创
最看不起楼主这种人#include <amxmodx>
#include <amxmisc>
public plugin_init() {
register_plugin("管理阶层列表","1.0","ChanTikKi")
register_clcmd("say /admin","clcmd_admins",-1," - Shows The Online Admins In The Serverz")
}
public clcmd_admins(id) {
new adminlist = " [管理阶层]^nMade By Chantikki"
new temp,adminnames,players,num,player,i
get_players(players,num)
for(i = 0;i < num;i++) {
player = players
if(is_user_connected(player) && (get_user_flags(player) & ADMIN_LEVEL_A))
{
get_user_name(player,adminnames,22)
format(temp,63,"[高级管理员] - %s^n",adminnames)
add(adminlist,2047,temp)
}
else if(is_user_connected(player) && (get_user_flags(player) & ADMIN_LEVEL_B))
{
get_user_name(player,adminnames,22)
format(temp,63,"[低级管理员] - %s^n",adminnames)
add(adminlist,2047,temp)
}
else if(is_user_connected(player) && (get_user_flags(player) & ADMIN_LEVEL_C))
{
get_user_name(player,adminnames,22)
format(temp,63,"[贵宾] - %s^n",adminnames)
add(adminlist,2047,temp)
}
}
if(strfind(adminlist,"-") == -1) {
add(adminlist,2047,"")
}
set_hudmessage(255, 40, 40, -1.0, 0.17, 0, 0.0, 3.0, 2.0, 1.0, -1)
show_hudmessage(id,adminlist)
return PLUGIN_HANDLED
}
colaawp
发表于 2009-9-14 12:37:26
感觉不错....认为a 为管理员比较好吧.~~
蓝潆煦
发表于 2009-9-14 17:04:00
respawn
发表于 2009-9-21 17:04:42
不知所云···········
waaxinyo
发表于 2009-9-23 13:31:04
恩还不错。。
xp200798
发表于 2009-10-3 23:37:27
感觉杂乱了点………………
76233386
发表于 2009-10-17 14:35:06
观望下。。。。。。。。。。
狂龙骑士
发表于 2009-10-17 16:12:28
LZ的说话系统之前有人发过了。。。一模一样