Advertisement
Guest User

Untitled

a guest
May 26th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. Tutorial on how to kill yourself at the start of every round using C#
  2.  
  3. 1. Install C# from the Microsoft official website.
  4. 2. Make a C# script and execute the script through CMD and run it inside of CSGO.
  5.  
  6. What this AI script will do:
  7. - Kill yourself w/ a molotov every round
  8. - If someone is attempting to butcher your molotov, another script is executed in order to kill yourself with a grenade:
  9.  
  10. Script:
  11.  
  12. public class CSGO.exe
  13. {
  14. #region Constructors
  15. public NeuralFactor(double weight)
  16. {
  17. m_weight = weight;
  18. m_delta = 0;
  19. }
  20. #endregion
  21.  
  22. #region Member B = BUY
  23. private double MOLOTOV;
  24. private double GRENADE;
  25. #endregion delay 12.00
  26.  
  27. #region Properties
  28. public double Weight
  29. {
  30. get { return m_weight; }
  31. set { m_weight = value; }
  32. }
  33. public double Delta
  34. {
  35. get { return m_delta; }
  36. set { m_delta = value; }
  37. }
  38. #endregion
  39.  
  40. #region Methods
  41. public void Apply()
  42. {
  43. m_weight += m_delta;
  44. m_delta = 0;
  45. }
  46. #endregion
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement