+ Reply to Thread
Results 1 to 8 of 8
  1. [Plugin] Cool Live

    #1
    VIP ~TraNda~'s Avatar
    Member since
    Feb 2014
    Location
    WarGods
    Posts
    12,116
    Last username
    LiOn. ~JoK3r ~
    Blog Entries
    4
    Mentioned
    95 Post(s)
    Achievements Days Registered 4 Mentions Received 2 Mentions Received 1 Mentions Given 4 Mentions Given 3 Mentions Given 2 Mentions Given 1 Threads Rating Received 1
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    [Plugin] Cool Live

    Important :
    • You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    ]


    Descriere:
    • In prima runda va fi afisat un mesaj hud cu efecte care anunta ca urmatoarea runda se va da Live (automat fara sa necesite vreo comanda din partea adminilor) - vezi poza 1 de mai jos.
    • Restartul rundei va fi anuntat printr-o voce care va zice : "Live in three seconds" urmand ca dupa 3 secunde sa se execute comanda.
    • In timpul restartului vor aparea mesaje si efecte pe ecran in culori diferite astfel : daca esti CT mesajele si ecranul vor fi albastre , daca esti Tero vor fi rosii iar daca esti Spectator vor fi verzi ( vezi pozele de mai jos).
    • Adminii pot da live/restart daca vor sau este nevoie prin comanda /live in chat. Accesul la comanda il au cei care au acces la comanda Kick aka ADMIN_KICK.

    Plugin: CooL_Live
    Versiune: 1.0
    Autor: M3taph0riK
    Link oficial: -
    Download link: You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    SMA

    #include <amxmodx>
    #include <amxmisc>
    #include <engine>
    #include <colorchat>

    #define ACCESS ADMIN_KICK

    new g_Count = 0
    new bool: g_Data = false

    public plugin_init()
    {
    register_plugin("CooL_Live","1.0","M3taph0riK")

    register_event("TextMsg","game_commencing","a","2& #Game_C")
    register_event("HLTV","new_round","a","1=0","2=0")

    register_clcmd("say /live","say_live",ACCESS)

    set_hudmessage(255, 0, 170, -1.0, 0.2, 1, 6.0, 10.0)
    }

    public game_commencing()
    g_Data = true

    public new_round(id) {
    if( g_Data == true )
    g_Count++

    if( g_Count == 1 ) {
    show_hudmessage(0, "Live next round !^n Good Luck & Have Fun !!^n^n CooL_Live Plugin Created by M3taph0riK !!")

    }

    if( g_Count == 2 ) {
    server_cmd("sv_restart 3")
    set_task(0.1,"msg1",id)
    set_task(0.2,"screeneffect",id)

    }
    return PLUGIN_CONTINUE;
    }

    public say_live(id)
    {
    if(!(get_user_flags(id) & ACCESS))
    return PLUGIN_HANDLED;

    server_cmd("sv_restart 3")
    set_task(0.1,"msg2",id)
    set_task(0.2,"screeneffect",id)

    return PLUGIN_CONTINUE;
    }

    public msg1(id)
    {
    client_cmd(0,"spk ^"life in three seconds^"")
    new hostname[64]
    get_cvar_string("hostname",hostname,63)
    ColorChat(id, GREEN, "[^x03 %s^x04 ]^x01 |---------------^x04 LiVE !^x01 ---------------|", hostname)
    ColorChat(id, GREEN, "[^x03 %s^x04 ]^x01 |---------------^x04 LiVE !^x01 ---------------|", hostname)
    ColorChat(id, GREEN, "[^x03 %s^x04 ]^x01 |---------------^x04 LiVE !^x01 ---------------|", hostname)
    new restartname[32]
    get_user_name(id, restartname, 31)
    ColorChat(id, GREEN, "^x01 Echipa^x04 %s^x03 Va Ureaza Spor La Fraguri^x01 !", restartname)
    }

    public msg2(id)
    {
    client_cmd(0,"spk ^"life in three seconds^"")
    new hostname[64]
    get_cvar_string("hostname",hostname,63)
    ColorChat(0, GREEN, "[^x03 %s^x04 ]^x01 |---------------^x04 LiVE !^x01 ---------------|", hostname)
    ColorChat(0, GREEN, "[^x03 %s^x04 ]^x01 |---------------^x04 LiVE !^x01 ---------------|", hostname)
    ColorChat(0, GREEN, "[^x03 %s^x04 ]^x01 |---------------^x04 LiVE !^x01 ---------------|", hostname)
    new restartname[32]
    get_user_name(id, restartname, 31)
    ColorChat(0, GREEN, "^x01 Adminul^x04 %s^x03 Va Ureaza Spor La Fraguri^x01 !", restartname)
    }

    public screeneffect(id)
    {
    new players[32], playerx,a,inum
    get_players(players, inum)
    for(a = 0; a < inum; ++a) {
    playerx = players[a];
    switch (get_user_team(playerx)){
    case 1: {
    Fade(playerx,255,0,0,30)
    }
    case 2: {
    Fade(playerx,0,0,255,30)
    }
    case 3:{
    Fade(playerx,0,255,0,30)
    }
    }
    }
    }

    stock Fade(index,red,green,blue,alpha)
    {
    message_begin(MSG_ONE,get_user_msgid("ScreenFade") ,{0,0,0},index)
    write_short(5<<10)
    write_short(5<<10)
    write_short(5<<12)
    write_byte(red)
    write_byte(green)
    write_byte(blue)
    write_byte(alpha)
    message_end()
    }


    Instalare:
    1. Fisierul
      CooL_Live.amxx
      il puneti in
      addons/amxmodx/plugins
    2. Intrati in fisierul
      addons/amxmodx/configs/plugins.ini
      si adaugati la urma
    CooL_Live.amxx
    Comenzi (chat/consola):Nu Necesita

    Cvar-uri: Nu Necesita

    Imagini








    WarGods Community
    Last edited by ~TraNda~; 15-09-2015 at 08:14 PM.
    -------------

    TraNda - WarGods | R.R.M - AngeL - LiOn. - pichacku - Jok3r - UnicA

    P A C E

    DISCORD: unknown.cfg


  2. [Plugin] Cool Live

    #2
    link invalid (

  3. [Plugin] Cool Live

    #3
    VIP ~TraNda~'s Avatar
    Member since
    Feb 2014
    Location
    WarGods
    Posts
    12,116
    Last username
    LiOn. ~JoK3r ~
    Blog Entries
    4
    Mentioned
    95 Post(s)
    Achievements Days Registered 4 Mentions Received 2 Mentions Received 1 Mentions Given 4 Mentions Given 3 Mentions Given 2 Mentions Given 1 Threads Rating Received 1
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    Quote Originally Posted by timka95 You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    link invalid (
    Ai sursa plugin-ului sub link-ul de download.
    -------------

    TraNda - WarGods | R.R.M - AngeL - LiOn. - pichacku - Jok3r - UnicA

    P A C E

    DISCORD: unknown.cfg


  4. [Plugin] Cool Live

    #4
    Manager Server:
    CRIMINAL.WARGODS.RO
    sTe''''s Avatar
    Member since
    Sep 2024
    Location
    Buzau
    Posts
    66
    Mentioned
    3 Post(s)
    Achievements Days Registered 1 Threads 2 Threads 1 Total Posts 1
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    Pentru 2025 nu 200 aveti vrunul )
    Last edited by sTe'''; 22-02-2025 at 04:16 AM.

  5. [Plugin] Cool Live

    #5
    VIP ~TraNda~'s Avatar
    Member since
    Feb 2014
    Location
    WarGods
    Posts
    12,116
    Last username
    LiOn. ~JoK3r ~
    Blog Entries
    4
    Mentioned
    95 Post(s)
    Achievements Days Registered 4 Mentions Received 2 Mentions Received 1 Mentions Given 4 Mentions Given 3 Mentions Given 2 Mentions Given 1 Threads Rating Received 1
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    Quote Originally Posted by sTe''' You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    Pentru 2025 nu 200 aveti vrunul )
    "Vreunul" poate "creezi" tu. Actualizeaza SMA-ul postat acum 10 ani (sper ca nu iti e greu sa calculezi, la fel cum iti este sa scrii si sa comunici sau poate e doar o "erouare"), te treci autor si pastrezi SMA-ul.
    Nu uita, scoti colorchat si te folosesti de functia client_print_color. Succes.
    -------------

    TraNda - WarGods | R.R.M - AngeL - LiOn. - pichacku - Jok3r - UnicA

    P A C E

    DISCORD: unknown.cfg


  6. [Plugin] Cool Live

    #6
    Manager Server:
    CRIMINAL.WARGODS.RO
    sTe''''s Avatar
    Member since
    Sep 2024
    Location
    Buzau
    Posts
    66
    Mentioned
    3 Post(s)
    Achievements Days Registered 1 Threads 2 Threads 1 Total Posts 1
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    #
    ()
    Last edited by sTe'''; 03-08-2025 at 09:46 PM.

  7. [Plugin] Cool Live

    #7
    salut , comanda say /live merge , problema este ca nu se da automat restart dupa prima runda , ma poate ajuta careva?

  8. [Plugin] Cool Live

    #8
    luati pluginul de la ste e mult mai bun si testat decat asta
    Like sTe''' a dat Like acetui post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Partners
Humble Monthly Bundle
Voucher PC-Garage