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

buy » AmxModX
| |
 RSS
  • OnLine

    : 5
    : 1
    : -
    : crawl Bot, Google Bot, Yandex Bot, robot Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Nesquik : 8-01-2014, 07:34 : 2958

    buy

    register_clcmd("buy", "buy_func")


    ( VGUI menu)
    buy


    #include <amxmodx>

    public plugin_init()
    {
    register_clcmd("buy", "buy_func") //
    }

    public buy_func(id)
    {
    set_task(1.0, "BuyFunc", id) //
    }


    ,

    VGUI menu

    #include <amxmodx>
    #include <fun>

    public plugin_init()
    {
    register_clcmd("buy", "buy_func") //
    }

    public buy_func(id)
    {
    set_task(1.0, "BuyFunc", id) //
    }

    public BuyFunc(id)
    {
    new menu = menu_create(" ", "menu_func_buy)
    menu_additem(menu, " ")
    }

    public menu_func_buy(id, menu, item)
    {
    switch(item)
    {
    case 0:
    {
    give_item(id, "weapon_deagle")
    }
    }
    }

    public client_connect(id)
    {
    client_cmd(id,"setinfo _vgui_menus 0") // VGUI menu
    }



    buy

    public client_connect(id)
    {
    client_cmd(id,"setinfo _vgui_menus 0") // VGUI menu
    }
    , .
    .
    buy

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

    : Nesquik


    register_clcmd("buy", "buy_func")


    ( VGUI menu)
    buy


    - , VGU buy ))

    buy buyequip - 8(, )
    Nesquik

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

    ,
    =)))
    ..
    GHW_Weap_Pickup
    VGUI
    http://rghost.ru/51504046
    VGUI menu , , ..
    Opo4uMapy

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

    public client_command(id) 
    {
    new arg[13]
    read_argv(0, arg , 12)

    for (new a = 0; a < 34; a++) {
    if(equal("buy", arg) || equal("autobuy", arg)) {
    //add your code
    return PLUGIN_HANDLED
    }
    }
    return PLUGIN_CONTINUE
    }

    )
    Nesquik

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

    Opo4uMapy,
    buy =))

    for (new a = 0; a < 34; a++) ???
    igas

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

    , ,
    #define is_user_valid(%1) (1 <= %1 <= g_maxplayers && is_user_alive(%1) && is_user_connected(%1))

    public client_command(id)
    {
    if(is_user_valid(id))
    {
    static cmd_list[][] = { "buyequip", "autobuy", "cl_autobuy", "cl_rebuy" } //
    static command[16], i; read_argv(0, command, 15)

    for(i = 0; i < sizeof cmd_list; i++){
    if(equal(command, cmd_list[i]))
    return PLUGIN_HANDLED
    }
    if(equal(command,"buy")){
    //
    return PLUGIN_HANDLED
    }
    if(equal(command, "client_buy_open")){
    static msg_buyclose;
    if(!msg_buyclose)
    msg_buyclose = get_user_msgid("BuyClose")
    message_begin(MSG_ONE, msg_buyclose, _, id)
    message_end()
    //
    }
    }
    return PLUGIN_CONTINUE
    }

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

    :

    #include <amxmodx>

    #define MSG_SHOW_MENU    96

    public plugin_init()
    {
        register_message(MSG_SHOW_MENU, "message_show_menu")
    }
    public message_show_menu(msgid, dest, id)
    {
        static text[10]; get_msg_arg_string(4, text, charsmax(text))
        
        if(equal(text, "#Buy")) return PLUGIN_HANDLED
        return PLUGIN_CONTINUE
    }

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

    buy vgu ))

    #include <amxmodx>

    #define MSG_BUY_CLOSE    136

    public client_command(id)
    {
        static command[16]; read_argv(0, command, charsmax(command))
        if(equal(command, "client_buy_open"))
        {
            message_begin(MSG_ONE, MSG_BUY_CLOSE, _, id)
            message_end()
        }
    }


    ))
    gavrilyuc

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

    register_message(get_user_msgid("VGUIMenu"), "vgui_menu");

    ?
    , , .
    Safety1st

    5.08.2014
    ICQ: --
    : 7
    : 42
    : -  10  +

    gavrilyuc, , . '. , ;)

    autobuy/rebuy ( CS_InternalCommand() ); , , .
    --------------------

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

    ...

    #include <amxmodx>

    public plugin_init()
    {
    register_clcmd("buy", "hook_buy")
    register_clcmd("client_buy_open", "hook_buy_vgu")
    }
    public hook_buy(id)
    {
    client_print(id, print_chat, "hook_buy")
    return PLUGIN_HANDLED
    }
    public hook_buy_vgu(id)
    {
    message_begin(MSG_ONE, 136, _, id)
    message_end()

    client_print(id, print_chat, "hook_buy_vgu")
    return PLUGIN_HANDLED
    }

    , , .