diff --git a/valve/addons/amxmodx/scripting/agmodx_ctf.sma b/valve/addons/amxmodx/scripting/agmodx_ctf.sma index ce42e0e..e4c8ad6 100644 --- a/valve/addons/amxmodx/scripting/agmodx_ctf.sma +++ b/valve/addons/amxmodx/scripting/agmodx_ctf.sma @@ -631,6 +631,9 @@ public OnCapturePointTouch(touched, toucher) { } client_print(0, print_center, "%l", CTF_ML_FLAGCAPTURED[flagStealedTeam], toucher); + client_print(0, print_console, "%l", CTF_ML_FLAGCAPTURED[flagStealedTeam], toucher); + log_amx("%l", CTF_ML_FLAGCAPTURED[flagStealedTeam], toucher); + Speak(0, fmt("%l", CTF_ML_SND_TEAMSCORES[toucherTeam])); } @@ -707,6 +710,8 @@ public OnFlagTouch(touched, toucher) { // alert/notify players that flag has return to base client_print(0, print_center, "%l", CTF_ML_FLAGRETURNED[playerTeam], toucher); + client_print(0, print_console, "%l", CTF_ML_FLAGRETURNED[playerTeam], toucher); + log_amx("%l", CTF_ML_FLAGRETURNED[playerTeam], toucher); } } @@ -718,6 +723,8 @@ public OnFlagTouch(touched, toucher) { Player_TakeFlag(toucher, touched); client_print(0, print_center, "%l", CTF_ML_YOUHAVEFLAG[flagTeam], toucher); + client_print(0, print_console, "%l", CTF_ML_YOUHAVEFLAG[flagTeam], toucher); + log_amx("%l", CTF_ML_YOUHAVEFLAG[flagTeam], toucher); // Alert flag sound: // Player who pick the flag: ctf/youhavetheflag.wav @@ -908,7 +915,8 @@ public DropFlag(id) { // Notify players that the player has lost the flag client_print(0, print_center, "%l", CTF_ML_FLAGLOST[flagTeam], id); - console_print(0, "%l", CTF_ML_FLAGLOST[flagTeam], id); + client_print(0, print_console, "%l", CTF_ML_FLAGLOST[flagTeam], id); + log_amx("%l", CTF_ML_FLAGLOST[flagTeam], id); } public CmdDropFlag(id, level, cid) {