27.02.2014, 16:24
Код:
forward BanPublic(id, reason[]); public BanPublic(id, reason[]) { BanEx(id, reason); } stock BanWithMessage(id, color, message[], reason[], adminname[], name[]) { SendClientMessage(id, color, message); new banmessage[256]; format(banmessage, sizeof(banmessage), "%s has been banned by %s - (Reason: %s).", name, adminname, reason); print(banmessage); SetTimerEx("BanPublic", 1000, false, "d", id); // Delay of 1 second before banning the player so he receives the message }