Raised This Month: $ Target: $400
 0% 

Moving to spectates properly


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
m0v3
Member
Join Date: May 2009
Old 03-15-2010 , 16:48   Moving to spectates properly
Reply With Quote #1

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.

Last edited by m0v3; 03-15-2010 at 16:53.
m0v3 is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 03-15-2010 , 18:52   Re: Moving to spectates properly
Reply With Quote #2

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.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
m0v3
Member
Join Date: May 2009
Old 03-15-2010 , 19:14   Re: Moving to spectates properly
Reply With Quote #3

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.
m0v3 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-15-2010 , 19:35   Re: Moving to spectates properly
Reply With Quote #4

Have you looked at this: http://forums.alliedmods.net/showthread.php?t=51098
__________________
fysiks is offline
m0v3
Member
Join Date: May 2009
Old 03-15-2010 , 20:14   Re: Moving to spectates properly
Reply With Quote #5

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.
m0v3 is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 03-15-2010 , 22:06   Re: Moving to spectates properly
Reply With Quote #6

Sorry. I did not understand your first post correctly then.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-16-2010 , 02:13   Re: Moving to spectates properly
Reply With Quote #7

Try engclient_cmd(id, "jointeam", "6")
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
m0v3
Member
Join Date: May 2009
Old 03-16-2010 , 10:27   Re: Moving to spectates properly
Reply With Quote #8

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 ?

Last edited by m0v3; 03-16-2010 at 19:14. Reason: No answers
m0v3 is offline
Old 03-17-2010, 18:52
m0v3
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Reply


Thread Tools
Display Modes

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 08:39.


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