mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-22 20:11:49 +00:00
88c055ea3c
<taniwha> zinx: thanks :) zinx' klik mod :)
16 lines
408 B
C++
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;
|
|
};
|