This plugin replicates the showtriggers_toggle
console command without the need of sv_cheats
. If you're not familiar with what it does, it basically loops through all trigger entities on the map and toggles their visibility.
There is only one command and it is sm_showtriggers
Here is a demo of how it looks like:
I have only tested it on CS:S but on theory it should work for any game.
- unt0uch4bl3 for the idea itself as I've personally seen this in action first on KSF Surf.
- Pan32 for introducing me to the idea and inspiring me to make this plugin.
Feel free to alter the source code to your needs. I am not sure if I'll be taking feature requests at this point in time.
- Got rid of compiler warnings / deprecated functions and translated the script to the new syntax. Thanks to Pan32.
- Initial release.