-#ifndef TEAMPLAY_H
-#define TEAMPLAY_H
+#pragma once
string cache_mutatormsg;
string cache_lastmutatormsg;
// # of bots on those teams
float cb1, cb2, cb3, cb4;
+int redowned, blueowned, yellowowned, pinkowned;
+
//float audit_teams_time;
void TeamchangeFrags(entity e);
-void entcs_init();
-
void LogTeamchange(float player_id, float team_number, float type);
-void default_delayedinit();
+void default_delayedinit(entity this);
void ActivateTeamplay();
string GetClientVersionMessage();
-string getwelcomemessage(void);
+string getwelcomemessage();
void SetPlayerColors(entity pl, float _color);
// NOTE: Assumes CheckAllowedTeams has already been called!
float FindSmallestTeam(entity pl, float ignore_pl);
-float JoinBestTeam(entity pl, float only_return_best, float forcebestteam);
+int JoinBestTeam(entity pl, bool only_return_best, bool forcebestteam);
//void() ctf_playerchanged;
void SV_ChangeTeam(float _color);
void ShufflePlayerOutOfTeam (float source_team);
-#endif
\ No newline at end of file