Moving to spectates properly
Hi. How do I need to move a player to spectate properly , when he hasn't still chosen a team ? If I do a cs_set_user_team , then sometimes weird things start.
|
Re: Moving to spectates properly
This, I think, is not recommended by anyone in here...
But you could, if you have amx super, just make a client_cmd and make them write /spec. I have no idea how the /spec command works at all. Just an idea. |
Re: Moving to spectates properly
Why it isn't recommended ? /spec won't work for me , because when player can write /spec , he has already chosen a team. My goal is to put a player to spec or team without choosing it , under certain conditions. Example , if player's name has word H4X , I put him into spec WITHOUT letting to choose where he wants to go. And when he changes it , I can put him into T or CT. The thing is that when a player is put into spec without choosing a team , after being put back , he doesnt have hud and such kind of stuff. It seems to me ( I may be wrong ) that he keeps being in spec somehow , and engine doesnt want to give him suit , glock/usp , etc... Can anyone help ?
If i've written too complicated, tell me , i'll try to explain better. |
Re: Moving to spectates properly
Have you looked at this: http://forums.alliedmods.net/showthread.php?t=51098
|
Re: Moving to spectates properly
Yes. It works fine IF I wanted that the first team would be CT/T. But if I firstly put him into spec , bugs begin.
|
Re: Moving to spectates properly
Sorry. I did not understand your first post correctly then.
|
Re: Moving to spectates properly
Try engclient_cmd(id, "jointeam", "6")
|
Re: Moving to spectates properly
ConnorMcLeod
It's the exact way I've been trying. Plugin fysiks mentioned works the same way. Jelle Was my second post clear enough? :/ Topic. I've found link (https://forums.alliedmods.net/showthread.php?t=76179) There people talk about this spectator-first-team bug , but don't give clear solution to it... Has anybody encountered anything like that , and has a tip ? |
| All times are GMT -4. The time now is 08:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.