/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
#include <hamsandwich>
#define PLUGIN "BB_Help"
#define VERSION "1.0"
#define AUTHOR ".:MiSzCzU:."
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /help","bb_help")
}
public bb_help(id) {
if(!is_user_alive(id)){
return PLUGIN_HANDLED
}
if(get_user_team(id)==2){
set_user_rendering(id, kRenderFxGlowShell, 0, 255, 0, kRenderNormal, 20);
new name[ 33 ]
get_user_name( id, name, 32 )
for( new i = 1 ; i<= get_maxplayers(); i ++ )
if( has_flag( i, "a" ) )
client_print( i, print_chat, "Ktos potrzebuje pomocy" )
}
return PLUGIN_HANDLED
}
Użytkownik Albertd edytował ten post 11.03.2014 18:11