custom teams help!
Hello, I want to force the player to be a spectator when he joins the server, and present him with a menu where he can choose from a custom team, class, gender and so on, and after he finishes his selection, to be moved to the corresponding team and set with a custom player model according to his selection. I started with looking at Exolent's team join management plugin, and so far I made the part where the player is forced to be a spectator, but it doesn't work quite right, the player is indeed switched to the spectator team after he closes the motd window, but the hud is different and still displays money and roundtime, and he can't move. I don't know why, can you help me?
PHP Code:
|
Re: custom teams help!
http://forums.alliedmods.net/showthread.php?t=155608
I will let you know if I'll find a better way to do it. |
Re: custom teams help!
I found the problem after a lot of debugging. It was a mistake in Exolent's code. He used "3" for the spectator team, but the spectator team in cs is "6". Now it works and automatically switches me to spec team when I enter :P Now time to start working on the menu :P
|
Re: custom teams help!
SeriousSam
Spectator team value in CS is 3. Spectator menu option in team select menu is 6. These are absolutely different things. |
| All times are GMT -4. The time now is 19:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.