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? Thanks, Pyrite On Tue, Jun 1, 2010 at 2:55 AM, Ben Noordhuis <[email protected]> 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 > [email protected] > http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org > By sending this message I agree to love ioquake3 and libsdl. > _______________________________________________ ioquake3 mailing list [email protected] http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org By sending this message I agree to love ioquake3 and libsdl.
