2003-10-24 21:43:32 +00:00
|
|
|
#include "common.qh"
|
|
|
|
|
|
|
|
// Called when a spectator connects
|
2004-02-08 07:34:17 +00:00
|
|
|
void ()
|
|
|
|
SpectatorConnect =
|
|
|
|
{
|
|
|
|
bprint (PRINT_MEDIUM, "Spectator ", self.netname, " entered the game.\n");
|
2003-10-24 21:43:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Called when a spectator disconnects
|
2004-02-08 07:34:17 +00:00
|
|
|
void ()
|
|
|
|
SpectatorDisconnect =
|
|
|
|
{
|
|
|
|
bprint (PRINT_MEDIUM, "Spectator ", self.netname, " left the game.\n");
|
2003-10-24 21:43:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Called around the same time as player thinks?
|
2004-02-08 07:34:17 +00:00
|
|
|
void ()
|
|
|
|
SpectatorThink =
|
|
|
|
{
|
2003-10-24 21:43:32 +00:00
|
|
|
self.impulse = 0;
|
|
|
|
};
|