Code:
#include <amxmodx>
#include <fun>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
#define FLAG ADMIN_KICK
new pnum
new players[32], tempid;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /100le","can")
}
public can(player) {
if(get_user_flags(player) & FLAG)
{
get_players(players, pnum);
for(new i = 0; i < pnum; i++)
{
tempid = players[i];
if(get_user_team(tempid) == 1 && is_user_alive( tempid ))
{
set_user_health(tempid, 100)
}
}
}
}
this heal all tt players