I am working on the sv_ccmds.c file, and trying to force a person to
spectator. cl is the pointer to the person I want to force to spec,
but I'm not sure of the proper way to do it. In game as an admin I
could do something like "/rcon forceteam clientNumber spectator". I
tried the following, which did not work :)
cl = &svs.clients[idnum];
// Force the Moderator into Spectator
sprintf(forceToSpec, "forceteam %d spectator", idnum);
SV_SendServerCommand(cl, "%s", forceToSpec);
May be someone can help me out with this?
Cheers,
Pyrite
_______________________________________________
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.