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

    : 7
    : 6
    : -
    : crawl Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : NextPawno : 10-04-2012, 00:20 : 4905

    , - " *n ?". , , .

    !

    , - :

    1) block
    new block


    2) , - , client_cmd(id, "say Hello amxxmodx.ru")

    public test(id)
    {
       client_cmd(id, "say Hello amxxmodx.ru")
    }


    3) , test. , , .

    :
    public test(id)
    {
       if(block<=0)
       {
          client_cmd(id, "say Hello amxxmodx.ru")
          block = 10
       }else{
          client_print(id, print_chat, "Block use command.Wait %d", block)
          return PLUGIN_HANDLED
       }
       return PLUGIN_HANDLED
    }


    ? , . , block 10 . .

    4) block

    event plugin_init

    register_event("HLTV", "newround", "a", "1=0", "2=0")


    block

    public newround()
    {
       --block
    }


    , . ,

    #include <amxmodx>

    new block

    public plugin_init(){
        register_plugin("[TUT]Block function all players","1.0","NextPawno")

        register_event("HLTV", "newround", "a", "1=0", "2=0")

        register_clcmd("say /test", "test")
    }

    public newround()
    {
       --block
    }

    public test(id)
    {
       if(block<=0)
       {
          client_cmd(id, "say Hello amxxmodx.ru")
          block = 10
       }else{
          client_print(id, print_chat, "Block use command.Wait %d", block)
          return PLUGIN_HANDLED
       }
       return PLUGIN_HANDLED
    }


    ? ,


    1) , block[33]
    new block[33]


    2) , - , client_cmd(id, "say Hello amxxmodx.ru")

    public test(id)
    {
       client_cmd(id, "say Hello amxxmodx.ru")
    }


    3) , test. ,

    :
    public test(id)
    {
       if(block[id]<=0)
       {
          client_cmd(id, "say Hello amxxmodx.ru")
          block[id] = 10
       }else{
          client_print(id, print_chat, "Block use command.Wait %i", block[id])
          return PLUGIN_HANDLED
       }
       return PLUGIN_HANDLED
    }


    .

    4) , - , , .

    event plugin_init

    register_event("HLTV", "newround", "a", "1=0", "2=0")


    block[id]

    public newround()
    {
       new iPlayer[32], iNum
       get_players(iPlayer, iNum)

       for(new i; i < iNum; i++)
       {
          --block[iPlayer[i]]
       }
    }


    , . ,

    #include <amxmodx>

    new block[33]

    public plugin_init(){
        register_plugin("[TUT]Block function players","1.0","NextPawno")

        register_event("HLTV", "newround", "a", "1=0", "2=0")

        register_clcmd("say /test", "test")
    }

    public newround()
    {
       new iPlayer[32], iNum
       get_players(iPlayer, iNum)

       for(new i; i < iNum; i++)
       {
          --block[iPlayer[i]]
       }
    }
    public test(id)
    {
       if(block[id]<=0)
       {
          client_cmd(id, "say Hello amxxmodx.ru")
          block[id] = 10
       }else{
          client_print(id, print_chat, "Block use command.Wait %i", block[id])
          return PLUGIN_HANDLED
       }
       return PLUGIN_HANDLED
    }



    - - , .

    , NextPawno.
    , .
    .
    OLOLO

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

    , .
    ???
    PandaBear

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

    Monstr, ,
    Admin

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

    , , .