Exemplo n.º 1
0
        public static void Prod(Client sender, Client to)
        {
            Prod(to);
            to.TellChat(Chat.Green, sender.Name + " gave you a friendly push");
            sender.TellChat(Chat.Green, "You gave " + to.Name + " a friendly push");
			
            VanillaSession rs = to.Session as VanillaSession;
            if (rs != null)
            {
                //Sender see hurt
                sender.Queue.Queue(new EntityStatus(rs.EID, EntityStatuses.EntityHurt));
            }
        }
Exemplo n.º 2
0
        public static void Prod(Client sender, Client to)
        {
            Prod(to);
            to.TellChat(Chat.Green, sender.Name + " gave you a friendly push");
            sender.TellChat(Chat.Green, "You gave " + to.Name + " a friendly push");

            VanillaSession rs = to.Session as VanillaSession;

            if (rs != null)
            {
                //Sender see hurt
                sender.Queue.Queue(new EntityStatus(rs.EID, EntityStatuses.EntityHurt));
            }
        }