game-source/klik/spectate.qc
Bill Currie 88c055ea3c <zinx> taniwha: FWIW, the code is officially donated to quakeforge :)
<taniwha> zinx: thanks :)

zinx' klik mod :)
2003-10-24 21:43:32 +00:00

16 lines
408 B
C++

#include "common.qh"
// Called when a spectator connects
void() SpectatorConnect = {
bprint(PRINT_MEDIUM, "Spectator ", self.netname, " entered the game.\n");
};
// Called when a spectator disconnects
void() SpectatorDisconnect = {
bprint(PRINT_MEDIUM, "Spectator ", self.netname, " left the game.\n");
};
// Called around the same time as player thinks?
void() SpectatorThink = {
self.impulse = 0;
};