SAPE ERROR: Не могу подключиться к серверу: dispenser-01.saperu.net/code.php?user=836f97673aa6aa25a35b5029263ee232&host=amxxmodx.ru&charset=windows-1251&format=serialize, type: file_get_contents

SAPE ERROR: Не могу подключиться к серверу: dispenser-02.saperu.net/code.php?user=836f97673aa6aa25a35b5029263ee232&host=amxxmodx.ru&charset=windows-1251&format=serialize, type: file_get_contents

, (RoundDraw) » AmxModX
| |
 RSS
  • OnLine

    : 2
    : 1
    : -
    : crawl Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 14-03-2012, 12:53 : 5326

    , (RoundDraw)

    Counter-Srtike , , :



    .
    register_event, , :
    SendAudio

    Plays the specified audio. An example of AudioCode could be "2%!MRAD_rounddraw".
    Name:  SendAudio
    Structure:  byte      SenderID
    string      AudioCode
    short      Pitch

    %/cstrike/sound/radio/


    :
    register_event("SendAudio", "t_win", "a", "2&%!MRAD_terwin")

    , , :
    • SendAudio - ( )
    • t_win -
    • a - -
    • 2&%!MRAD_terwin - ( )


    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

    #define PLUGIN "[register_event] SendAudio who win"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        
        //
        register_event("SendAudio", "t_win", "a", "2&%!MRAD_terwin")

        //     
        register_event("SendAudio", "ct_win", "a", "2&%!MRAD_ctwin")

        // -     
        register_event("SendAudio", "draw", "a", "2&%!MRAD_rounddraw")
    }
    //
    public ct_win(){
        client_print(0,print_chat,"CT WIN")
    }
    //
    public t_win(){
        client_print(0,print_chat,"T WIN")
    }
    //
    public draw(){
        client_print(0,print_chat,"DRAW")
    }


    .
    , , , .

    :
    public t_win(id){

    .
    , .
    .
    , (RoundDraw)
    T_R_E

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    .

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    #include <amxmodx>

    public plugin_init()
    {
    register_event("SendAudio", "functions_a", "a")
    register_event("SendAudio", "functions_b", "b")
    register_event("SendAudio", "functions_c", "c")
    register_event("SendAudio", "functions_d", "d")
    register_event("SendAudio", "functions_e", "e")
    }
    public functions_a(id, audio[], Float:pitch)
    {
    client_print(0, print_chat, "A id = %i sound = %s pitch = %f", id, audio, pitch)
    }
    public functions_b(id, audio[], Float:pitch)
    {
    client_print(0, print_chat, "B id = %i sound = %s pitch = %f", id, audio, pitch)
    }
    public functions_c(id, audio[], Float:pitch)
    {
    client_print(0, print_chat, "C id = %i sound = %s pitch = %f", id, audio, pitch)
    }
    public functions_d(id, audio[], Float:pitch)
    {
    client_print(0, print_chat, "D id = %i sound = %s pitch = %f", id, audio, pitch)
    }
    public functions_e(id, audio[], Float:pitch)
    {
    client_print(0, print_chat, "E id = %i sound = %s pitch = %f", id, audio, pitch)
    }


    -:
    22


    B id = 1 sound = SendAudio pitch = 8.000061
    B id = 3 sound = SendAudio pitch = 8.000061
    B id = 2 sound = SendAudio pitch = 8.000061
    B id = 4 sound = SendAudio pitch = 8.000061


    A id = 0 sound = SendAudio pitch = 8.000061
    Admin

    30.07.2011
    ICQ: 980500
    : 507
    : 333
    : -  58  +

    1) .
    2) ?
    3) id , ?
    4) ?

    --------------------

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    3 - https://wiki.alliedmods.net/Half-Life_1_Game_Events#SendAudio
    1,4 - .
    2 - .

    - ...

    CurWeapon

    #include <amxmodx>

    public plugin_init()
    {
    register_event("CurWeapon", "functions", "be")
    }
    public functions(active, wpn, clip)
    {
    client_print(0, print_chat, "active = %i wpn = %i clip = %i", active, wpn, clip)
    client_print(0, print_chat, "active = %i wpn = %i clip = %i", read_data(1), read_data(2), read_data(3))
    }


    wink
    :
    active = 1 wpn = 0 clip = 1124073472
    active = 1 wpn = 17 clip = 20
    active = 1 wpn = 0 clip = 1124073472
    active = 0 wpn = 29 clip = -1


    :
    active = 1 wpn = 0 clip = 1124073472
    active = 0 wpn = 17 clip = 20
    active = 1 wpn = 0 clip = 1124073472
    active = 1 wpn = 29 clip


    :
    active = 1 wpn = 17 clip = 8
    active = 1 wpn = 0 clip = 1124073472
    active = 1 wpn = 17 clip = 7
    active = 1 wpn = 0 clip = 1124073472
    active = 1 wpn = 17 clip = 6
    active = 1 wpn = 0 clip = 1124073472
    active = 1 wpn = 17 c


    2 .
    , ...

    register_event ...
    Qvi-re

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    Target has been saved?
    - wassat

    .
    Space240

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    ? 3 , .
    Space240

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    Space240,
    , .

    register_event("SendAudio", "SomeFunction", "a", "2&%!MRAD_terwin, 2&%!MRAD_ctwin, 2&%!MRAD_rounddraw")

    ?

    , , .