UWAGA
W związku z upgrade'em Forum Wiaderko do vB 4.x ewentualne błędy i nieprawidłowości proszę zgłaszać w tym temacie
Serwery Counter Strike 1.6 wiaderko.com

HashJama [TP] 193.33.176.148:27015 status serwera HashJama [TP] połącz

HashJama [FFA] 193.33.176.188:27015status serwera HashJama [FFA] połącz

HashJama [DM] 193.33.176.53:27015status serwera HashJama [DM] połącz

HashJama [Aim Hs] 193.33.176.15:27015status serwera HashJama [Aim Hs] połącz

HashJama [Flags] 193.33.176.111:27015status serwera HashJama  [Flags] połącz

HashJama [AWP/HG DM] 193.33.176.50:27015status serwera HashJama [AWP/HG DM] 193.33.176.50:27015 połącz

HashJama [TP #2] 193.33.176.54:27015status serwera HashJama [TP #2] 193.33.176.54:27015 połącz

wiaderko.com [Ventrilo] v1.svoice.pl:6416status serwera wiaderko.com [Ventrilo]

SPONSOR:
pukawka.pl

Wątek: Resy na poczatku rundy

Pokaż wyniki od 1 do 5 z 5
  1. #1 Resy na poczatku rundy 
    Starsza lamka
    Dołączył
    Jun 2009
    Wiek
    19
    Posty
    90
    Czesc. Potrzebuje, a moze nazwe to tak: szukam pluginu ktory na poczatku kazdej nowej mapki w pierwszej rundzie bedzie wczytywal 3 restarty po 1 sekundzie kazdy z napisami w SAY: live , gl & hf - cos w tym stylu - tutaj daje wolna reke.
    Z gory dziekuje za pomoc, - odzwdziecze sie.

    Przykladowe restarty: - jest ich wiele, podam kilka pierwszych z brzegu, mi nie chodzi o efekt wizualny, lecz zeby kazdy zdazyl w pierwszej rundzie na piostolety zagrac..


    Kod:
     alias wait5 "wait;wait;wait;wait;wait"
    alias wait6 "wait5;wait"
    alias wait10 "wait5;wait5"
    alias wait110 "wait10;wait10;wait10;wait10;wait10;wait10;wait10;wait10;wait10;wait10;wait10"
    
    say [----Fight after 3 restarts----];wait110
    sv_restartround 1;wait110
    say [-----#1-----];wait110
    say;wait110
    say [-----#2-----];wait6
    sv_restartround 1;wait110
    say;wait110
    say [-----#3-----];wait10
    sv_restartround 1;wait110
    say;wait110
    say [LIVE--------];wait6
    say [-LIVE-------];wait6
    say [--LIVE------];wait6
    say [---LIVE-----];wait6
    say [----LIVE----];wait6
    say [-----LIVE---];wait6
    say [------LIVE--];wait6
    say [-------LIVE-];wait6
    say [--------LIVE];wait6
    say [E--------LIV];wait6
    say [VE--------LI];wait6
    say [IVE--------L];wait6
    say [LIVE--------];wait6
    say [-LIVE-------];wait6
    say [--LIVE------];wait6
    say [---LIVE-----];wait6
    say [----LIVE----];wait6
    say [-----LIVE---];wait6
    say [------LIVE--];wait6
    say [-------LIVE-];wait6
    say [--------LIVE];wait6
    say [E--------LIV];wait6
    say [VE--------LI];wait6
    say [IVE--------L];wait6
    say [LIVE--------];wait6
    say [-LIVE-------];wait6
    say [--LIVE------];wait6
    say [---LIVE-----];wait6
    say [---HF&GL----];wait6
    say [-----Go-----];wait6
    say [-----Go-----];wait6


    Kod:
    alias w5 "wait;wait;wait;wait;wait"
    alias w6 "w5;wait"
    alias w10 "w5;w5"
    alias w110 "w10;w10;w10;w10;w10;w10;w10;w10;w10;w10;w10"
    alias w550 "w110;w110;w110;w110;w110"
    
    say "[---LIVE-AFTER-3-RESTART'S---]
    say "[---LIVE-AFTER-3-RESTART'S---]
    say "[---LIVE-AFTER-3-RESTART'S---]
    
    w110
    
    say [---(________   \----];w6
    say [---------------\   |---];w6
    say [---------(____    |---];w6
    say [---------------/   |---];w6
    say [---(__________/---];w10
    
    w110
    w110
    w110
    w110
    w110
    
    say [----/   __    \-------];w6
    say [---(__/   \    |------];w6
    say [----------/    /------];w6
    say [--------/     /-------];w6
    say [------(_______)---];w10
    
    w110
    w110
    w110
    w110
    
    say [----/        \--------];w6
    say [---(__/|    |-------];w6
    say [--------|    |-------];w6
    say [--------|    |-------];w6
    say [-----(_______)---];w10
    
    sv_restart 1
    
    w550
    
    sv_restart 1
    
    w550
    
    sv_restart 1
    
    w550
    
    say [---GAME-IS-NOW-LIVE!!!---];w10
    say [---GOOD-LUCK-!!!---];w10
    say [---------AND----------];w10
    say [-----HAVE-FUN-!!!----];w10
    say [--------BOYS-!!!------];w10

    Kod:
    ///////////////////////
    //make by smolak
    //smolak@gmail.com
    
    alias wait5 "wait;wait;wait;wait;wait"
    alias wait6 "wait5;wait"
    alias wait10 "wait5;wait5"
    alias wait110 "wait10;wait10;wait10;wait10;wait10;wait10;wait10;wait10;wait10;wait10;wait10"
    
    say [----Fight after 3 restarts----] ;wait110
    sv_restartround 1 ;wait110
    say [-----#1-----] ;wait110
    say ;wait110
    say [-----#2-----] ;wait6
    sv_restartround 1 ;wait110
    say ;wait110
    say [-----#3-----] ;wait10
    sv_restartround 1 ;wait110
    say ;wait110
    say [LIVE--------] ;wait6
    say [-LIVE-------] ;wait6
    say [--LIVE------] ;wait6
    say [---LIVE-----] ;wait6
    say [----LIVE----] ;wait6
    say [-----LIVE---] ;wait6
    say [------LIVE--] ;wait6
    say [-------LIVE-] ;wait6
    say [--------LIVE] ;wait6
    say [E--------LIV] ;wait6
    say [VE--------LI] ;wait6
    say [IVE--------L] ;wait6
    say [LIVE--------] ;wait6
    say [-LIVE-------] ;wait6
    say [--LIVE------] ;wait6
    say [---LIVE-----] ;wait6
    say [----LIVE----] ;wait6
    say [-----LIVE---] ;wait6
    say [------LIVE--] ;wait6
    say [-------LIVE-] ;wait6
    say [--------LIVE] ;wait6
    say [E--------LIV] ;wait6
    say [VE--------LI] ;wait6
    say [IVE--------L] ;wait6
    say [LIVE--------] ;wait6
    say [-LIVE-------] ;wait6
    say [--LIVE------] ;wait6
    say [---LIVE-----] ;wait6
    say [---HF&GL----] ;wait6
    say [-----Go-----] ;wait6
    say [-----Go-----] ;wait6
     

  2. #2 Odp: Resy na poczatku rundy 
    Super Mod Awatar peku33
    Dołączył
    Oct 2008
    Posty
    7,256
    amx round restart + google
    PISANIE DO MNIE NA GG Z PROŚBĄ O JAKĄKOLWIEK POMOC NIE JEST MILE WIDZIANE! Numer: 6374959
     

  3. #3 Odp: Resy na poczatku rundy 
    Starsza lamka
    Dołączył
    Jun 2009
    Wiek
    19
    Posty
    90
    nie moge nic takiego znalezc.
     

  4. #4 Odp: Resy na poczatku rundy 
    Adminus pospolitus
    Dołączył
    Jan 2008
    Wiek
    20
    Posty
    9,225
    Najlepszy hosting www tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na www.naven.com.pl
    Jebać steama.
     

  5. #5 Odp: Resy na poczatku rundy 
    Starsza lamka
    Dołączył
    Jun 2009
    Wiek
    19
    Posty
    90
    Haha, fajne;d
    Nie znalazlem w tym co mi podales, lecz poszukalem z calkiem innymi znaczeniami slowa i znalazlem takie cos:
    [Auto_rr - troszke inne, ale o takie mi chodzilo]

    da ktos rade do tego pluginu wgrac takie cos, zeby w SAY pokazywalo sie LIVE, cso takiego

    plugin:
    Kod:
    /*
    *
    *
    *   *    *    *****   *****        *       *****    *    *    *****   *    *   *       *
    *   *    *   *             *      * *      *    *   *   **   *        *   **   * *   * *
    *   ******   ******   ******     *   *     ******   *  * *   *        *  * *   *  * *  *
    *   *    *   *             *    *******    *    *   * *  *   *        * *  *   *   *   *
    *   *    *    *****   *****    *       *   *****    *    *    *****   *    *   *       *
    *
    *
    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    * AMX Mod X script.                                                 *
    * Plugin made by He3aBuCuM(a.k.a. independent).                     *
    * Important! You can modify the code, but DO NOT modify the author! *
    * Contacts with me:                                                 *
    * E-mail: nezavisimm@gmail.com                                      *
    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    *
    * * * * * * * * * * * * * * * * * * * * * * * *
    * Special thanks to:                          *
    * Val4o0o0@amxmodxbg.org   -  for the idea    *
    * * * * * * * * * * * * * * * * * * * * * * * *
    *
    *
    */
    
    #include <amxmodx>
    #define ARIXR_VERSION "0.3"
    
    new cRound, cvar_rounds, cvar_time, cvar_notice, cvar_message, cvar_message_color, cvar_hud, cvar_hud_color, cvar_sound, cvar_restart, hudsync, counter
    new prefix[] = "ARIXR"
    
    /*START - From colorchat.inc by Numb */
    enum Color {
    	NORMAL = 1,
    	GREEN,
    	TEAM_COLOR,
    	GREY,
    	RED,
    	BLUE,
    }
    
    new TeamName[][] = {
    	"",
    	"TERRORIST",
    	"CT",
    	"SPECTATOR"
    }
    /*END - From colorchat.inc by Numb */
    
    public plugin_init() {
        register_plugin("Auto Restart In X Round", ARIXR_VERSION, "He3aBuCuM")
        register_logevent("roundStart", 2, "1=Round_Start")
        cvar_rounds = register_cvar("amx_restart_round", "1")
        cvar_time = register_cvar("amx_restart_time", "10.0")
        cvar_notice = register_cvar("amx_restart_notice", "3")
        cvar_message = register_cvar("amx_restart_message", "That's the %round% round!Restarting...")
        cvar_message_color = register_cvar("amx_restart_message_color", "4")
        cvar_hud = register_cvar("amx_restart_hud", "%seconds% seconds until restart!")
        cvar_hud_color = register_cvar("amx_restart_hud_color", "0 255 0")
        cvar_sound = register_cvar("amx_restart_sound", "1")
        cvar_restart = get_cvar_pointer("sv_restart")
        register_cvar("arixr_version", ARIXR_VERSION, FCVAR_SERVER | FCVAR_SPONLY)
        hudsync = CreateHudSyncObj()
    }
    
    public roundStart() {
        new rounds = get_pcvar_num(cvar_rounds)
        cRound++
    
        if(cRound == rounds) {
            switch(get_pcvar_num(cvar_notice)) {
                case 0: set_task(get_pcvar_float(cvar_time), "restartRound", 123457)
                case 1: {
                    set_task(get_pcvar_float(cvar_time), "show_chat_message", 123458)
                    set_task(get_pcvar_float(cvar_time), "restartRound", 123457)
                }
                case 2: {
                    set_task(1.0, "hudTimer", 123456, _, _, "a", get_pcvar_num(cvar_time))
                    set_task(get_pcvar_float(cvar_time), "restartRound", 123457)
                }
                case 3: {
                    set_task(1.0, "hudTimer", 123456, _, _, "a", get_pcvar_num(cvar_time))
                    set_task(get_pcvar_float(cvar_time), "restartRound", 123457)
                    set_task(get_pcvar_float(cvar_time), "show_chat_message", 123458)
                }
                default: set_task(get_pcvar_float(cvar_time), "restartRound", 123457)
            }
    
            if(get_pcvar_num(cvar_sound))
                set_task(1.0, "spkSound", 123456, _, _, "a", get_pcvar_num(cvar_time))
        }
    
        return PLUGIN_CONTINUE
    }
    
    public show_chat_message() {
        if(get_playersnum(1) == 0)
            return PLUGIN_HANDLED
    
        new message[190], rounds[10]
        get_pcvar_string(cvar_message, message, charsmax(message))
        format(rounds, charsmax(rounds), "%d", cRound)
    
        replace_all(message, charsmax(message), "%round%", rounds)
    
        switch(get_pcvar_num(cvar_message_color)) {
            case 1: ColorChat(0, GREEN, "[%s] %s", prefix, message)
            case 2: ColorChat(0, RED, "[%s] %s", prefix, message)
            case 3: ColorChat(0, GREY, "[%s] %s", prefix, message)
            case 4: ColorChat(0, BLUE, "[%s] %s", prefix, message)
            case 5: ColorChat(0, NORMAL, "[%s] %s", prefix, message)
            case 6: ColorChat(0, TEAM_COLOR, "[%s] %s", prefix, message)
            default: ColorChat(0, NORMAL, "[%s] %s", prefix, message)
        }
    
        return PLUGIN_CONTINUE
    }
    
    public hudTimer() {
        if(get_playersnum(1) == 0)
            return PLUGIN_HANDLED
    
        counter++
        new hud[190], rounds[10], seconds[10], red, green, blue
        get_pcvar_string(cvar_hud, hud, charsmax(hud))
        format(rounds, charsmax(rounds), "%d", cRound)
        format(seconds, charsmax(seconds), "%d", get_pcvar_num(cvar_time) - counter)
        get_hud_color(red, green, blue)
    
        replace_all(hud, charsmax(hud), "%round%", rounds)
        replace_all(hud, charsmax(hud), "%seconds%", seconds)
        replace_all(hud, charsmax(hud), "/n", "^n")
    
        set_hudmessage(red, green, blue, 0.05, 0.60, 0, 0.01, 1.0, 0.0, 0.0, -1)
        ShowSyncHudMsg(0, hudsync, hud)
    
        return PLUGIN_CONTINUE
    }
    
    public spkSound() {
        if(get_playersnum(1) == 0)
            return PLUGIN_HANDLED
    
        new sound[32]
        num_to_word(get_pcvar_num(cvar_time) - counter, sound, charsmax(sound))
        client_cmd(0, "spk ^"vox/%s^"", sound)
    
        return PLUGIN_CONTINUE
    }
    
    public restartRound()
        set_pcvar_num(cvar_restart, 2)
    
    get_hud_color(&r, &g, &b) {
        new color[20]
        static red[5], green[5], blue[5]
        get_pcvar_string(cvar_hud_color, color, charsmax(color))
        parse(color, red, charsmax(red), green, charsmax(green), blue, charsmax(blue))
    
        r = str_to_num(red)
        g = str_to_num(green)
        b = str_to_num(blue)
    }
    
    /*START - From colorchat.inc by Numb */
    ColorChat(id, Color:type, const msg[], {Float, Sql, Result,_}:...) {
    	new message[256]
    
    	switch(type) {
    		case NORMAL: message[0] = 0x01
    		case GREEN: message[0] = 0x04
    		default: message[0] = 0x03
    	}
    
    	vformat(message[1], 251, msg, 4)
    
    	message[192] = '^0'
    
    	new team, ColorChange, index, MSG_Type
    
    	if(id) {
    		MSG_Type = MSG_ONE
    		index = id
    	} else {
    		index = FindPlayer()
    		MSG_Type = MSG_ALL
    	}
    
    	team = get_user_team(index)
    	ColorChange = ColorSelection(index, MSG_Type, type)
    
    	ShowColorMessage(index, MSG_Type, message)
    
    	if(ColorChange)
    		Team_Info(index, MSG_Type, TeamName[team])
    }
    
    ShowColorMessage(id, type, message[]) {
    	static bool:saytext_used
    	static get_user_msgid_saytext
    
    	if(!saytext_used) {
    		get_user_msgid_saytext = get_user_msgid("SayText")
    		saytext_used = true
    	}
    
    	message_begin(type, get_user_msgid_saytext, _, id)
    	write_byte(id)
    	write_string(message)
    	message_end()
    }
    
    Team_Info(id, type, team[]) {
    	static bool:teaminfo_used
    	static get_user_msgid_teaminfo
    
    	if(!teaminfo_used) {
    		get_user_msgid_teaminfo = get_user_msgid("TeamInfo")
    		teaminfo_used = true
    	}
    
    	message_begin(type, get_user_msgid_teaminfo, _, id)
    	write_byte(id)
    	write_string(team)
    	message_end()
    
    	return 1
    }
    
    ColorSelection(index, type, Color:Type) {
    	switch(Type) {
    		case RED: return Team_Info(index, type, TeamName[1])
    		case BLUE: return Team_Info(index, type, TeamName[2])
    		case GREY: return Team_Info(index, type, TeamName[0])
    	}
    
    	return 0
    }
    
    FindPlayer() {
    	new i = -1
    
    	while(i <= get_maxplayers()) {
    		if(is_user_connected(++i))
    			return i
    	}
    
    	return -1
    }
    /*END - From colorchat.inc by Numb */
    Ostatnio edytowane przez DanY17 ; 22-05-2010 o 22:57
     

Podobne wątki

  1. resy.amxx
    By DanY17 in forum Problem z pluginem AMX/AMXX
    Odpowiedzi: 5
    Ostatni post / autor: 11-07-2010, 11:48
  2. Muzyka na poczatku
    By paprykson in forum Szukam pluginu AMX/AMXX
    Odpowiedzi: 0
    Ostatni post / autor: 08-01-2010, 12:52
  3. [Steam] Config na resy
    By Lucassith in forum Instalacja gry i podstawy
    Odpowiedzi: 0
    Ostatni post / autor: 23-11-2009, 16:13
  4. plugin - dzwiek na poczatku rundy odzielnie dla TT i CT
    By narkon in forum Szukam pluginu AMX/AMXX
    Odpowiedzi: 2
    Ostatni post / autor: 08-06-2009, 07:48
  5. 3 resy + moge sie ruszac
    By Marcinhoo in forum Problemy z CS 1.6
    Odpowiedzi: 8
    Ostatni post / autor: 26-02-2009, 23:09
  6. wyrzuca na poczatku gry
    By adi91 in forum Problemy z CS 1.6
    Odpowiedzi: 7
    Ostatni post / autor: 19-01-2009, 10:55
  7. wyrzuca na poczatku gry
    By adi91 in forum Problemy z CS 1.6
    Odpowiedzi: 1
    Ostatni post / autor: 18-01-2009, 22:16
  8. Rundy
    By Shadow in forum Amx Mod X
    Odpowiedzi: 6
    Ostatni post / autor: 11-05-2008, 10:45
  9. Muzyka na poczatku rundy
    By Piorun in forum Amx Mod X
    Odpowiedzi: 27
    Ostatni post / autor: 07-02-2008, 15:26

Odwiedzający znaleźli tę stronę szukając:

Nikt jeszcze nie odwiedził tej strony poprzez wyszukiwarki
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
  •