12.08.2017, 09:38
Alright, so all you have to do is to remove the last comma:
pawn Код:
if(out > 0) {
new len = strlen(str);
tmp[len - 2] = EOS;
}
if(out > 1) strcat(tmp, " were kicked by AdmBot for being AFK without sleep for more than 30 minutes.");
if(out == 1) strcat(tmp, " was kicked by AdmBot for being AFK without sleep for more than 30 minutes.");
if(out > 0) {
SendClientMessageToAll(COLOR_LIGHTRED, tmp);
}