Open mikota opened 1 year ago
I see what the issue is @mikota, BothTeamsHavePlayers()
prototype is not exposed outside of a_team.c
, you need to add
qboolean BothTeamsHavePlayers();
in g_local.h
, somewhere like line 1403, see how this looks?
//
// g_misc.c
//
void ThrowHead (edict_t * self, char *gibname, int damage, int type);
void ThrowClientHead (edict_t * self, int damage);
void ThrowGib (edict_t * self, char *gibname, int damage, int type);
void BecomeExplosion1 (edict_t * self);
void SP_misc_teleporter_dest(edict_t* ent);
Maybe add a new entry like
//
// a_team.c
//
qboolean BothTeamsHavePlayers();
Enables server owners to set matchmode message for spectators![image](https://github.com/actionquake/aq2-tng/assets/13764327/c9535f13-1791-4f77-8c47-774f1558b13e)