AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Solved] Trouble with setting team (https://forums.alliedmods.net/showthread.php?t=104976)

vitorrd 09-29-2009 17:31

[Solved] Trouble with setting team
 
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.

Arkshine 09-29-2009 17:37

Re: Trouble with setting team
 
Show your code.

vitorrd 09-29-2009 17:50

Re: Trouble with setting team
 
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.


All times are GMT -4. The time now is 22:31.

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