7 .float CopyBody_nextthink;
8 .void(entity this) CopyBody_think;
9 void CopyBody_Think(entity this);
10 void CopyBody(entity this, float keepvelocity);
12 void dedicated_print(string input);
14 /// \brief Print the string to player's chat.
15 /// \param[in] player Player to print to.
16 /// \param[in] text Text to print.
17 /// \return No return.
18 void PrintToChat(entity player, string text);
20 /// \brief Print the string to player's chat if the server cvar "developer" is
22 /// \param[in] player Player to print to.
23 /// \param[in] text Text to print.
24 /// \return No return.
25 void DebugPrintToChat(entity player, string text);
27 /// \brief Prints the string to all players' chat.
28 /// \param[in] text Text to print.
29 /// \return No return.
30 void PrintToChatAll(string text);
32 /// \brief Prints the string to all players' chat if the server cvar "developer"
34 /// \param[in] text Text to print.
35 /// \return No return.
36 void DebugPrintToChatAll(string text);
38 /// \brief Print the string to chat of all players of the specified team.
39 /// \param[in] teamnum Team to print to. See NUM_TEAM constants.
40 /// \param[in] text Text to print.
41 /// \return No return.
42 void PrintToChatTeam(int teamnum, string text);
44 /// \brief Print the string to chat of all players of the specified team if the
45 /// server cvar "developer" is not 0.
46 /// \param[in] teamnum Team to print to. See NUM_TEAM constants.
47 /// \param[in] text Text to print.
48 /// \return No return.
49 void DebugPrintToChatTeam(int teamnum, string text);
51 void player_setupanimsformodel(entity this);
53 void player_anim(entity this);
55 void PlayerCorpseDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force);
58 // If 0, default is used.
60 // Otherwise, g_str (default value) is used.
61 // For consistency, negative values there are mapped to zero too.
62 #define GAMETYPE_DEFAULTED_SETTING(str) \
63 ((gametype_setting_tmp = cvar(strcat("g_", GetGametype(), "_" #str))), \
64 (gametype_setting_tmp < 0) ? 0 \
65 : (gametype_setting_tmp == 0 || autocvar_g_respawn_delay_forced) ? max(0, autocvar_g_##str) \
66 : gametype_setting_tmp)
68 void calculate_player_respawn_time(entity this);
70 void ClientKill_Now_TeamChange(entity this);
72 void PlayerDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force);
74 int Say(entity source, float teamsay, entity privatesay, string msgin, float floodcontrol);