PunishNotify(const admin, const player, const time, const reason[])
{
new players[MAX_PLAYERS], num;
GetPlayers(player, players, num);
new timeDisplay[64];
for (new i = 0; i < num; i++) {
GetTimeString(players, time, timeDisplay, charsmax(timeDisplay), time_minutes);
if (admin == 0) {
//client_print_color(players, player, "%L", players, "STB_PUNISH_NOTIFY_SERVER", g_PlayersData[player][PLAYER_NAME], timeDisplay, reason);
} else {
//client_print_color(players, player, "%L", players, "STB_PUNISH_NOTIFY", g_PlayersData[admin][PLAYER_NAME], g_PlayersData[player][PLAYER_NAME], timeDisplay, reason);
}
}
}
ForgiveNotify(const admin, const player, const bool:expired)
{
new players[MAX_PLAYERS], num;
#if defined FORGIVE_DISPLAY_ALL
get_players(players, num, "ch");
#else
GetPlayers(player, players, num);
#endif
for (new i = 0; i < num; i++) {
if (expired) {
client_print_color(players, player, "%L", players, "STB_FORGIVE_NOTIFY_EXPIRED", g_PlayersData[player][PLAYER_NAME]);
} else if (admin == 0) {
client_print_color(players, player, "%L", players, "STB_FORGIVE_NOTIFY_SERVER", g_PlayersData[player][PLAYER_NAME]);
} else {
client_print_color(players, player, "%L", players, "STB_FORGIVE_NOTIFY", g_PlayersData[admin][PLAYER_NAME], g_PlayersData[player][PLAYER_NAME]);
}
}
}