Hello People!
How should I put the code correctly so that when the smac running a ban, is also displayed on the server to the players (not admins) ?
ej:
smac_eyetest.sp
Code:
if (GetClientAuthString(client, sAuthID, sizeof(sAuthID), false) && !StrEqual(sAuthID, "BOT") && SMAC_CheatDetected(client, Detection_Eyeangles, info) == Plugin_Continue)
{
SMAC_PrintAdminNotice("%t", "SMAC_EyetestDetected", client);
if (GetConVarBool(g_hCvarBan))
{
SMAC_LogAction(client, "was banned for cheating with their eye angles. Eye Angles: %.0f %.0f %.0f", angles[0], angles[1], angles[2]);
SMAC_Ban(client, "Eye Test Violation");
}
else
{
SMAC_LogAction(client, "is suspected of cheating with their eye angles. Eye Angles: %.0f %.0f %.0f", angles[0], angles[1], angles[2]);
}
}