Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSSCS/ CZ: Conditioned Grenade Radio v1.0


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
CS/ CZ: Conditioned Grenade Radio v1.0

GameTracker/ servers using CGR v1.0

PHP Code:

cgr_enabled 1 /// Sets whether or not this plugin is enabled.
cgr_spaces 0 /// A value of 0 means the default '(RADIO): Fire' and a value of 1 means '(RADIO) :  Fire'.
cgr_dead 1 /// Sets whether or not the grenade radio phrases will be displayed to the dead players as well.
cgr_reliable 0 /// Sets whether or not the replacement grenade radio phrases will be delivered as reliable.
cgr_random 1 /// Sets whether or not to use random grenade radio phrases when the players are throwing grenades.
cgr_custom 0 /// Sets whether or not only the grenade name in the entire grenade radio phrase should be colored.
cgr_alive 32 /// Only display grenade radio phrases to the team if at most this number of players are alive in it.
cgr_append 0 /// Sets whether or not to only append a colored GRENADE, FLASH or SMOKE string after the original game grenade radio phrase.
cgr_name 1 /// Sets the color of the player name in grenade radio phrases. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green.
cgr_radio 1 /// Sets the color of the RADIO string in grenade radio phrases. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green.
cgr_dots 1 /// Sets the color of the dots symbol (':' symbol) in grenade radio phrases. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green.
cgr_parentheses 1 /// Sets the color of the parentheses in grenade radio phrases. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green.
cgr_at 1 /// Sets the color of the at symbol ('@' symbol) in grenade radio phrases which contain map locations. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green.
cgr_location 4 /// Sets the color of the actual map location in grenade radio phrases which contain map locations. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green.

cgr_dots_enabled 1 /// Sets whether or not to enable the default dots in grenade radio phrases (':' symbol).
cgr_name_location 4 /// Sets the color of the player name in grenade radio phrases which contain map locations. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green.
cgr_radio_location 1 /// Sets the color of the RADIO string in grenade radio phrases which contain map locations. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green.
cgr_parentheses_location 1 /// Sets the color of the parentheses in grenade radio phrases which contain map locations. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green.

cgr_dead_audio 1 /// Sets whether or not the grenade radio voices will be played to the dead players as well.
cgr_alive_audio 32 /// Only play grenade radio voices to the team if at most this number of players are alive in it. 

Code:

------------
cgr_append 0
------------

    ------------
    cgr_random 1
    cgr_custom 1
    ------------

        ------
        CS/ CZ
        ------

        Caramel (RADIO): Throwing grenade!
        Caramel (RADIO): Flashbang out!
        Caramel (RADIO): Deploying smoke!

        ------------------
        CZ w/ Map Location
        ------------------

        Caramel @ CTSpawn (RADIO): Throwing grenade!
        Caramel @ CTSpawn (RADIO): Flashbang out!
        Caramel @ CTSpawn (RADIO): Deploying smoke!

    ------------
    cgr_random 1
    cgr_custom 0
    ------------

        ------
        CS/ CZ
        ------

        Caramel (RADIO): Throwing grenade!
        Caramel (RADIO): Flashbang out!
        Caramel (RADIO): Deploying smoke!

        ------------------
        CZ w/ Map Location
        ------------------

        Caramel @ CTSpawn (RADIO): Throwing grenade!
        Caramel @ CTSpawn (RADIO): Flashbang out!
        Caramel @ CTSpawn (RADIO): Deploying smoke!

    ------------
    cgr_random 0
    cgr_custom 1
    ------------

        ------
        CS/ CZ
        ------

        Caramel (RADIO): Fire in the hole!
        Caramel (RADIO): Fire in the hole!
        Caramel (RADIO): Fire in the hole!

        ------------------
        CZ w/ Map Location
        ------------------

        Caramel @ CTSpawn (RADIO): Fire in the hole!
        Caramel @ CTSpawn (RADIO): Fire in the hole!
        Caramel @ CTSpawn (RADIO): Fire in the hole!

    ------------
    cgr_random 0
    cgr_custom 0
    ------------

        ------
        CS/ CZ
        ------

        Caramel (RADIO): Fire in the hole!
        Caramel (RADIO): Fire in the hole!
        Caramel (RADIO): Fire in the hole!

        ------------------
        CZ w/ Map Location
        ------------------

        Caramel @ CTSpawn (RADIO): Fire in the hole!
        Caramel @ CTSpawn (RADIO): Fire in the hole!
        Caramel @ CTSpawn (RADIO): Fire in the hole!

------------
cgr_append 1
------------

    ------
    CS/ CZ
    ------

    Caramel (RADIO): Fire in the hole! GRENADE
    Caramel (RADIO): Fire in the hole! FLASH
    Caramel (RADIO): Fire in the hole! SMOKE

    ------------------
    CZ w/ Map Location
    ------------------

    Caramel @ CTSpawn (RADIO): Fire in the hole! GRENADE
    Caramel @ CTSpawn (RADIO): Fire in the hole! FLASH
    Caramel @ CTSpawn (RADIO): Fire in the hole! SMOKE

------------
cgr_append 2
------------

    ------
    CS/ CZ
    ------

    Caramel (RADIO): GRENADE
    Caramel (RADIO): FLASH
    Caramel (RADIO): SMOKE

    ------------------
    CZ w/ Map Location
    ------------------

    Caramel @ CTSpawn (RADIO): GRENADE
    Caramel @ CTSpawn (RADIO): FLASH
    Caramel @ CTSpawn (RADIO): SMOKE

See The 'conditioned_grenade_radio.inc' File

Example Of Setting A Player Tag/ See The 'cgr_player_tags.sma' File


conditioned_grenade_radio.inc goes to /addons/amxmodx/scripting/include/


Attached Files
File Type: sma Get Plugin or Get Source (cs_conditioned_grenade_radio.sma - 164.2 KB)
File Type: inc conditioned_grenade_radio.inc (3.5 KB)

Przeczytaj cały wpis

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...