You are not logged in.

Dear visitor, welcome to sourceserver.info. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "TempletonPeck" started this thread

Posts: 2,498

Location: Schwelm

Occupation: Immobilien-Verwalter / Serveradministrator

wcf.user.option.userOption53: Nein

  • Send private message

1

Thursday, February 26th 2009, 4:01pm

Kurze Frage zum Adminmenu

Habe letztens meine adminmenu_custom.txt bearbeitet. So schaut sie nun aus:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Custom admin menu commands.
// For more information:
//
// http://wiki.alliedmods.net/Custom_Admin_Menu_%28SourceMod%29
//
// Note: This file must be in Valve KeyValues format (no multiline comments)
//

"Commands"
{
"Sounds Abspielen"
{
"admin" "sm_root"
"**Admin Sounds**"
{
"cmd" "sm_admin_sounds"
"admin" "sm_root"
}
}
"Map Commands"
{
"Set Next Map"
{
"cmd" "sm_setnextmap #1"
"admin" "sm_kick"
"execute" "server"
"1"
{
"type" "mapcycle"
"method" "name"
"title" "Map to Select"

}
}
}
}


Die neuen Menu-Unterpunkte "AdminSounds" und "SetNextmap" sind nun korrekt eingefügt und funktionieren.
Leider fehlt nun aber noch die einfache Möglichkeit, die Map auch sofort zu wechseln. Vielleicht kann mir jemand
den passenden Code noch hinzufügen?

MFG

  • "TempletonPeck" started this thread

Posts: 2,498

Location: Schwelm

Occupation: Immobilien-Verwalter / Serveradministrator

wcf.user.option.userOption53: Nein

  • Send private message

2

Thursday, February 26th 2009, 6:24pm

Re: Kurze Frage zum Adminmenu

Kann geschlossen werden. Der Punkt liegt ja unter ServerCommands und nicht unter MapCommands fingzig

iVeDAkiLLa

Trainee

Posts: 128

Location: Straubing

  • Send private message

3

Wednesday, October 13th 2010, 5:49pm

Re: Kurze Frage zum Adminmenu

Hmm also ich bin grad auch dabei mit nextmap setzen hab mir das von dir hineinkopiert aber will nicht so recht... :(

Unter Map Commands ist "Set Next Map" dann erscheinen die Maps und wenn ich eine auswähle bin ich wieder bei "Set Next Map" und es wurde auch keine gesetzt...weiss jemand wo das Problem liegen könnte?

Hier ein Auszug von meiner adminmenu_custom.txt:

// Custom admin menu commands.
// For more information:
//
// http://wiki.alliedmods.net/Custom_Admin_Menu_%28SourceMod%29">http://wiki.alliedmods.net/Custom_Admin ... urceMod%29</a>
//
// Note: This file must be in Valve KeyValues format (no multiline comments)
//

"Commands"
{
"Sounds Abspielen"
{
"admin" "sm_root"
"**Admin Sounds**"
{
"cmd" "sm_admin_sounds"
"admin" "sm_root"
}
}
"Map Commands"
{
"Set Next Map"
{
"cmd" "sm_setnextmap #1"
"admin" "sm_kick"
"execute" "server"
"1"
{
"type" "mapcycle"
"method" "name"
"title" "Map to Select"

}
}
}
}

Ist genau so wie bei TempletonPeck aber funzt ned...wär mir echt super wichtig dann steht dem Umstieg auf Sourcemod nichts mehr im Wege!! Will weg von Mani!! :)
DoD:S &amp; CS:S Public Community visit http&#58;//www&#46;kodclan&#46;org