rickykwok 发表于 2009-2-19 23:07:31

名字前加隊標標記

flag_name.amxx
; 名字前加標記

xmdpro 发表于 2009-2-19 23:39:23

没sma的东西没意义

cao869 发表于 2009-2-20 02:10:09

说了等于没说!

8874323 发表于 2009-2-20 12:32:05

NNNNN年前的东西

点通粉丝 发表于 2009-2-20 15:00:24

源码在此

#include <amxmodx>
#include <amxmisc>
#define PLUGIN_NAME "New Plug-In"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "zwfgdlc"
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
register_logevent("join_team",3,"1=joined team","2=CT","2=TERRORIST")
}
public join_team()
{
new log,name,tag,temp,team
read_logargv(0,log,63)
read_logargv(2,team,15)
parse_loguser(log,name,31)
copy(temp,6,name)
new id=get_user_index(name)
if(equal(team,"CT"))
{

if(equal(temp,""))
{
   return;
}else if(contain(temp,"")!=-1)
{
   copy(temp,5,name);
   if(equal(temp,""))
    format(tag,31,"%s",name);
}
else
{
    format(tag,31,"%s",name);
}
}else{
if(equal(temp,""))
{
   format(tag,31,");
}else if(contain(temp,"")!=-1)
{
copy(temp,5,name)
if(equal(temp,""))
   return;
   }else{
   format(tag,31,"%s",name);
}
}
set_user_info(id,"name",tag)
}

wx8882008 发表于 2009-2-21 09:00:45

什么队标啊?

林老師1號 发表于 2009-5-21 19:15:34

名字前加標記 ??

能說清楚點@@

林老師1號 发表于 2009-5-21 19:15:51

名字前加標記 ??

能說清楚點@@

Hebe 发表于 2009-5-21 19:37:18

什么东西啊···
页: [1]
查看完整版本: 名字前加隊標標記