arkadaşlar plugin çalışıyor fakat güncellenmesinde sıkıntı var mesela adam çıkınca yada adam ölünce güncelleniyor adam artınca güncellenmiyor anca bi adam eksilince güncelleniyor yardım eder misiniz?
PHP- Kodu:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <hamsandwich>

#define PLUGIN "Show Prisoners"
#define VERSION "1.0"
#define AUTHOR "akcaliberk"

new canli,toplam;
public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
    
register_event("DeathMsg","DeathEvent","a")
    
register_logevent("RoundStart",2,"1=Round_Start")
    
    
RegisterHam(Ham_Spawn,"player","EventSpawn")
    
}
public 
client_authorized(id) {
    
set_task(1.0,"Guncelle",id,_,_,"b")
}
public 
Guncelle(id) {
    
client_print(id,print_center,"[%d Mahkumdan %d Tanesi Yasiyor]",toplam,canli)
}
public 
EventSpawn(id) {
    
checkTerror()
}
public 
DeathEvent() {
    new 
olen read_data(2);
    
    if(
get_user_team(olen) == 1) {
        
set_task(0.5,"checkTerror")
    }
}
public 
RoundStart() {
    
set_task(0.5,"checkTerror")
}
public 
checkTerror() {
    
    new 
players[32],terortop,teroralv;
    
get_players(players,teroralv,"ae","TERRORIST")
    
get_players(players,terortop,"e","TERRORIST")
    
    
canli teroralv;
    
toplam terortop;