名字前加隊標標記
flag_name.amxx; 名字前加標記 没sma的东西没意义 说了等于没说! NNNNN年前的东西 源码在此
#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)
} 什么队标啊? 名字前加標記 ??
能說清楚點@@ 名字前加標記 ??
能說清楚點@@ 什么东西啊···
页:
[1]