Welcome to our community

Be a part of something great, join today!

Game Menu

Re: Game Menu

Evo ti txt:
Code:
"GameMenu"
{
    "1"
    {
        "label" "Resume Game"
        "command" "ResumeGame"
        "OnlyInGame" "1"
    }
    "2"
    {
        "label" "Disconnect"
        "command" "Disconnect"
        "OnlyInGame" "1"
        "notsingle" "1"
    }
    "4"
    {
        "label" "Player List"
        "command" "OpenPlayerListDialog"
        "OnlyInGame" "1"
        "notsingle" "1"
    }
    "6"
    {
        "label" "Ime vaseg servera1"
        "command" "engine connect IP"
        "OnlyInGame" "0"
    }
    "7"
    {
        "label" "Ime vaseg servera2"
        "command" "engine connect IP"
        "OnlyInGame" "0"
    }
    "8"
    {
        "label" "Ime vaseg servera 3"
        "command" "engine connect IP"
        "OnlyInGame" "0" 
    }
    "9"
    {
        "label" "New Game"
        "command" "OpenCreateMultiplayerGameDialog"
    }
    "10"
    {
        "label" "Find Servers"
        "command" "OpenServerBrowser"
    }
    "11"
    {
        "label" "Options"
        "command" "OpenOptionsDialog"
    }
    "12"
    {
        "label" "Quit"
        "command" "Quit"
    }
}
Samo pazi nece ti raditi plugin ako je gamemenu.txt veci od 1kb
 
Re: Game Menu

dax ja imam ovaj gm

"GameMenu" { "11" { "label" "NoSleep-HQ ..::Connect::.." "command" "engine Connect 193.104.68.32:27042" "notsingle" "1" } "14" { "label" "Nastavi Igru" "command" "ResumeGame" "OnlyInGame" "1" } "15" { "label" "Iskljuci se" "command" "Disconnect" "OnlyInGame" "1" "notsingle" "1" } "16" { "label" "Lista Igraca" "command" "OpenPlayerListDialog" "OnlyInGame" "1" "notsingle" "1" } "9" { "label" "" "command" "" } "19" { "label" "Novi LAN" "command" "OpenCreateMultiplayerGameDialog" } "20" { "label" "Online Serveri" "command" "OpenServerBrowser" } "22" { "label" "Opcije" "command" "OpenOptionsDialog" } "23" { "label" "Izadji" "command" "Quit" } }
 
Back
Top