Relax Community
Relax Community

    Foto

    Noob Respawn



    • Por favor, inicie sesiуn para responder

    Vezi subiectul anterior Vezi subiectul urmator In jos  Mesaj [Pagina 1 din 1]

    Vin Mar 29, 2013 5:20 pm
    Fuera de lнnea
    Sandu
    Vin Mar 29, 2013 5:20 pm


    Sandu
    Sandu
    User

    User
    Noob Respawn
    Informatii:
    Denumire plugin: Noob Respawn
    Plugin pentru: AmxModX
    Descriere: Jucatorii primesc respawn in primele 10 secunde (sau un timp setat in sursa).
    Versiune: 1.0
    Autor: Wrecked
    Link oficial: [Trebuie sa fiti inscris si conectat pentru a vedea acest link] ... ost1192846
    Instalare: Cod: noobrespawn.amxx
    1. Fisierul noobrespawn.amxx il puneti in addons/amxmodx/plugins
    2. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
    Descarcare:http://www48.zippyshare.com/v/82135278/file.html
    Fisier sursa: Cod: #include
    #include

    #define TIME_INTERVAL 10.0

    new Float:RoundStartTime

    new bool:bRespawn[33]

    public plugin_init()
    {
    register_plugin( "Respawn Timer", "1.0", "Wrecked" )

    register_logevent( "LogEventRoundStart", 2, "1=Round_Start" )

    RegisterHam( Ham_Killed, "player", "HamKilledPost", 1 )
    }

    public LogEventRoundStart()
    {
    RoundStartTime = get_gametime()

    new iPlayers[32]
    new iNum

    get_players( iPlayers, iNum )

    for( new i = 0; i < iNum; i++ )
    {
    bRespawn[iPlayers[i]] = true
    }
    }

    public HamKilledPost( Victim )
    {
    if( ( RoundStartTime + TIME_INTERVAL >= get_gametime() ) && bRespawn[Victim] )
    {
    ExecuteHamB( Ham_CS_RoundRespawn, Victim )

    bRespawn[Victim] = false

    client_print( Victim, print_chat, "Ai primit respawn!" )
    }
    }

    *Puteti edita timpul de respawn in sursa, linia: Cod: Selectaţi tot #define TIME_INTERVAL 10.0

    Sam Mar 30, 2013 1:23 pm
    Fuera de lнnea
    WarriorCfg
    Sam Mar 30, 2013 1:23 pm


    WarriorCfg
    WarriorCfg
    User

    User
    Bravo

    Mier Mai 15, 2013 11:05 am
    Fuera de lнnea
    NinjaStar0404
    Mier Mai 15, 2013 11:05 am


    NinjaStar0404
    NinjaStar0404
    User

    User
     Noob Respawn   1256775509

    Vin Iul 12, 2013 5:33 pm
    Fuera de lнnea
    Piciu.
    Vin Iul 12, 2013 5:33 pm


    Piciu.
    Piciu.
    User

    User
    Noob Smile) . Gj Wink .

    Fuera de lнnea
    Continut sponsorizat



    Continut sponsorizat

    Mesaj [Pagina 1 din 1]