Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tutorial on how to kill yourself at the start of every round using C#
- 1. Install C# from the Microsoft official website.
- 2. Make a C# script and execute the script through CMD and run it inside of CSGO.
- What this AI script will do:
- - Kill yourself w/ a molotov every round
- - If someone is attempting to butcher your molotov, another script is executed in order to kill yourself with a grenade:
- Script:
- public class CSGO.exe
- {
- #region Constructors
- public NeuralFactor(double weight)
- {
- m_weight = weight;
- m_delta = 0;
- }
- #endregion
- #region Member B = BUY
- private double MOLOTOV;
- private double GRENADE;
- #endregion delay 12.00
- #region Properties
- public double Weight
- {
- get { return m_weight; }
- set { m_weight = value; }
- }
- public double Delta
- {
- get { return m_delta; }
- set { m_delta = value; }
- }
- #endregion
- #region Methods
- public void Apply()
- {
- m_weight += m_delta;
- m_delta = 0;
- }
- #endregion
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement