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

get_user_frags » AmxModX
| |
 RSS
  • OnLine

    : 7
    : 6
    : -
    : crawl Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 17-11-2011, 00:40 : 3796

    get_user_frags

    - Counter-Strike, . , GunGame. , , , get_user_frags .

    amxmodx.inc:
    /* Returns player frags. */
    native get_user_frags(index);


    :
    get_user_frags ( id )

    • id - id


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

    #define PLUGIN "[amxmodx.inc] get_user_frags"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    public plugin_init() {

        register_plugin(PLUGIN, VERSION, AUTHOR)

        register_clcmd("say /my_frags","my_frags")
        
        
    }
    public my_frags(id){
        
        new frags
        frags = get_user_frags(id)
        
        //
        
        client_print(id,print_chat,"At you %d frags",frags)
        
        //
        client_print(id,print_chat,"At you %d frags",get_user_frags(id))
    }


    :
    , , , .

    , .
    , /my_frags 2 .
    , .
    .
    get_user_frags
    KEFIR

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


    public ham_player_kill(victim){
        new death = cs_get_user_deaths(victim);
        new frags = get_user_frags (victim);
        if(death > frags){
        client_cmd(victim, "/rs");
        }
        return PLUGIN_CONTINUE
    }


    ,
    Admin

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

    .
    --------------------
    Valer4

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

    #include<amxmodx>
    #include<fun>
    #include<cstrike>
    #include<chatcolor>

    new c_RS_Auto
    new c_RS_Hand

    public plugin_init()
    {
        register_plugin("14", "14", "14")
        register_clcmd("say rs", "hand")
        register_clcmd("say /rs", "hand")
        register_clcmd("say_team rs", "hand")
        register_clcmd("say_team /rs", "hand")
        c_RS_Hand = register_cvar("rs_hand", "1")
        c_RS_Auto = register_cvar("rs_auto", "1")
    }

    public hand(id)
    {
        if(get_pcvar_num(c_RS_Hand) == 1)
        {
            reset(id)
            return PLUGIN_HANDLED
        }
        return PLUGIN_CONTINUE
    }

    public client_damage(not_used_atac, vict)
    {
        if(get_pcvar_num(c_RS_Auto) == 1)
        {
            if(get_user_deaths(vict&
    amp;
    amp;
    amp;
    #41; > get_user_frags(vict))
                reset
    0;vict)
        }
    }

    public reset(id)
    {
        set_user_frags(id, 0)
        cs_set_user_deaths(id, 0)
        client_print_color(id, Red, "^4 !")
    }


    :
    http://rghost.ru/42771340
    :
    http://www.amx-x.ru/download/file.php?id=83
    http://www.amx-x.ru/download/file.php?id=82

    P.S. - .
    KEFIR

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

    Valer4, , 2 . , ) , , !

    , , .