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

, » AmxModX
| |
 RSS
  • OnLine

    : 6
    : 5
    : -
    : crawl Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 28-09-2011, 09:02 : 8793

    ,

    " ?", DeathRun , . , . - .
    .

    , :
    plugin_init
    register_event
    register_cvar
    get_cvar_num
    register_clcmd - .
    client_print -

    , ? :

    :
    , .
    , , .
    :

    1. ,


    2. , , 2 .
      , .
    3. , .


    ? , ) ,

    , :
    1. , ( test_cmd)
    2. ( new g_F_counter[33] = 0)
    3. (g_F_counter[id]++)
    4. if(g_F_counter[id] <= get_cvar_num("amx_use_fn_in_round")) ,
    5. client_print
    6. ( register_event)


    ,

    :
    , , , , :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

    // ,
    #define PLUGIN "Restriction of usage of function in one round"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    //
    new g_F_counter[33] = 0

    public plugin_init() {
        //
        register_plugin(PLUGIN, VERSION, AUTHOR)
        
        // ,
        register_event("ResetHUD","startround","be")
        register_cvar("amx_use_fn_in_round","3")
        register_clcmd("say /cmd","test_cmd")
    }


    , , , :
    public startround(id){
        g_F_counter[id] = 0
    }


    , .
    public test_cmd(id){
        
        if(g_F_counter[id] < get_cvar_num("amx_use_fn_in_round")){
            // , ..
            client_print(id,print_chat,"[Round counter] You command exec")
            g_F_counter[id]++
        }else{
            //
            client_print(id,print_chat,"[Round counter] Only %d times in round to use this command",get_cvar_num("amx_use_fn_in_round"))
        }
    }

    :
    ( ) , , , }else{.

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

    #define PLUGIN "Restriction of usage of function in one round"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    new g_F_counter[33] = 0

    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        
        register_event("ResetHUD","startround","be")
        register_cvar("amx_use_fn_in_round","3")
        
        register_clcmd("say /cmd","test_cmd")
    }

    public startround(id){
        g_F_counter[id] = 0
        
    }


    public test_cmd(id){
        
        if(g_F_counter[id] < get_cvar_num("amx_use_fn_in_round")){
            //add you code
            client_print(id,print_chat,"[Round counter] You command exec")
            g_F_counter[id]++
        }else{
            //
            client_print(id,print_chat,"[Round counter] Only %d times in round to use this command",get_cvar_num("amx_use_fn_in_round"))
        }
    }


    :
    1. new g_F_counter[33] = 0

    2. plugin_init

          register_event("ResetHUD","startround","be")
          register_cvar("amx_use_fn_in_round","3")
          register_clcmd("say /cmd","test_cmd")

    3. plugin_init

      public startround(id){
          g_F_counter[id] = 0
          
      }

    4. :
      , .

          if(g_F_counter[id] < get_cvar_num("amx_use_fn_in_round")){
              //add you code
              client_print(id,print_chat,"[Round counter] You command exec")
              g_F_counter[id]++
          }else{
              //
              client_print(id,print_chat,"[Round counter] Only %d times in round to use this command",get_cvar_num("amx_use_fn_in_round"))
          }

      :
              //add you code
              client_print(id,print_chat,"[Round counter] You command exec")

      .

    5. :
      .
      public test_cmd(id){
          
          if(g_F_counter[id] < get_cvar_num("amx_use_fn_in_round")){
              //add you code
              client_print(id,print_chat,"[Round counter] You command exec")
              g_F_counter[id]++
          }else{
              //
              client_print(id,print_chat,"[Round counter] Only %d times in round to use this command",get_cvar_num("amx_use_fn_in_round"))
          }
      }

      client_print(id,print_chat,"[Round counter] You command exec") : my_super_menu(id)

      plugin_init , - , test_cmd
      .
    , .
    , .
    .
    ,
    l0pa

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

    :
    , !
    , 5
    Admin

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

    , .
    --------------------
    Randes

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

    ?
    DeMNiX

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

    ZP mode, , .
    blackfox

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

       !

    .
    deathrun       1 .
    . .

    #include <amxmodx>
    #include <amxmisc>
    #include <fun>

    #define PLUGIN "[fun.inc] spawn"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    new g_F_counter[33] = 0

    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        register_event("ResetHUD","startround","be")
        register_cvar("amx_use_fn_in_round","1")
        register_clcmd("say /respawn","user_spawn")

    }
    public startround(id){
        g_F_counter[id] = 0
        
    }
    public user_spawn(id){
        spawn(id)
    }
        if(g_F_counter[id] < get_cvar_num("amx_use_fn_in_round")){
            //add you code
            client_print(id,print_chat,"[Round counter] You command exec")
            g_F_counter[id]++
        }else{
            //
            client_print(id,print_chat,"[Round counter] Only %d times in round to use this command",get_cvar_num("amx_use_fn_in_round"))
        }
    public user_spawn(id)
    {
            if ( !(get_user_flags(id) & ADMIN_RESERVATION) )
            {
            ColorChat(id, NORMAL, "^x4[Admin Life]^x1 You must buy vip on forum.")
            return HAM_IGNORED
            }
    Safety1st

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

    blackfox, c amx-x.ru.
    --------------------
    gavrilyuc

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

    , ... "" , ...

    , "ResedHud"... - .
    , "ResedHud" "Hltv round new".
    Safety1st

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

    gavrilyuc, wink

    ResetHUD - , - Ham - Ham_Spawn.
    --------------------
    gavrilyuc

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

    Safety1st,
    , . . ( death run )... ( , ):
    register_event("HLTV", "startround", "a", "1=0", "2=0");

    " ".
    Safety1st

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

    , , : arrayset(). NewRound : '' , .
    --------------------

    , , .