Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preview BarataConsole Trainer/Mod/Plugin API
#1
So yea, Based on barata's code I experimented a bit further and made a simple to use library that allows you to create trainers/whatever with just ~2 lines of code.


Video (much more to come):


Code (to show how simple it is to make something like this)
CSHARP Code
  1. Con = new Barata.Console(Barata.GameType.Singleplayer);
  2. Con.ChangeDVar("sv_cheats", 1);
  3. Con.ClientCommand("devmap so_tut_mp_drone");
  4. Console.ReadLine();
  5. Con.ServerCommand("ARE YOU READY FOR IT?!?!", Barata.CommandType.iPrintLnBold);
  6. Thread.Sleep(1000);
  7. Con.ServerCommand("I SAID, ^1ARE YOU FUCKING READY FOR IT?!?!?!?!?", Barata.CommandType.iPrintLnBold);
  8. Thread.Sleep(1000);
  9. Con.ServerCommand("^3H^4E^2R^1E ^2WE FUCKING GO", Barata.CommandType.iPrintLnBold);
  10. Con.ServerCommand("1", Barata.SPCommandType.MakeScreenBlack);
  11. Thread.Sleep(2000);
  12.  
  13. Con.ServerCommand("^1Sick ^2Underwater ^3MOD ^4Enabled", Barata.CommandType.iPrintLn);
  14. Con.ServerCommand("^5BLUBBLUBBLUB ^1MOTHERFUCKER", Barata.CommandType.iPrintLnBold);
  15. Con.ServerCommand("0", Barata.SPCommandType.MakeScreenBlack);
  16. Con.ServerCommand("1", Barata.SPCommandType.Underwater);
  17. Con.ServerCommand("1", Barata.SPCommandType.Slowmotion);
  18. Con.ServerCommand("1", Barata.SPCommandType.HideGun);
  19. Con.ServerCommand("1", Barata.SPCommandType.MSGCheckPointReached);


Credits:
@barata (ofc)
@master131
@sailormoon
Reply

#2
Hehe nice one bro ;3

Thanks Barata...
Don't worry if things aren't the way you planned, in the end everything will solve itself...
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 4,153 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,729 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 41,397 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,639 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 5,157 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 61,977 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 18,555 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,701 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 33,125 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 3,051 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.