Advertisement
Guest User

Untitled

a guest
Jul 1st, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using LeagueSharp;
  7. using LeagueSharp.Common;
  8. using SharpDX;
  9. using System.Runtime.Remoting.Messaging;
  10.  
  11.  
  12. namespace Veigar
  13. {
  14. internal class Program
  15. {
  16. // declaring Player
  17. private static readonly Obj_AI_Hero Player = ObjectManager.Player;
  18.  
  19. // Load game
  20. private static void Main(string[] args)
  21. {
  22. CustomEvents.Game.OnGameLoad += OnLoad;
  23. }
  24.  
  25. // shit you do on load
  26. private static void OnLoad(EventArgs args)
  27. {
  28. // champion check
  29. if (Player.ChampionName != Veigar)
  30. return;
  31.  
  32. // notification
  33. Notifications.AddNotification("Freelo_Veigar injected!", 10000);
  34. }
  35.  
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement