Hey! I had some trouble with this as well, thanks man! The problem is that 
these commands are run through the vgui system, not the console.

From: "Tobias Kammersgaard" <[EMAIL PROTECTED]>
> Dang! Ignore this, I was supposed to add "engine <command>" before it
> worked.
> /ScarT
>
> 2008/11/26 Tobias Kammersgaard <[EMAIL PROTECTED]>
>
>> Heya!
>> I'm messing a bit around with the GameMenu (gamemenu.res), and I'm trying
>> to start a map from an entry.
>>
>> I'm doing it like this:
>>
>> ...
>>
>> "8"
>> {
>>
>> "label" "Test map"
>> "command" "map testmap"
>> "notmulti" "1"
>>
>> }
>> ...
>>
>>
>> Thought it doesn't work. I know Garry did this in Garry's mod 9, but it
>> doesn't seem to work anymore.
>> My mod is running on the Orange Box engine.
>>
>> I've tried with the standard commands, such as "OpenSaveGameDialog", 
>> which
>> works just fine.
>> If somebody knows anything about this, please let me know!
>>
>> /ScarT
>>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, 
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> 


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to