Hello, it is possible to edit this plugin so that when it is activated it is listened:
Tt and Tt between alive and dead
CT and CT between alive and dead.
PHP Code:
#include <amxmodx>
#include <fun>
public plugin_init() {
register_plugin("Team Alltalk","0.1","v3x")
register_event("ResetHUD","new_round","a")
}
public new_round() {
new ctplayers[32],ctnum
new ctplayers2[32],ctnum2
get_players(ctplayers,ctnum,"ce","CT")
get_players(ctplayers2,ctnum2,"ce","CT")
for(new i=0; i<ctnum; i++) {
for(new a=0; a<ctnum2; a++)
set_client_listen(ctplayers[i],ctplayers2[a],1)
}
new teplayers[32],tenum
new teplayers2[32],tenum2
get_players(teplayers,ctnum,"ce","TERRORIST")
get_players(teplayers2,tenum2,"ce","TERRORIST")
for(new t=0; t<tenum; t++) {
for(new e=0; e<tenum2; e++)
set_client_listen(teplayers[t],teplayers2[e],1)
}
return PLUGIN_CONTINUE
}
The plugin, Only is listened between:
Tt and Tt alives o Tt and Tt dead.
Ct and Ct alives o Ct and Ct dead.
Can anybody do it?? thank you very much!!