Bu eklentiye süre bitene kadar gösterecek bir HUD ekleyebilirmisiniz lütfen
https://www.webailesi.com/konu-zp-4-3-zp-5-0-8-ze-zombie-freeze-9173
https://www.webailesi.com/konu-zp-4-3-zp-5-0-8-ze-zombie-freeze-9173
)

#include <amxmodx>
#include <reapi>
#include <zombieplague>
new const PLUGIN[] = "Zombie_Freeze";
new const VERSION[] = "1.0";
new const AUTHOR[] = "By.KinG";
new geri_sayim,geri_say_hud
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
geri_say_hud = CreateHudSyncObj();
}
public zp_round_started()
{
set_task(1.0, "Zombie_Revive");
}
public Zombie_Revive()
{
new Players[32], Num_Alive_All, New_ID;
get_players(Players, Num_Alive_All, "achi");
for(new i; i < Num_Alive_All; i++)
{
New_ID = Players[i];
if(zp_get_user_zombie(New_ID))
{
zp_respawn_user(New_ID, ZP_TEAM_ZOMBIE);
new Flags = get_entvar(New_ID, var_flags);
if(~Flags & FL_FROZEN)
{
set_entvar(New_ID, var_flags, Flags | FL_FROZEN);
}
set_task(5.0, "Freeze_Remove", New_ID);
}
}
geri_sayim = 5;
set_task(1.0, "CountDown");
}
public CountDown() {
set_hudmessage(255, 0, 0, -1.0, 0.28, 2, 0.02, 1.0, 0.01, 0.1, 10)
ShowSyncHudMsg(0, geri_say_hud, "Freeze'nin Çözülmesine (%i) Saniiye Kaldi",geri_sayim);
geri_sayim--;
if(geri_sayim > 0) {
set_task(1.0, "CountDown");
}
}
public Freeze_Remove(ID)
{
set_entvar(ID, var_flags, get_entvar(ID, var_flags) & ~FL_FROZEN);
}
set_task(5.0, "Freeze_Remove", New_ID);