Raised This Month: $ Target: $400
 0% 

[Solved] Trouble with setting team


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vitorrd
Senior Member
Join Date: Jul 2009
Old 09-29-2009 , 17:31   [Solved] Trouble with setting team
Reply With Quote #1

Hello. Today I ran some tests with cs_set_user_team while the player (me, for that matter) is still alive.
At first, the purpose was to check whether cs_set_user_team would kill the player whenever it changed the team or not: it did not. But then, after the round is over, something very weird happened: I spawned as a spectator.

Does anyone know what might be wrong?

Thanks in advance,
Vitor.

Last edited by vitorrd; 09-29-2009 at 17:58.
vitorrd is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-29-2009 , 17:37   Re: Trouble with setting team
Reply With Quote #2

Show your code.
__________________
Arkshine is offline
vitorrd
Senior Member
Join Date: Jul 2009
Old 09-29-2009 , 17:50   Re: Trouble with setting team
Reply With Quote #3

It's as simple as a cs_set_user_team inside a command registered with register_clcmd, not much more than that.
However, I found out some plugin was messing it up (not mine).

Thanks anyway.
vitorrd is offline
Reply



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 22:31.


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