Пример #1
0
 public void Invoke(ShPlayer player, ShPlayer target, string reason)
 {
     target.AddWarn(player, reason);
     ChatUtils.SendToAllEnabledChatT("all_warned", player.username.CleanerMessage(), target.username.CleanerMessage(), reason.CleanerMessage());
     player.TS("player_warn", target.username.CleanerMessage(), reason.CleanerMessage());
     target.TS("target_warn", player.username.CleanerMessage(), reason.CleanerMessage());
 }