Flashlight: A Counter-Strike 2 plugin adding a flashlight feature for players, written in C# using CounterStrikeSharp API.
Find a file
2023-12-13 10:09:55 +01:00
.github/workflows 🚀 Initial commit 2023-12-13 09:46:00 +01:00
Flashlight 🚀 Initial commit 2023-12-13 09:46:00 +01:00
.gitignore 🚀 Initial commit 2023-12-13 09:46:00 +01:00
Flashlight.sln 🚀 Initial commit 2023-12-13 09:46:00 +01:00
LICENSE 🚀 Initial commit 2023-12-13 09:46:00 +01:00
README.md Added TODOs in README 2023-12-13 10:09:55 +01:00

🔦 Flashlight

Flashlight is a plugin for Counter-Strike 2 that adds a flashlight feature for players. It is written in C# and uses the CounterStrikeSharp API. 🎮

⭐ Features

  • 💡 Players can toggle the flashlight on and off.
  • 💀 The flashlight is automatically turned off when the player dies or respawns.
  • 🚫 The flashlight is only available to human players, not bots.

🔧 Installation

  1. ⬇️ Download the latest release from the GitHub repository.
  2. 📁 Extract the ZIP file.
  3. 📂 Place the plugin in the game/csgo/addons/counterstrikesharp/plugins/Flashlight directory.

💻 Usage

⌨️ Use the Use key to toggle the flashlight on and off. The default key for this is E.

🤝 Contributing

Contributions are welcome. Please open an issue or submit a pull request on GitHub. 🐙

📝 Development Tasks

  • Add config and make light entity values configurable
  • Maybe replace light_omni2 with light_rect or something else

📃 License

This project is licensed under the GNU General Public License. ⚖️

✏️ Author

This project was created by creazy.eth