
albo spróbuj takie coś
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <colorchat>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Waq"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd( "say", "scheck" )
}
public scheck(id){
if (get_user_flags(id)&ADMIN_BAN)
{
new name[33]
get_user_name(id,name,32)
new said[192]
read_args ( said, 191 )
replace_all(said, 191, "^"", "");
if(strlen(said) > 0){
if(is_user_alive(id)){
ColorChat(0, RED, "^x04%s^x01 : %s",name, said)
} else {
ColorChat(0, RED, "*DEAD*^x04%s^x01 : %s",name, said)
}
}
return PLUGIN_HANDLED;
}
return PLUGIN_CONTINUE;
}