Raised This Month: $51 Target: $400
 12% 

TF2 Vote Scramble


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Jamster
Veteran Member
Join Date: Jun 2008
Old 07-27-2008 , 07:46   Re: TF2 Vote Scramble
Reply With Quote #11

Seems there's a bug in the latest SM 1.1 SVN.
Now the command itself, by typing it into the console, works fine, but it also says "unknown command sm_scrambleteams" at the same time.

I have it listed in the admin menu and this is where it does not work, at all, here's how it is in my admin menu:
Code:
"Commands"
{
  "ServerCommands"
    {
      "Scramble Teams"
		{
			"cmd"			"sm_scrambleteams"
			"execute"		"server"
			"admin"			"sm_ban"
		}
    }
}
When ran it complains about "Client index 0 is invalid" for PrintToChat at here in your code:
Code:
PrintToChat(client,"\x01\x04Scramble Teams has been initiated")
Funnily enough I noticed it doesn't print this out globally to all players on SM 1.1.0.2423 when done via the admin menu. I also have it in Custom Votes too and it does the same thing (I like keeping votes in one menu for my players).

It's no big deal because there was honestly nothing that was supremely major in the latest SVN so I can run 2423 and let it work still but I thought you'd want to know.
Also using MM:S 1.6.2, TF2, Windows Server

Last edited by Jamster; 07-27-2008 at 07:49.
Jamster is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode