you can use sm_cvar in SourceMod to get access to mp_gamemode.

Typed on a virtual keyboard
On Oct 7, 2010 10:20 PM, "Никита Булаев [Nikita Bulaev]" <
[email protected]> wrote:
> No, first of all, mp_gamemode does not work in L4D2 any more. And that
> is very sad =(
>
> And in second, I found the desision - the problem was in "". OS needs
> to have \"\", and I wrote taht in my Python script. The same as
> Nemrun, which is perl script. So I wrote in python script
> \\\"c1m1_hotel versus\\\" and server starts in versus mode now.
>
> 2010/10/8  <[email protected]>:
>> On Thu, Oct 07, 2010 at 10:21:09AM +0400, ?????? ?????? [Nikita Bulaev]
wrote:
>>> But server starts in coop mode. And if I would type in console "map
>>> c1m1_hotel versus" - server switches to versus mode. But it wont
>>> switch to versus from command line at all in  a lot of variation of
>>> "+map ...".
>>
>> I haven't poked around L4D2 recently, but I think "mp_gamemode versus"
>> in your server.cfg will work. This will disable the ability for the
>> server to run as coop, etc.
>
>
>
> --
> Nikita Bulaev
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to