Jump to content

Welcome to ArenaCS
Inregistreaza-te acum pe forum, ca sa poti accesa functionalitatiile lui pe deplin. In cazul in care ai cont, da un click aici Logheaza-te - in cazul in care n-ai cont, da click aici Creaza-ti un cont doar cu un simplu click, gratuit!
Photo

Tutorial : Fisier commandmenu.txt


10 replies to this topic

#1
Danyelu

Danyelu

    Administrator

  • Group:
    Administrators
  • Posts:
    5,160
  • Member Number:
    4
  • Joined:
    25-November 11
  • Reputation:
    70
    MENTION


    Am sa vorbesc in acest topic despre fisierul commandmenu.txt.
    Acest fisier poate fi gasit in folderul cstrike atat la versiunea de non-steam cat si la steam (daca nu e in cstrike, este in fisierul .gcf).
    Activarea lui in joc duce la aparitia meniului atunci cand apasati tasta "H" (default) si va apare acel menu in stanga.
    Bindarea acestui menu il gasiti in optiuni la joc sau in fisierul config.cfg la urmatorul parametru :


    bind "h" "+commandmenu"


    Editarea fisierului presupune localizarea lui in folderul cstrike si daca nu este acolo il puteti crea si deschide cu Notepad, Wordpad etc.
    Eu mi-am facut un menu cu ce am crezut ca am avut nevoie :



    // ================================================================================================= 
    "0" "Command Menu" "say WWW.X.CoM" 
    
    "1" "Admin Menu" 
    { 
       "1" "Gag" "messagemode amx_gag" 
            "2" "UnGag" "messagemode amx_ungag" 
            "3" "Llama" "messagemode amx_llama" 
            "4" "UnLlama" "messagemode amx_unllama" 
            "5" "Slap" "messagemode amx_slap" 
       "6" "Slay" "messagemode amx_slay" 
            "7" "KickSS" "messagemode amx_kickss" 
            "8" "Kick" "messagemode amx_kick" 
            "9" "Banshot" "messagemode amx_banshot" 
            "10" "Fuckoff" "messagemode amx_fuckoff" 
            "11" "Screw" "messagemode amx_screw" 
            "12" "Censure" "messagemode amx_censure" 
            "13" "Schimba Harta" "messagemode amx_map" 
            
    } 
    
    "2" "Setari Joc" 
    { 
               "1" "Mana" 
          { 
             "1" "Dreapta" "cl_righthand 1" 
             "2" "Stanga" "cl_righthand 0" 
          } 
          "2" "Tipul de buy menu" 
          { 
             "1" "VGUI" "setinfo _vgui_menus 1" 
             "2" "Classic Text" "setinfo _vgui_menus 0" 
                    } 
          "3" "Auto Weapon Switch" 
          { 
             "1" "On" "setinfo _cl_autowepswitch 1" 
             "2" "Off" "setinfo _cl_autowepswitch 0" 
          } 
                    "4" "Radar" 
          { 
             "1" "Pornit" "drawradar" 
             "2" "Oprit" "hideradar" 
          } 
    } 
    
    "3" "Menu Jucator" 
    { 
                    "1" "Net Graph" 
          {    
             "1" "Net Graph 1" "net_graph 1" 
             "2" "Net Graph 2" "net_graph 2" 
             "3" "Net Graph 3" "net_graph 3" 
             "4" "Net Graph Position right" "net_graphpos 1" 
             "5" "Net Graph Position middle" "net_graphpos 2" 
                            "6" "Net Graph Position left" "net_graphpos 3" 
             "7" "Net Graph Off" "net_graph 0" 
          }    
          "2" "Arata FPS" 
          {    
             "1" "On" "cl_showfps 1" 
             "2" "Off" "cl_showfps 0" 
          } 
    
                    "3" "FPS Booster" "exec x/fpsboost.cfg" 
          "4" "Schimba nume" "messagemode name" 
          "5" "Status" "toggleconsole; status" 
          "6" "Ecou de_siege ON" "room_type 1" 
          "7" "Ecou de_siege OFF" "room_type 0" 
                    "8" "Executa .cfg" "messagemode exec"                        
                    
    } 
    
    "4" "Boti" 
    { 
       "1" "Adaugare bot" "bot_add" 
       "2" "Adaugare T/CT" 
       { 
          "1" "Adaugare bot T" "bot_add_t" 
          "2" "Adaugare bot CT" "bot_add_ct" 
       } 
       "3" "Setari boti" 
       { 
          "1" "Nivel usor" "bot_difficulty 0" 
          "2" "Nivel normal" "bot_difficulty 1" 
          "3" "Nivel greu" "bot_difficulty 2" 
          "4" "Nivel profesionisti" "bot_difficulty 3" 
       } 
       "4" "Ucidere boti" "bot_kill" 
       "5" "Restrictii" 
       { 
          "1" "Doar cutite" "bot_knives_only" 
          "2" "Doar pistoale" "bot_pistols_only" 
          "3" "Doar lunete" "bot_snipers_only" 
          "4" "Scut" 
          { 
             "1" "Da" "bot_allow_shield 1" 
             "2" "Nu" "bot_allow_shield 0" 
          } 
       } 
    } 
    
    
    "5" "Comenzi Server" 
    { 
    
                            "1" "Rank" "say /rankstats" 
                            "2" "Admini" "say /admins" 
             "3" "Data & ora" "say thetime" 
             "8" "Reset score" "say /resetscore" 
             "5" "Timp ramas" "say timeleft"    
                            "6" "Ultimele harti" "say /harti" 
                            "7" "Top 15" "say /top15" 
    } 
    
    "6" "Demo Menu" 
    { 
       "1" "Inregistreaza" "messagemode record" 
       "2" "Opreste demo" "exec x/stopdemo.cfg" 
    }

    Dupa cum vedeti, are o organizare simpla de inteles si modificat. Am sa va explic la prima parte a meniului :

    "1" "Admin Menu" 
    {


    "numar" - reprezinta pozitia primului menu, adik 1 fiind cea mai de sus pozitie
    "nume menu" - numele care este afisat pe ecran
    { - aceasta acolada reprezinta inceputul unui sau unora sub-meniuri



    "1" "Gag" "messagemode amx_gag" 
    "2" "UnGag" "messagemode amx_ungag"


    Numerele reprezinta tot pozitia acelui sub-menu in meniul principal dupa care urmeaza numele care e afisat in menu si in final comanda care o va executa; in acest caz executa amx_gag intr-un mod in care aceasta nu mai e folosita in consola, ci in felul in care e folosit say sau say_team, adica in partea de sus a ecranului introduceti doar nick-ul jucatorului caruia vreti sa-i dati gag.

    Desigur , dupa ce terminati de editat sub-meniurile din acel menu sa nu uitati sa inchideti acolada "}" si apoi puteti trece la urmatorul menu.
    Puteti avea cate meniuri si submeniuri vreti.
    Acest exemplu pe care vi l-am dat vine cu un pachet de scripturi pe care le-am facut pentru a ma ajuta.
    Am sa postez acel pachet la aceasta sectiune putin mai tarziu.
    Daca aveti nelamuriri puteti intreba.
    Sper ca a fost folositor!!!



    Respecta si vei fi respectat!!
    • Ronaldpi, Branthery, Ridgenic and 17 others like this
    Next Generation Internet.... the future sounds good!
    https://rcs-rds.spee...81-c58d1ddb2852
    ID Steam: danyelucs

    #2
    waker

    waker

      User nou

  • Group:
    Members
  • Posts:
    140
  • Member Number:
    1123
  • Joined:
    29-June 12
  • Reputation:
    0
    MENTION


    Poate fi folosit si pentru comenzi de admin acest Tutotial asa le am avut si eu bindate! Super bun tutorialul merita!

    #3
    L3m0n

    L3m0n

      User nou

  • Group:
    Members
  • Posts:
    56
  • Member Number:
    1297
  • Joined:
    27-July 12
  • Reputation:
    0
    MENTION


    Poate fi folosit si pentru comenzi de admin acest Tutotial asa le am avut si eu bindate! Super bun tutorialul merita!

    Subscriu ,este adevarat/ :D
    Cs.CsGo.Us
    by L3m0n

    #4
    BiTzu.mZq

    BiTzu.mZq

      User nou

  • Group:
    Members
  • Posts:
    30
  • Member Number:
    2096
  • Joined:
    18-January 13
  • Reputation:
    0
    MENTION


    [center] :pro: Chiar merita tutorialu ! :)[/center]
    [center]Cu Respect BiTzu.mZq[/center]
    [center]# wWw.CsGo.Us[/center]
    [center]Posted Image[/center]

    #5
    Andreea

    Andreea

      Slot

    • PipPip
  • Group:
    Members
  • Posts:
    463
  • Member Number:
    1618
  • Joined:
    02-October 12
  • Reputation:
    0
    MENTION


    Este exeptional. Pe mine ma ajuta enorm .! Bravo !! :ymhug: ;;) :pro:

    #6
    Jackson

    Jackson

      Membru Silver

    • PipPipPip
  • Group:
    Members
  • Posts:
    749
  • Member Number:
    1312
  • Joined:
    11-August 12
  • Reputation:
    0
    MENTION


    da, astea trebuiea stiute nu ca folositor :D
    It's better to be hated for what you are,than to be loved for what you're not...

    #7
    CrazyOfKill

    CrazyOfKill

      User nou

  • Group:
    Members
  • Posts:
    52
  • Member Number:
    2338
  • Joined:
    15-March 13
  • Reputation:
    0
    MENTION


    Ms eu am windwos 7
    Posted Image
    Posted Image
    Posted Image

    #8
    MaD--SkiLL

    MaD--SkiLL

      User nou

  • Group:
    Members
  • Posts:
    92
  • Member Number:
    2577
  • Joined:
    07-May 13
  • Reputation:
    0
    MENTION


    Nu imi merge.
    Posted Image

    #9
    damianadrian

    damianadrian

      User nou

  • Group:
    Members
  • Posts:
    13
  • Member Number:
    2341
  • Joined:
    16-March 13
  • Reputation:
    0
    MENTION


    Intradevar, este mult mai simplu cu acest ,,comandmenu" insa, unii admini s-au obijnuit cu vechea varianta, de a deschide consola si de a scrie acolo... Oricum, foarte bun!! Bravo.

    #10
    Gabi

    Gabi

      Membru Avansat

    • Pip
  • Group:
    Members
  • Posts:
    211
  • Member Number:
    2491
  • Joined:
    14-April 13
  • Reputation:
    0
    MENTION


    E tare,mie imi merge :pro:

    #11
    M4RiK4

    M4RiK4

      Membru Avansat

    • Pip
  • Group:
    Members
  • Posts:
    153
  • Member Number:
    2819
  • Joined:
    04-July 13
  • Reputation:
    0
    MENTION


    MERITA, GJ!



    Reply to this topic



      


    0 user(s) are reading this topic

    0 members, 0 guests, 0 anonymous users