Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using LeagueSharp;
- using LeagueSharp.Common;
- using SharpDX;
- using System.Runtime.Remoting.Messaging;
- namespace Veigar
- {
- internal class Program
- {
- // declaring Player
- private static readonly Obj_AI_Hero Player = ObjectManager.Player;
- // Load game
- private static void Main(string[] args)
- {
- CustomEvents.Game.OnGameLoad += OnLoad;
- }
- // shit you do on load
- private static void OnLoad(EventArgs args)
- {
- // champion check
- if (Player.ChampionName != Veigar)
- return;
- // notification
- Notifications.AddNotification("Freelo_Veigar injected!", 10000);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement