Serwery wiaderko.com Zwiń / Rozwiń kategorię

HashJama [TP] 193.33.176.148:27015 | tp.wiaderko.com status serwera HashJama [TP] połącz

HashJama CS:GO [DM] 193.33.176.53:27015 | dm.wiaderko.com status serwera HashJama CS:GO [DM] połącz

HashJama CS:GO [FFA] 193.33.176.15:27015 | ffa.wiaderko.com status serwera HashJama CS:GO FFA [FFA] połącz

HashJama [TeamSpeak 3] 62.210.99.220:9987 | ts.wiaderko.com status serwera HashJama [TP ELITE] 62.210.99.220:27015 połącz

SPONSOR:
pukawka.pl

Nabór na JUNIOR ADMINA forum - Więcej informacji > Klik <
Pokaż wyniki od 1 do 12 z 12
  1. #1
    Lamka Awatar BlooDiik
    Dołączył
    Apr 2013
    Wiek
    21
    Posty
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Domyślnie [REQ] Furiens Frozen

    Hi all i have a request. I need help help with this:


    On RoundStart TERRORISTs are frozen and have transparent screen fade. CT can normal play and show HUD message to all players "Ter frozen left: 5..4..3..2..1..0" -- "Ter have been unfrozen"
    Can anyone help me please?
    Ostatnio edytowane przez BlooDiik ; 26-04-2013 o 13:32
    I'm learning the language PAWN

  2. #2
    Adminus pospolitus Awatar naven
    Dołączył
    Jan 2008
    Wiek
    25
    Posty
    10,802
    Thanks
    31
    Thanked 652 Times in 605 Posts

    Domyślnie Odp: [REQ] Furiens Frozen

    You didn't say what's the problem exactly. Do you want to remove startround freeze?
    Najlepszy hosting Hidden Content href="Hidden Content target="_blank">tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na Hidden Content

    "At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.

  3. #3
    Lamka Awatar BlooDiik
    Dołączył
    Apr 2013
    Wiek
    21
    Posty
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Domyślnie Re: [REQ] Furiens Frozen

    No no.. I need create this plugin, but i cant. I need to give me some help with it.
    I'm learning the language PAWN

  4. #4
    Adminus pospolitus Awatar naven
    Dołączył
    Jan 2008
    Wiek
    25
    Posty
    10,802
    Thanks
    31
    Thanked 652 Times in 605 Posts

    Domyślnie Odp: [REQ] Furiens Frozen

    Kod php:
    stock fm_set_user_frozen(clientfrozen)
    {
        if( !
    is_user_alive(client) ) return 0;
        
        new 
    flags pev(clientpev_flags);
        if( 
    frozen && !(flags FL_FROZEN) )
        {
            
    set_pev(clientpev_flags, (flags FL_FROZEN));
        }
        else if( !
    frozen && (flags FL_FROZEN) )
        {
            
    set_pev(clientpev_flags, (flags & ~FL_FROZEN));
        }
        
        return 
    1;

    Najlepszy hosting Hidden Content href="Hidden Content target="_blank">tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na Hidden Content

    "At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.

  5. #5
    Lamka Awatar BlooDiik
    Dołączył
    Apr 2013
    Wiek
    21
    Posty
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Domyślnie Re: [REQ] Furiens Frozen

    You can add countdown? I have one plugin, but cant add countdown.
    Kod:
    ShowSyncHudMsg( 0, HudObjSync, "Anti-Furieni maji naskok: %i", get_pcvar_num(gFreezeTime))
    This stay on 5 and no countdown

    I need "Anti-Furieni maji naskok: %i" 5..4..3..2..1..0

    Kod php:
    #include <amxmodx>
    #include <amxmisc>
    #include <fakemeta>

    new HudObjSync
    new gTeamFreezegFreezeTimegFreezeTeam

    public plugin_init() 
    {
        
    register_plugin("Team Freeze + countdown""1.0""xxx")
        
    register_event("HLTV""eRoundStart""a""1=0""2=0")
        
        
    // Change the CVAR "freeze_team" to "0" to disable this plugin
        
    gTeamFreeze register_cvar("freeze_team_enabled""1")
        
    // 10.0 is how many seconds to freeze the player
        
    gFreezeTime register_cvar("freeze_time""10.0")
        
    // team 1 = terrorist, team 2 = counter-terrorist
        
    gFreezeTeam register_cvar("freeze_team""1")
        
        
    HudObjSync CreateHudSyncObj();
    }

    public 
    eRoundStart() 
    {
        if (
    get_pcvar_num(gTeamFreeze) > 0
        {
            
    set_task(get_cvar_num("mp_freezetime") + 0.1"FreezeTeam")
        }
    }

    public 
    FreezeTeam() 
    {
        new 
    players[32], totalplayersplayer
        get_players
    (playerstotalplayers)
        
        for (new 
    0totalplayersi++)
        {
            
    player players[i]
            if (
    get_user_team(player) == get_pcvar_num(gFreezeTeam)) 
            {
                
    set_hudmessage(2551270, -1.00.2510.55.0)
                
    ShowSyncHudMsg0HudObjSync"Anti-Furieni maji naskok: %i"get_pcvar_num(gFreezeTime)) 
                
    set_pev(playerpev_flagspev(playerpev_flags) | FL_FROZEN)
            }
        }
        
    set_task(float(get_pcvar_num(gFreezeTime)), "UnFreezeTeam"6291)
    }

    public 
    UnFreezeTeam() 
    {
        new 
    players[32], totalplayersplayer
        get_players
    (playerstotalplayers)
        
        for (new 
    0totalplayersi++)
        {
            
    player players[i]
            if (
    get_user_team(player) == get_pcvar_num(gFreezeTeam)) 
            {
                
    set_hudmessage(2550255, -1.00.2510.55.0)
                
    ShowSyncHudMsg0HudObjSync"Furieni byli uvolneni!")
                
    set_pev(playerpev_flagspev(playerpev_flags) & ~FL_FROZEN)
            }
        }

    I'm learning the language PAWN

  6. #6
    Adminus pospolitus Awatar naven
    Dołączył
    Jan 2008
    Wiek
    25
    Posty
    10,802
    Thanks
    31
    Thanked 652 Times in 605 Posts
    Najlepszy hosting Hidden Content href="Hidden Content target="_blank">tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na Hidden Content

    "At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.

  7. #7
    Lamka Awatar BlooDiik
    Dołączył
    Apr 2013
    Wiek
    21
    Posty
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Domyślnie Re: [REQ] Furiens Frozen

    I dont know how... :( i try this:

    But countdown is bad... Countdown is 4..2..0..-2..-4..-6 and after public UnFreezeTeam()

    Please help. I want 5..4..3..2..1..0 and after public UnFreezeTeam()
    Kod php:
    #include <amxmodx>
    #include <fakemeta>

    #define TASKID  1996
    #define SECONDS 5

    new iSeconds

    new HudObjSync

    new gTeamFreezegFreezeTeam

    public plugin_init() 
    {
        
    register_plugin("Team Freeze + countdown""1.0""xxx")
        
        
    register_event("HLTV""eRoundStart""a""1=0""2=0")
        
        
    register_logevent"LogEventRoundStart"2"1=Round_Start" )
        
        
    // Change the CVAR "freeze_team" to "0" to disable this plugin
        
    gTeamFreeze register_cvar("freeze_team_enabled""1")
        
    // 10.0 is how many seconds to freeze the player
        //gFreezeTime = register_cvar("freeze_time", "10.0")
        // team 1 = terrorist, team 2 = counter-terrorist
        
    gFreezeTeam register_cvar("freeze_team""1")
        
        
    HudObjSync CreateHudSyncObj();
    }

    public 
    eRoundStart() 
    {
        if (
    get_pcvar_num(gTeamFreeze) > 0
        {
            
    set_task(get_cvar_num("mp_freezetime") + 0.1"FreezeTeam")
        }
    }

    public 
    LogEventRoundStart()
    {
        if( 
    task_existsTASKID ) )
            
    remove_taskTASKID )
            
        
    iSeconds SECONDS
        set_task
    1.0"FreezeTeam"TASKID__"a"SECONDS )
    }

    public 
    FreezeTeam() 
    {
        new 
    players[32], totalplayersplayer
        get_players
    (playerstotalplayers)
        
        for (new 
    0totalplayersi++)
        {
            
    player players[i]
            if (
    get_user_team(player) == get_pcvar_num(gFreezeTeam)) 
            {
                
    set_hudmessage(2551270, -1.00.2510.55.0)
                
    ShowSyncHudMsg0HudObjSync"Anti-Furieni maji naskok: %i"iSeconds--) 
                
    set_pev(playerpev_flagspev(playerpev_flags) | FL_FROZEN)
            }
        }
        
    set_task(float(SECONDS), "UnFreezeTeam"6291)
    }

    public 
    UnFreezeTeam() 
    {
        new 
    players[32], totalplayersplayer
        get_players
    (playerstotalplayers)
        
        for (new 
    0totalplayersi++)
        {
            
    player players[i]
            if (
    get_user_team(player) == get_pcvar_num(gFreezeTeam)) 
            {
                
    set_hudmessage(2550255, -1.00.2510.55.0)
                
    ShowSyncHudMsg0HudObjSync"Furieni byli uvolneni!")
                
    set_pev(playerpev_flagspev(playerpev_flags) & ~FL_FROZEN)
            }
        }

    I'm learning the language PAWN

  8. #8
    Adminus pospolitus Awatar naven
    Dołączył
    Jan 2008
    Wiek
    25
    Posty
    10,802
    Thanks
    31
    Thanked 652 Times in 605 Posts

    Domyślnie Odp: [REQ] Furiens Frozen

    What are you trying to achieve exactly?
    Najlepszy hosting Hidden Content href="Hidden Content target="_blank">tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na Hidden Content

    "At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.

  9. #9
    Lamka Awatar BlooDiik
    Dołączył
    Apr 2013
    Wiek
    21
    Posty
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Domyślnie Re: [REQ] Furiens Frozen

    In this line i want countdown
    Kod php:
    ShowSyncHudMsg0HudObjSync"Anti-Furieni maji naskok: %i"iSeconds--) 
    5,4,3,2,1,0 but now Stay on 5
    I'm learning the language PAWN

  10. #10
    Adminus pospolitus Awatar naven
    Dołączył
    Jan 2008
    Wiek
    25
    Posty
    10,802
    Thanks
    31
    Thanked 652 Times in 605 Posts

    Domyślnie Odp: [REQ] Furiens Frozen

    eh... what?
    Najlepszy hosting Hidden Content href="Hidden Content target="_blank">tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na Hidden Content

    "At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.

  11. #11
    prawie jak pro Awatar kikoru
    Dołączył
    Sep 2009
    Wiek
    29
    Posty
    836
    Thanks
    51
    Thanked 30 Times in 23 Posts

    Domyślnie Odp: [REQ] Furiens Frozen

    Chce odliczanie do 0 a zatrzymuje mu sie na 5 :)
    Spooky^
    Sola'Mira

  12. #12
    Lamka Awatar BlooDiik
    Dołączył
    Apr 2013
    Wiek
    21
    Posty
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Domyślnie Re: [REQ] Furiens Frozen

    Odwrotnie :D Odliczanie od 5 na 0 :)
    I'm learning the language PAWN

Podobne wątki

  1. [Steam] Frozen-team
    By tomo4te in forum Klan CS 1.6 szuka graczy
    Odpowiedzi: 0
    Ostatni post / autor: 27-03-2012, 15:09
  2. Frozen (2010) DVDRip
    By sergio090588 in forum Archiwum forum
    Odpowiedzi: 0
    Ostatni post / autor: 24-05-2010, 15:11
  3. Frozen Frenzy
    By Kazik Na Żywo in forum Gry strategiczne online
    Odpowiedzi: 0
    Ostatni post / autor: 18-03-2010, 01:30
  4. [Download][PC] Frozen Bubble 1.0.0e
    By beRRo in forum Archiwum forum
    Odpowiedzi: 0
    Ostatni post / autor: 22-03-2009, 00:58
  5. Warcraft Frozen Throne
    By macieja92 in forum Archiwum serwerów Counter Strike
    Odpowiedzi: 0
    Ostatni post / autor: 24-08-2008, 22:39

Odwiedzający poszukiwali:

anti furiens freeze amxx

Uprawnienia umieszczania postów

  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •