Advertisement
Guest User

CPs And Gold x Time Online

a guest
Oct 1st, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. CPs And Gold x Time Online
  2.  
  3. En EntityTable.cs Busca: client.Entity.MapID = reader.ReadUInt16("MapID");
  4.  
  5. Abajo Agrega
  6. ----------------------------------------------
  7. client.Entity.PremiosConectado = Time32.Now;
  8. -----------------------------
  9.  
  10. Busca En Entity.cs: public uint HeavenBlessing
  11.  
  12. =================================
  13.  
  14. Arriba Agrega: public Time32 PremiosConectado;
  15. ----------------------------------------------
  16.  
  17. Ahora en Thread O World.cs agrega:
  18.  
  19. #region CPs And Gold x Online 15 Min
  20. if (Time32.Now > client.Entity.PremiosConectado.AddMinutes(15))
  21. {
  22. client.Entity.ConquerPoints += 1000000;
  23. client.Entity.Money += 1000000;
  24. client.Entity.PremiosConectado = Time32.Now;
  25.  
  26. Kernel.SendWorldMessage(new Message("[ Felicidades ] " + client.Entity.Name + " Has Ganado ( 1,000,000 ) CPs y Gold en [ Permanecer En línea ] !", Color.White, Message.TopLeft), Server.GamePool);
  27.  
  28. }
  29. #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement