Jump to content

Ingame switch channel


Recommended Posts

Hei i have a problem, i have sistem by micca switch channel.

The sistem work on, but my problem is with name, when I use sistem in game option is ok, the name change to ch1, 2 etc

but when i change with command /ch

The name remaid the same.. And when i'am on ch1, and swith to ch3 /ch 3 the name under minimap remaing ch1...

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I put in channel.py :            
        self.Close()
        net.SetServerInfo("%s, %s" % (serverName, channelName))
        net.SendChatPacket("/ch "+str(channelID))    

 

but is show wrong when I use command /ch. When I use in the setting change channel, i select the channel is show corectly

Link to comment
Share on other sites

5 hours ago, VegaS said:

 


	self.Close()
	net.SetServerInfo("%s, CH%s" % (serverName, str(channelID)))
	chat.AppendChat(chat.CHAT_TYPE_INFO, "<<Debug>> Succes loaded -> %s, CH%s" % (serverName, str(channelID)))
	net.SendChatPacket("/ch " +str(channelID)) 

 

 

I put that in my script. The problem persist. When I change from menu change channel, the ch under minimap is change corectly. But when I use /ch in chat, the name of ch under minimap remaind the same...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.