ItsMods

Full Version: BarataConsole Trainer/Mod/Plugin API
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Hehe nice one bro ;3

Thanks Barata...