[ioquake3] force someone to spectator
theletterpi at gmail.com
Wed Jun 2 20:25:02 PDT 2010
It's a command to shuffle the teams. I don't see how I can use SetTeam
since the entity it expects isn't the client_t that I'm using. I got
it working though using
SV_ExecuteClientCommand(cl, "team spectator", qtrue);
where cl is the pointer to the client_t of the client I want to move
to spec, but I was wondering what the third parameter is for? It
expects a boolean value. When I pass false to it, the command
basically just doesn't work. So wondering what that is for?
On Tue, Jun 1, 2010 at 2:55 AM, Ben Noordhuis <info at bnoordhuis.nl> wrote:
> Any particular reason why you want to do this from inside the engine?
> In the game code you can simply call SetTeam(ent, "spectator") and be
> done with it.
> ioquake3 mailing list
> ioquake3 at lists.ioquake.org
> By sending this message I agree to love ioquake3 and libsdl.
More information about the ioquake3