←  Szukam pluginu

AMXX.pl: Support AMX Mod X i SourceMod

»

Poszukuję 2 pluginów

Zablokowany

Rubasze - zdjęcie Rubasze 07.11.2009

Witam,

1.Widziałem na paru serwerach takie informacje:

"Gdy rzucimy granat oślepiający to pokazują się nam takie informacje":

Gdy rzucimy i oślepimy kogoś (bez różnicy czy to ct czy tt) to pokazuje nam się w say takie info:
Dołączona grafika
Dołączona grafika

Gdy ktoś rzuci granat dymny i nas oślepi (bez różnicy czy to ct lub tt) pokazuje się w say takie info(kto nas oślepił może byc to jedna osoba lub kilka):
Dołączona grafika

Gdy nikogo nie oślepimy lub nikt nas nie oślepi granatem dymnym, to w say nic nam się nie pokazuje.

PS: Chciałbym aby napisy były w takiej samej formie i w takich samych kolorach jak na screenach podanych wyżej.


2. Po wpisaniu w say /rank2

"Wyświetla nam się informacja":
Dołączona grafika


ZA PODANIE PLUGINA lub napisanie: Dam pomógł ! Z góry dzięki
Odpowiedz

  • +
  • -
expensive. - zdjęcie expensive. 08.11.2009

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

#define PLUGIN "Flash info"
#define VERSION "1.0"
#define AUTHOR "EasY"

#define ID 3322

new msg_saytext
new g_flasher

public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    msg_saytext = get_user_msgid("SayText")
    
    register_event("ScreenFade", "ScreenFade", "be", "4=255", "5=255", "6=255", "7>199") 
    register_event("23", "TEMPENTITY", "a", "1=5", "6=25", "7=6") 
    
    register_forward(FM_SetModel, "SetModel") 
}


public SetModel(ent, model[]) 
{    
    if(equal(model, "models/w_flashbang.mdl")) 
    {    
        static owner
        owner = pev(ent, pev_owner)
        if(owner)         
        {
            set_task(1.52,"get_flasher", ID + owner)
        }
    }
} 

public TEMPENTITY()
{    
    set_task(0.05, "reset_flasher") 
    return PLUGIN_CONTINUE
} 

public reset_flasher()
{ 
    g_flasher = 0
}

public get_flasher(id)
{ 
    g_flasher = (id - ID)
}

public ScreenFade(id) 
{    
    if(is_user_alive(id))
    {
        if(id != g_flasher && get_user_team(id) == get_user_team(g_flasher))
        {
            static name[33], message[128]
                        
            get_user_name(g_flasher, name, 32)            
            formatex(message, 127, "^x04*** Zostales oslepiony przez ^x03%s", name)
            print_that(id, message)            
            
            get_user_name(id, name, 32)            
            formatex(message, 127, "^x04*** Oslepiles ^x03%s", name)
            print_that(g_flasher, message)
        }
    }    
} 

stock print_that(id, text[])
{
    message_begin(MSG_ONE_UNRELIABLE, msg_saytext, {0,0,0}, id)
    write_byte(id)
    write_string(text)
    message_end()
}
Mam Tylko Taki:)
Odpowiedz

  • +
  • -
csMisieK - zdjęcie csMisieK 08.11.2009

Przyłączam się do tego drugiego pluginu, rank2. Również szukam.
Odpowiedz
Zablokowany