X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fplayer.qc;h=4d59943b682dfb89a81d68e274100e2b1f1d0a86;hp=51a0df459c81f76a76b1144425194525d90bd442;hb=0076d3f631e54b908b7506883c75c6d28f6b9505;hpb=4181392df811a93dee6b97c303c3f7655f2f0a23 diff --git a/qcsrc/server/player.qc b/qcsrc/server/player.qc index 51a0df459c..4d59943b68 100644 --- a/qcsrc/server/player.qc +++ b/qcsrc/server/player.qc @@ -679,60 +679,6 @@ bool MoveToTeam(entity client, int team_colour, int type) return true; } -/** print(), but only print if the server is not local */ -void dedicated_print(string input) -{ - if (server_is_dedicated) print(input); -} - -void PrintToChat(entity player, string text) -{ - text = strcat("\{1}^7", text, "\n"); - sprint(player, text); -} - -void DebugPrintToChat(entity player, string text) -{ - if (autocvar_developer) - { - PrintToChat(player, text); - } -} - -void PrintToChatAll(string text) -{ - text = strcat("\{1}^7", text, "\n"); - bprint(text); -} - -void DebugPrintToChatAll(string text) -{ - if (autocvar_developer) - { - PrintToChatAll(text); - } -} - -void PrintToChatTeam(int teamnum, string text) -{ - text = strcat("\{1}^7", text, "\n"); - FOREACH_CLIENT(IS_REAL_CLIENT(it), - { - if (it.team == teamnum) - { - sprint(it, text); - } - }); -} - -void DebugPrintToChatTeam(int teamnum, string text) -{ - if (autocvar_developer) - { - PrintToChatTeam(teamnum, text); - } -} - /** * message "": do not say, just test flood control * return value: